List an organization's public models
const url = 'https://api.modeldesk.io/public/catalog/example';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/catalog/exampleThe 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The organization and its public models. Carries Cache-Control: public, max-age=300 and no entity tag.
An organization’s public page, its models sorted by name.
object
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
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
The active domain that carries the organization page; absent when shared.
Every active domain, the primary among them; absent when shared.
The namespaces the organization publishes under, oldest first; empty when it registered none.
A namespace an organization publishes under.
object
An absolute http(s) IRI prefix ending in /, as the administrator registered it.
Whether this namespace’s candidate wins a cross-namespace ambiguity at resolve time.
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
One description per authored language; the reader picks.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
The publisher’s name; omitted when none is stated.
The metamodel a public model is written in, as a label.
object
Omitted when no release of the metamodel resolves.
The standard version the model’s release pins; omitted when the pin names none.
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.
The latest release, which the model’s plain address serves; omitted for a model without a release that publishes its working version.
object
Example
{ "models": [ { "classification": "DATA_MODEL" } ]}Headers
Section titled “Headers”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" } ]}