Get an organization's DCAT catalog
const url = 'https://api.modeldesk.io/public/dcat/example?format=turtle&profile=core';const options = {method: 'GET'};
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://api.modeldesk.io/public/dcat/example?format=turtle&profile=core'The organization’s dcat:Catalog: the organization as dct:publisher and one dcat:Dataset per publicly visible model, each described as its latest release with its head metadata record (subject: the authored canonical IRI, else the platform’s {catalogUrl}/-/{modelId}; distributions: the authored locators and one per format the public encoding offers, at the raw document address). Turtle by default; JSON-LD, RDF/XML and N-Triples by Accept or by the format parameter, which wins. Core DCAT 3 by default; profile selects a serializer variant written to an application profile. Needs no sign-in.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”The serialization, by short name or media type. Overrides Accept.
The application profile the document is written to. Without it the document is core DCAT 3. A profile-mandatory field nothing can derive is left out, so a harvester’s validation names what the organization still has to author.
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”The catalog. Carries Cache-Control: public, max-age=300, Vary: Accept and an ETag over the content, serialization and profile.
Example generated
exampleHeaders
Section titled “Headers”If-None-Match names the representation the caller holds and the catalog is still published. Carries the same ETag and Cache-Control.
An unknown format or profile.
An RFC 9457 problem document, always sent as application/problem+json.
object
Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.
The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.
Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "example", "violations": [ { "property": "example", "message": "example" } ]}No organization carries the slug, or the one that does publishes no model; the two are indistinguishable.
An RFC 9457 problem document, always sent as application/problem+json.
object
Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.
The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.
Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "example", "violations": [ { "property": "example", "message": "example" } ]}default
Section titled “default”Error
An RFC 9457 problem document, always sent as application/problem+json.
object
Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.
The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.
Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "example", "violations": [ { "property": "example", "message": "example" } ]}