Skip to content

List an organization's public models

GET
/public/catalog/{orgSlug}
curl --request GET \
--url https://api.modeldesk.io/public/catalog/example

The organization the slug names and its publicly visible models, sorted by name. Each card is read off the model’s latest released version. Needs no sign-in.

orgSlug
required
string

The organization and its public models. Carries Cache-Control: public, max-age=300 and no entity tag.

Media typeapplication/json

An organization’s public page, its models sorted by name.

object
organization
required

An organization as the public catalog names it. The slug is its address on the shared catalog host; the hosting and namespaces are the inputs of its address map, from which a page turns an element’s IRI into the address the organization serves it at.

object
id
required
string format: uuid
slug
required
string
name
required
string
hosting
required

Where an organization’s catalog is served: {"shared": true} on the shared catalog host, or {"shared": false, "primaryDomain": ..., "domains": [...]} on the organization’s own domains.

object
shared
required
boolean
primaryDomain

The active domain that carries the organization page; absent when shared.

string
domains

Every active domain, the primary among them; absent when shared.

Array<string>
namespaces
required

The namespaces the organization publishes under, oldest first; empty when it registered none.

Array<object>

A namespace an organization publishes under.

object
iriPrefix
required

An absolute http(s) IRI prefix ending in /, as the administrator registered it.

string
isDefault
required

Whether this namespace’s candidate wins a cross-namespace ambiguity at resolve time.

boolean
models
required
Array<object>

One card on an organization’s public page, for the model’s default snapshot: its latest release, or its working version for a model without a release that publishes it.

object
id
required
string format: uuid
name
required
string
classification
required
string
Allowed values: DATA_MODEL REFERENCE_DATASET CONTROLLED_VOCABULARY
descriptions
required

One description per authored language; the reader picks.

Array<object>

One language-tagged text; lang is null for a text without a language.

object
lang

A language tag such as nl or en.

string
nullable
value
required
string
keywords
required
Array<object>

One language-tagged text; lang is null for a text without a language.

object
lang

A language tag such as nl or en.

string
nullable
value
required
string
publisher

The publisher’s name; omitted when none is stated.

string
metamodel
required

The metamodel a public model is written in, as a label.

object
id
required
string format: uuid
name

Omitted when no release of the metamodel resolves.

string
standardVersion

The standard version the model’s release pins; omitted when the pin names none.

string
language

The language tag of the language the standard declares it is written in, as of the standard’s current release, not the one the model pins; omitted when the standard declares none.

string
latestRelease

The latest release, which the model’s plain address serves; omitted for a model without a release that publishes its working version.

object
versionId
required
string format: uuid
name
required
string
createdAt
required
string format: date-time
commitId
required
string format: uuid

Example

{
"models": [
{
"classification": "DATA_MODEL"
}
]
}
Cache-Control
string

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"
}
]
}