Attach SDK device
Requires an attach-only setup token. requestId enables recovery of a lost response for 10 minutes when the manifest fingerprint is unchanged. It creates no function grants.
POST
/v1/sdk/devicesAuthorization
AuthorizationBearer token (ol_sdk setup token) · headerrequiredAttach-only credential with a finite device limit. Attachment does not grant functions.
Request body
requiredapplication/jsonrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
manifestManifestrequiredShow propertiesHide properties
namestringrequiredmin length 1 · max length 64
kindstringrequiredmin length 1 · max length 64 · matches ^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$
capabilitiesstring[]requiredmin items 1 · max items 16
functionsobject[]max items 16
Show propertiesHide properties
Array of
objectnamestringrequiredmin length 1 · max length 64 · matches ^[a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)*$
titlestringrequiredmin length 1 · max length 64
descriptionstringrequiredmin length 1 · max length 240
accessstringrequiredAllowed:
readwriteinputSchemaobjectrequiredShow propertiesHide properties
typestringrequiredpropertiesobjectrequiredrequiredstring[]requiredmax items 16
additionalPropertiesbooleanrequiredResponses
201
Successful response
dataAttachedDevicerequiredShow propertiesHide properties
deviceIdstring<uuid>requiredtokenstringrequiredPrivate child device credential. Returned only at enrollment/attachment; revoking the device invalidates it.
400
Invalid request or validation failure
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring401
Missing or invalid credential
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring403
Insufficient access or grant
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring404
Resource not found
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring409
Attachment retry expired or request ID reused with a different manifest
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring413
Request body exceeds the 16 KiB limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring429
Rate limit or workspace capacity limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring500
Internal error
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring503
Service or required integration is not configured
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring