Bind an identity a conduit reports to its owner
const url = 'https://example.com/api/v1/components/ucc-platform/identity-bindings/ucc-room-id/room-17c-415a';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"owner":"hq.west.level-2.boardroom-a.$sys.av","owner_kind":"component"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/components/ucc-platform/identity-bindings/ucc-room-id/room-17c-415a \ --header 'Content-Type: application/json' \ --data '{ "owner": "hq.west.level-2.boardroom-a.$sys.av", "owner_kind": "component" }'Ties this value, reported by the conduit component under this match key, to one owner, a system or a component, so the conduit’s samples naming it land on that owner. One identity on one conduit has exactly one owner: a put naming the owner it is already bound to changes nothing, and one naming a different owner moves it. The match key must be a registered property type (422 otherwise), and the owner a component or a system other than the conduit itself (a location or an outpost owns no observed sample, and a value with no identity already lands on the conduit: each a 422). The value rides the path as one percent-encoded segment, so a value carrying a slash, a space or another reserved character is escaped (room%2F1) and round-trips. A binding writes onto both of its ends, so it costs a write on both: gated by component:update on the conduit, and it also needs the owner’s update (component:update, or system:update for a system, refused with a 403 naming it before anything resolves). Each end resolves in its own tier’s read scope and must be inside its update scope: an end outside the read scope is a non-disclosing 404, one readable but not writable a 403. A move also needs update on the owner it leaves; refused, it says the identity is bound to another owner but never which one.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Name of the conduit component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
Name of the conduit component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
The match key, a registered property type
The match key, a registered property type
The identity value the conduit reports, 1 to 256 characters
The identity value the conduit reports, 1 to 256 characters
Request Bodyrequired
Section titled “ Request Bodyrequired ”object
A URL to the JSON Schema for this object.
Name or uuid of the owner the identity’s values land on, or a dotted address
What kind of owner the identity names. A component or a system; a location or an outpost owns no observed sample, so neither is an owner here
Responses
Section titled “ Responses ”OK
object
A URL to the JSON Schema for this object.
Name of the conduit component: the component whose endpoint reports the identity, the path rather than the owner
The conduit component’s uuid
When the binding was made
The match key: a registered property type naming what kind of identity the value is (e.g. ucc-room-id)
The owner’s uuid, the address to navigate by
What kind of owner the identity names: a component or a system
Name of the owner the identity’s values land on
The identity value the conduit reports (e.g. the id a UCC service gives one of the rooms it reports on)
Example
{ "$schema": "/api/v1/schemas/IdentityBindingBody.json", "owner_kind": "component"}default
Section titled “ default ”Error
object
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
Example
{ "$schema": "/api/v1/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}