Request the catalog
POST
/dsp/catalog/request
const url = 'https://example.com/dsp/catalog/request';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/dsp/catalog/request \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'A CatalogRequestMessage: the datasets this connector offers to the caller, with the offers whose policies the caller meets. Filters are not supported.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”A CatalogRequestMessage.
Media typeapplication/json
object
Example generated
{}Responses
Section titled “Responses”A dcat:Catalog.
Media typeapplication/json
object
Example generated
{}Filters are not supported.
Media typeapplication/json
A DSP error (dspace:…Error): code and reason, as JSON-LD.
object
@context
required
object
@type
required
E.g. ContractNegotiationError.
string
code
required
string
reason
required
Array<string>
Example generated
{ "@context": {}, "@type": "example", "code": "example", "reason": [ "example" ]}Not authenticated.
Media typeapplication/json
A DSP error (dspace:…Error): code and reason, as JSON-LD.
object
@context
required
object
@type
required
E.g. ContractNegotiationError.
string
code
required
string
reason
required
Array<string>
Example generated
{ "@context": {}, "@type": "example", "code": "example", "reason": [ "example" ]}