Request Params
-
-
realm_id – The realm identifier
-
page: int → i.e : 0 → Current retrieved page. MANDATORY
-
size: int → i.e : 10 → Number of retrieved items. MANDATORY
-
sort: string → i.e :ASC, DESC → Sort type. OPTIONAL
-
request header
-
Authorization {jwt}
-
-
Request
GET https://afw.biocryptology.com/realm/v1/api/realms/{realm_id}/accesspoints
I.E of request: https://afw.biocryptology.com/realm/v1/api/realms/{realm_id}/accesspoints
Response
- OK 200 - Accesspoints and connectors retrieved successfully
{
"totalPages": 0,
"totalElements": 0,
"size": 0,
"content": [
{
"name": "string",
"description": "string",
"realmId": "string",
"creationDate": "2024-03-08T13:38:56.679Z",
"modificationDate": "2024-03-08T13:38:56.679Z",
"enableStoreQR": true,
"enableUserGroupFilter": true,
"qrTTL": 0,
"connectors": [
{
"clientId": "string",
"name": "string",
"description": "string",
"type": "string",
"connectionType": "string",
"enableSecret": true,
"secret": "string",
"creationDate": "2024-03-08T13:38:56.679Z",
"modificationDate": "2024-03-08T13:38:56.679Z",
"urls": [
{
"id": "string",
"url": "string",
"type": "string",
"creationDate": "2024-03-08T13:38:56.679Z",
"modificationDate": "2024-03-08T13:38:56.679Z"
}
]
}
],
"userGroupUuid": "string"
}
],
"number": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"paged": true,
"unpaged": true,
"pageNumber": 0,
"pageSize": 0
},
"last": true,
"first": true,
"numberOfElements": 0,
"empty": true
}
- KO 400
-
Invalid realm id - { message: "invalid_realm_id" }
-
Invalid page
-
Invalid size
- KO 401 - No message attached
-
Token or JWT are invalid
-
Realm not found
-
Not allowed sort param
- No linked AccessPoint related to existing Realm
-
KO 404
-
User group not found - { message: "accessPoint_not_found” }
-