Flexa registry offers https API endpoints for device assignment to partner's portal and for device to pull it's desired portal data.
AssignDevice
Assigns a device to be used with partner's portal
NOTE: If you don't specify 'url' parameter nor 'completeUrl' the device will be unassigned!
Success
Request param missing
Auth failed
Device not found
Unassign failed: auth failed
Device already assigned
Internal database error
AssignDevice
Assigns a device to be used with partner's portal
NOTE: If you don't specify 'url' parameter nor 'completeUrl' the device will be unassigned!
Success
Request param missing
Auth failed
Device not found
Unassign failed: auth failed
Device already assigned
Internal database error
AssignDeviceBatch
Assigns list of devices to be used with partner's portal
NOTE: If you don't specify 'url' parameter nor 'completeUrl' the devices will be unassigned!
Registration IDs of successfully assigned/unassigned
Malformed request body / Request param missing
Auth failed
Internal database error
DeviceGet
Device facing endpoint for getting desired service's urls and extra parameters (if defined)
NOTE: If you don't specify 'url' parameter nor 'completeUrl' the devices will be unassigned!
Device data
Device not assigned
Device not found
DeviceGet
Device facing endpoint for getting desired service's urls and extra parameters (if defined)
NOTE: If you don't specify 'url' parameter nor 'completeUrl' the devices will be unassigned!
Device data
Device not assigned
Device not found
Internal server error