Choose where an object's indeling comes from
const url = 'https://example.com/api/v1/objects/example/topology';const options = { method: 'PUT', headers: { cookie: 'bl_%3Cslug%3E_session=%3Cbl_%3Cslug%3E_session%3E', 'Content-Type': 'application/json' }, body: '{"source_id":"example","delegation_id":"example"}'};
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/objects/example/topology \ --header 'Content-Type: application/json' \ --cookie bl_%3Cslug%3E_session=%3Cbl_%3Cslug%3E_session%3E \ --data '{ "source_id": "example", "delegation_id": "example" }'An own source whose koppeling provides the indeling, or a supplier appointed for it; neither: the locations of each data source. Selections per floor or room resolve against this choice.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The object id, e.g. nl.bag.pand.0014100040022681.
Request Bodyrequired
Section titled “Request Bodyrequired”A source or a delegation; neither: back to the locations of each data source.
object
Example generated
{ "source_id": "example", "delegation_id": "example"}Responses
Section titled “Responses”OK.
Where the indeling of an object comes from, and what it could come from.
object
Own sources whose koppeling provides the indeling, and suppliers appointed for it.
object
source or delegation.
The source’s name, or the supplier’s.
Candidates of kind delegation: the state of the delegation.
Example generated
{ "object": "example", "choice": { "kind": "example", "id": "example", "name": "example", "state": "example" }, "candidates": [ { "kind": "example", "id": "example", "name": "example", "state": "example" } ]}The request is not valid.
The body of every failed call to a management API.
object
object
Stable, machine-readable: invalid_request, unauthenticated,
forbidden, not_found, conflict, upstream_unavailable,
unavailable, internal, or a more specific code of the operation.
For people; may change between versions.
Example
{ "error": { "code": "not_found", "message": "unknown negotiation" }}No valid session, DPoP-bound token or API key.
The body of every failed call to a management API.
object
object
Stable, machine-readable: invalid_request, unauthenticated,
forbidden, not_found, conflict, upstream_unavailable,
unavailable, internal, or a more specific code of the operation.
For people; may change between versions.
Example
{ "error": { "code": "not_found", "message": "unknown negotiation" }}The caller lacks the role this operation needs; or a change with the session cookie came from a page of another site (cross_site_request, decisions #83).
The body of every failed call to a management API.
object
object
Stable, machine-readable: invalid_request, unauthenticated,
forbidden, not_found, conflict, upstream_unavailable,
unavailable, internal, or a more specific code of the operation.
For people; may change between versions.
Example
{ "error": { "code": "not_found", "message": "unknown negotiation" }}