Skip to content

Get the catalog settings

GET
/organizations/{orgId}/catalog/settings
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.

orgId
required
string format: uuid

OK

Media typeapplication/json
object
catalogHosting
required

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.

string
Allowed values: SHARED CUSTOM CUSTOM
effectiveHosting
required

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
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>
domains
required

The registered domains, oldest first.

Array<object>
object
id
required
string format: uuid
domain
required

The lowercase host.

string
status
required

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.

string
Allowed values: PENDING_DNS VERIFIED ACTIVE INACTIVE
isPrimary
required

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.

boolean
verificationToken
required

The random token the verification record carries.

string
verificationRecordName
required

The owner of the TXT record to publish, _modeldesk.{domain}.

string
verificationRecordValue
required

What the TXT record has to read, modeldesk-verify={verificationToken}.

string
createdAt
required
string format: date-time
certificateSource
required

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.

string
Allowed values: PLATFORM CUSTOMER
certificateThumbprint

Set once a certificate is bound; absent until then.

string
certificateExpiresAt

Set once a certificate is bound; absent until then.

string format: date-time
namespaces
required

The registered namespaces, oldest first.

Array<object>
object
id
required
string format: uuid
iriPrefix
required

The prefix as stored: scheme and host in lowercase, the path as registered, ending in /.

string
isDefault
required

Exactly one namespace of an organization is the default.

boolean
createdAt
required
string format: date-time
coveredByActiveDomain
required

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.

boolean
collisions
required

Address collisions under this namespace, from the latest release of each model. Empty when there are none. Always empty on the namespace just registered.

Array<object>

An address that two authored IRIs of one model share, so only the first is served.

object
modelId
required
string format: uuid
elementId

The element that kept the address. Absent for the model’s canonical IRI.

string format: uuid
authoredIri
required

The IRI that kept the address, as authored.

string
shadowed
required

The later IRIs of the same model that normalize to the same address.

Array<object>
object
authoredIri
required
string
elementId
required
string format: uuid
sharedIris
required

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.

Array<object>

An IRI several models of the organization hold.

object
iri
required

The normalized IRI key the models share.

string
modelIds
required

Every model holding it at its latest release, sorted.

Array<string>
servedModelId

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.

string format: uuid
pathOverlaps
required

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.

Array<object>

A relative path this namespace and another one both publish a document at.

object
relativePath
required

The path below both prefixes; a hash vocabulary counts by its document.

string
otherNamespaceId
required
string format: uuid
served
required

Whether this namespace’s document is the one a request reaches: the default namespace’s does, then the oldest’s.

boolean

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.

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