Get the catalog settings
const url = 'https://api.modeldesk.io/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/catalog/settings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/catalog/settings \ --header 'Authorization: Bearer <token>'The hosting the organization asked for and its registered namespaces, oldest first. Each namespace carries the collisions under it: identity IRIs of one model that normalize to the same address, of which only the first is served. Requires an administrator of the organization.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
object
Where the organization asks its catalog to be served. SHARED is the shared catalog host. CUSTOM is the organization’s own domains, served once one of them is ACTIVE and from the shared host until then. An organization that never chose reads SHARED.
What is served now, derived from the setting and the ACTIVE domains: custom only when the organization chose CUSTOM and a domain is active, shared otherwise. The same value the public reads carry.
object
The active domain that carries the organization page; absent when shared.
Every active domain, the primary among them; absent when shared.
The registered domains, oldest first.
object
The lowercase host.
Where a domain is in its lifecycle. PENDING_DNS until the verification record is found (re-check), VERIFIED until ops bind the host at the edge and activate it, ACTIVE while it serves, INACTIVE once ops, the organization, a lapsed subscription or an erasure took it out of service. An INACTIVE domain whose record is still in DNS can be re-checked to VERIFIED and activated again.
Whether this is the organization’s primary domain. Only meaningful while ACTIVE: the effective hosting takes the active domain marked primary, else the oldest active one.
The random token the verification record carries.
The owner of the TXT record to publish, _modeldesk.{domain}.
What the TXT record has to read, modeldesk-verify={verificationToken}.
Who issues the domain’s TLS certificate. PLATFORM is the edge’s managed certificate, the only source available; CUSTOMER is reserved for an uploaded certificate and cannot be chosen yet.
Set once a certificate is bound; absent until then.
Set once a certificate is bound; absent until then.
The registered namespaces, oldest first.
object
The prefix as stored: scheme and host in lowercase, the path as registered, ending in /.
Exactly one namespace of an organization is the default.
Whether the namespace’s host is one of the organization’s ACTIVE domains, whatever the hosting setting. Under custom hosting a covered namespace is served at its own IRIs; one that is not covered has no row there and its elements keep their UUID addresses, which the Catalog tab warns about.
Address collisions under this namespace, from the latest release of each model. Empty when there are none. Always empty on the namespace just registered.
An address that two authored IRIs of one model share, so only the first is served.
object
The element that kept the address. Absent for the model’s canonical IRI.
The IRI that kept the address, as authored.
The later IRIs of the same model that normalize to the same address.
object
IRIs under this namespace that several models of the organization hold at their latest release, each with the model a request reaches. Sorted by IRI; at most 200 per organization. Empty when none is shared, and always empty on the namespace just registered.
An IRI several models of the organization hold.
object
The normalized IRI key the models share.
Every model holding it at its latest release, sorted.
The model a request for the IRI is answered from: the most recently released among the publicly visible holders. Absent when no holder is visible, so the IRI resolves to nothing.
Relative paths this namespace and another namespace of the organization both publish a document at, so one request path names both. One entry per other namespace and path, sorted by path; at most 200 paths per organization. Empty when none overlaps, and always empty on the namespace just registered.
A relative path this namespace and another one both publish a document at.
object
The path below both prefixes; a hash vocabulary counts by its document.
Whether this namespace’s document is the one a request reaches: the default namespace’s does, then the oldest’s.
Example
{ "catalogHosting": "SHARED", "domains": [ { "status": "PENDING_DNS", "verificationRecordName": "_modeldesk.begrippen.example.nl", "certificateSource": "PLATFORM" } ]}The caller is not an administrator of the organization.
No such organization.
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" } ]}