Skip to content

Get an organization's DCAT catalog

GET
/public/dcat/{orgSlug}
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.

orgSlug
required
string
format
string
Allowed values: turtle jsonld rdfxml ntriples text/turtle application/ld+json application/rdf+xml application/n-triples

The serialization, by short name or media type. Overrides Accept.

profile
string
Allowed values: core dcat-ap dcat-ap-nl

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.

If-None-Match
string

The catalog. Carries Cache-Control: public, max-age=300, Vary: Accept and an ETag over the content, serialization and profile.

string
Cache-Control
string
ETag
string
Vary
string

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.

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

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.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

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.

string
violations

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.

Array<object>
object
property
required
string
message
required
string

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.

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

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.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

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.

string
violations

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.

Array<object>
object
property
required
string
message
required
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"violations": [
{
"property": "example",
"message": "example"
}
]
}

Error

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

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.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

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.

string
violations

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.

Array<object>
object
property
required
string
message
required
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"violations": [
{
"property": "example",
"message": "example"
}
]
}