Skip to content

List an organization's public entries

GET
/public/catalog/{orgSlug}/records
curl --request GET \
--url 'https://api.modeldesk.io/public/catalog/example/records?offset=0&limit=50'

A page of the entries of the organization’s publicly visible datasets, each at its dataset’s latest release, ordered by name without regard to case, entries without a name last. Each carries its name and its type. The page names every type of the organization’s public entries, whatever it is narrowed to. Needs no sign-in, and a token does not widen the answer.

orgSlug
required
string
q
string
<= 200 characters

Text an entry holds in one of its text values, its name among them, ignoring case; matched as text, never as a pattern. At most 200 characters.

type
Array<string>
<= 50 items

Narrows to the entries of these types; repeated for several, at most 50.

dataset
string format: uuid

Narrows to the entries of one public dataset.

offset
integer
0 <= 10000

How many entries to pass over; a negative one reads as none, one past 10,000 as 10,000.

limit
integer
default: 50 <= 100

How many entries at most, held to 100; one below 1 reads as the default.

The organization and a page of its public entries. Carries Cache-Control: no-store.

Media typeapplication/json

One page of an organization’s public entries, ordered 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
items
required
Array<object>

One public entry as a list of them shows it.

object
id
required
string format: uuid
datasetId
required
string format: uuid
name
required

The values its dataset names it by, as terms, every language included; empty when it holds none.

Array
type
required

The type of public entries, as the data schema of the release they are read at names it.

object
id
required

The backing-model element the type was derived from.

string format: uuid
name
required

Its name, by language.

object
key
additional properties
string
description

What it is, by language; absent where the answer names the type only.

object
key
additional properties
string
specialises

The names of the types it specialises, each by language; absent where it specialises none.

Array<object>
object
key
additional properties
string
total
required

How many entries match, across every page.

integer format: int64
offset
required

Where this page starts among them.

integer
limit
required

The most one page holds, after the maximum of 100 is applied.

integer
types
required

The types of the organization’s public entries, by name, whatever the page is narrowed to, each with how many of its entries match the search.

Array<object>

A type of an organization’s public entries, with how many of its entries match the search.

object
id
required
string format: uuid
name
required

Its name, by language.

object
key
additional properties
string
count
required
integer format: int64
moreDatasets
required

The organization has more public datasets than a list reads (500); the entries of the rest are left out.

boolean
unavailable
required

The public datasets whose entries cannot be read right now, and are left out.

Array<object>

A public dataset by its name.

object
id
required
string format: uuid
name
required
string
dataset

A public dataset by its name.

object
id
required
string format: uuid
name
required
string

Example generated

{
"organization": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"slug": "example",
"name": "example",
"hosting": {
"shared": true,
"primaryDomain": "example",
"domains": [
"example"
]
},
"namespaces": [
{
"iriPrefix": "example",
"isDefault": true
}
]
},
"items": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"datasetId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": [
"example"
],
"type": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": {
"additionalProperty": "example"
},
"description": {
"additionalProperty": "example"
},
"specialises": [
{
"additionalProperty": "example"
}
]
}
}
],
"total": 1,
"offset": 1,
"limit": 1,
"types": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": {
"additionalProperty": "example"
},
"count": 1
}
],
"moreDatasets": true,
"unavailable": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
}
],
"dataset": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
}
}
Cache-Control
string

The search is longer than 200 characters.

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, the one that does publishes nothing, or it has no public dataset; the three 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"
}
]
}

As many public lists and downloads run as the platform runs at once; try again in a moment.

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