List device registrations
List the details of each of the devices that are not yet approved into the Manager, including the ID that can be used in the (Handle Device Registration) API method.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin (readOnly and read/write) |
HTTP method
GET /manager/api/{apiResponseType}/1.0/listDeviceRegistrations.adm HTTP/1.1
Host:{manager.dsnet}
Curl method
curl -u {admin}:{password} -k
“https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/listDeviceRegistrations.adm”
Parameters
None other than the default response parameters shown in Common response parameters.
Response
Device information for each device that is not approved or denied is returned.
JSON response example
{
“responseStatus”:“ok”,
“responseHeader”:{
“status”:“ok”,
“now”:{milliseconds from the UNIX epoch},
“requestId”:“UzCdzcCoDkMAABiqBsEAAABJ”
},
“responseData”:{
“deviceRegistrations”:[
{
“ip”:“192.168.14.22”,
“hostname”:“dc-s2000-1322.cleversafelabs.com”,
“type”:“slicestor”,
“id”:25,
“keyFingerprint”:“b5:fd:8c:b0:9f:c3:30:85:48:e7:b0:9a:4d:79:0e:43:64:b0:04:6e”
}
]
}Parameters
| Parameter | Type | Description |
|---|---|---|
| deviceRegistrations | array |
List of pending device registrations. |
| id | Long |
ID of pending device registration, approved or denied by using the handleDeviceRegistration API.
|
| hostname | String |
Hostname of pending device. |
| ip | String |
IP of pending device. |
| type | String |
Device type of pending device. |
| keyFingerprint | String |
Value of the public key fingerprint for the device. |