A provider's catalog
const url = 'https://example.com/api/v1/dataspace/catalog?participant=example';const options = { method: 'GET', headers: {cookie: 'bl_%3Cslug%3E_session=%3Cbl_%3Cslug%3E_session%3E'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/dataspace/catalog?participant=example' \ --cookie bl_%3Cslug%3E_session=%3Cbl_%3Cslug%3E_session%3EAsks the provider for its catalog over DSP, as this participant sees it, and returns it simplified: datasets with their objects and offers, each offer with its conditions.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The DID of the provider.
Responses
Section titled “Responses”OK.
A provider’s catalog, simplified for the UI, with the DSP catalog as it came.
object
A participant as the registry of the authority has it.
object
object
The supplier that delivers on the provider’s behalf.
https://w3id.org/buildinglinks/v1 or its topology profile.
object
Pass as offer_id to start a negotiation or a connection.
The conditions in a sentence.
The conditions in the terms of a policy here.
object
A permission, prohibition or obligation.
object
E.g. use, read, write.
A condition of a rule, e.g. bl:role isAnyOf [climate_optimizer].
object
bl:membership, bl:role, bl:participant, odrl:dateTime,
odrl:purpose or bl:signedRequests.
eq, isAnyOf, isNoneOf, lt, lteq, gt or gteq.
A string, a list of strings, a date-time or a boolean.
A permission, prohibition or obligation.
object
E.g. use, read, write.
A condition of a rule, e.g. bl:role isAnyOf [climate_optimizer].
object
bl:membership, bl:role, bl:participant, odrl:dateTime,
odrl:purpose or bl:signedRequests.
eq, isAnyOf, isNoneOf, lt, lteq, gt or gteq.
A string, a list of strings, a date-time or a boolean.
A permission, prohibition or obligation.
object
E.g. use, read, write.
A condition of a rule, e.g. bl:role isAnyOf [climate_optimizer].
object
bl:membership, bl:role, bl:participant, odrl:dateTime,
odrl:purpose or bl:signedRequests.
eq, isAnyOf, isNoneOf, lt, lteq, gt or gteq.
A string, a list of strings, a date-time or a boolean.
The offer as ODRL.
object
The catalog as the provider sent it (DSP, JSON-LD).
object
Example generated
{ "participant": { "did": "example", "slug": "example", "name": "example", "legal_name": "example", "kvk_number": "example", "roles": [ "example" ], "dsp_endpoint": "example", "dataplane_url": "example", "color": "example", "status": "example", "health": "example" }, "datasets": [ { "id": "example", "title": "example", "description": "example", "keywords": [ "example" ], "building_id": "example", "objects": [ "example" ], "sort": "example", "delivered_by": "example", "delivered_by_name": "example", "profile": "example", "offers": [ { "id": "example", "policy_summary": "example", "policy": { "id": "example", "title": "example", "description": "example", "permissions": [ { "action": "example", "constraints": [ { "left_operand": "example", "operator": "example", "right_operand": "example" } ] } ], "prohibitions": [ { "action": "example", "constraints": [ { "left_operand": "example", "operator": "example", "right_operand": "example" } ] } ], "obligations": [ { "action": "example", "constraints": [ { "left_operand": "example", "operator": "example", "right_operand": "example" } ] } ] }, "odrl": {} } ] } ], "raw": {}}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" }}Unknown participant.
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 provider or the authority could not be reached.
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" }}