| media type | data type | description |
|---|---|---|
| application/json | DeviceRegistrationCodeResponse (JSON) |
GET /cloud-device-registration
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"user_code" : "...",
"device_code" : "...",
"verification_uri" : "...",
"expires_in" : 12345
}
| media type | data type |
|---|---|
| application/json | RegisterDeviceAndAppAuthRequest (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | RegisterDeviceAndAppAuthResponse (JSON) |
POST /cloud-device-registration/auth
Content-Type: application/json
Accept: application/json
{
"device_code" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"access_token" : "..."
}
| media type | data type |
|---|---|
| application/json | RegisterDeviceAndAppsRequest (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | RegisterDeviceAndAppsResponse (JSON) |
POST /cloud-device-registration/register
Content-Type: application/json
Accept: application/json
{
"access_token" : "...",
"redirect_url" : "...",
"limit" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"tenant_id" : "...",
"tenant_name" : "...",
"applications" : [ { }, { } ]
}