Skip to content

Get a public entry

GET
/public/catalog/{orgSlug}/datasets/{datasetId}/records/{rowId}
curl --request GET \
--url https://api.modeldesk.io/public/catalog/example/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/records/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

One entry of a publicly visible dataset of the organization, as the dataset’s latest release holds it: its name, type and IRI, what it holds in the model’s order, its parts as nested fields, the public entries it points at, and the public entries pointing at it, grouped by the dataset they are in and the property they point through. A reference to an entry that is not public, or of another organization, is left out, and so is how many were. JSON unless the request accepts text/turtle, application/ld+json, application/n-triples or application/rdf+xml by name; then the entry as RDF, written as the public export writes it. Needs no sign-in.

orgSlug
required
string
datasetId
required
string format: uuid
rowId
required
string format: uuid

The entry. Carries Cache-Control: no-store.

A public entry as its public page shows it, at the latest release of its dataset.

object
id
required
string format: uuid
datasetId
required
string format: uuid
datasetName
required
string
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
release
required

A release of a model. Every version is a release, so the latest version is the latest release; recency is createdAt, never the name.

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

The IRI the release gives the entry.

string
name
required

The values its dataset names it by, as terms; 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
model

The public model a public entry’s type is defined in.

object
organizationSlug
required
string
modelId
required
string format: uuid
name
required
string
release

The name of the release the model’s public page shows; absent where the page shows the model’s working copy, as for a model with no release.

string
fields
required

What it holds, property by property, in the model’s order; a property holding nothing is absent.

Array<object>

What a public entry, or a part of one, holds under one property: its values, the public entries it points at, the public models, model elements and datasets it points at, and its parts. A list it holds nothing in is absent.

object
propertyId
required

The backing-model element the property was derived from.

string format: uuid
name
required

The property’s name, by language.

object
key
additional properties
string
values

The values, as terms.

Array
references
Array<object>

A public entry another one points at, or that points at another, by name.

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

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

Array
things

The models, model elements and datasets it points at, in the order it holds them; one that is not public is absent, and nothing says how many were.

Array<object>

A model, an element of a model or a dataset a public entry points at, as the entry’s page names it: only one public under its own contract in the entry’s organization, read as its own public page reads it.

object
kind
required
string
Allowed values: MODEL ELEMENT DATASET
modelId

The public model, for a model and for an element of one.

string format: uuid
elementId

The element, where the model’s public page shows it; absent for an element named without a link, which the page shows at no address.

string format: uuid
datasetId

The dataset whose entries are public.

string format: uuid
name
required

The model’s or dataset’s name, or the element’s label.

string
modelName

For an element, the name of its model.

string
descriptions

For a model, what its metadata says it is, by language.

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

For a model, who its metadata names as publishing it, else the organization publishing it, as the model’s public page says.

string
key

What tells it apart from the others of its field in this answer, and nowhere else: its place among them. Two may read alike, as elements named without a link can.

string
parts
Array<object>

One part a public entry holds inside itself, with what it holds.

object
id
required
string format: uuid
fields
required
Array<object> recursive
referencedBy
required
Array<object>

The public entries of one dataset that point at an entry through one property.

object
propertyId
required
string format: uuid
property
required

The property’s name, by language, as the entry form names it.

object
key
additional properties
string
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
dataset
required

The dataset the entries pointing are in, which names the group.

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

The entries, at most 50.

Array<object>

A public entry another one points at, or that points at another, by name.

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

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

Array
more
required

Whether more entries point at it this way than are named.

boolean
incomplete
required

Entries it points at, or that point at it, are left out because the datasets holding them cannot be read right now.

boolean
moreThings
required

It points at more public models, model elements and datasets than one page names (20 models, 200 elements, 200 datasets); the rest are left out. What is not public is never counted.

boolean
thingsUnavailable
required

Always false; kept for clients of the previous release.

boolean
kind

What a dataset is to the public catalog, which picks its public pages: a value list is one table with a page per value; metadata records are descriptions. Absent, or a value a client does not know, reads as VALUE_LIST.

string
Allowed values: VALUE_LIST METADATA_RECORDS
summary

The values of the property its dataset sums its entries up by, as terms (shown as the definition of a value): the dataset’s setting where the release’s schema holds it as text, else the one text property outside the identity and the naming property; empty for none.

Array
code

The values of the property its dataset shows its entries by as their code, as terms: the dataset’s setting where the release’s schema holds it as a value, else the identity where it is one value property; empty for none.

Array
previous

Another public value of the same value list, by its code and its name.

object
id
required
string format: uuid
code
required

The values of the list’s code, as terms; empty where it holds none or the list has none.

Array
name
required

The values the list names it by, as terms; empty where it holds none.

Array
next

Another public value of the same value list, by its code and its name.

object
id
required
string format: uuid
code
required

The values of the list’s code, as terms; empty where it holds none or the list has none.

Array
name
required

The values the list names it by, as terms; empty where it holds none.

Array
codePropertyId

The property code is read from, as the propertyId of its field in fields; omitted where its dataset shows its entries by no code.

string format: uuid
summaryPropertyId

The property summary is read from, as the propertyId of its field in fields; omitted where its dataset sums its entries up by none.

string format: uuid
namingPropertyId

The property name is read from, as the propertyId of its field in fields; omitted where its dataset names its entries by none.

string format: uuid

Example

{
"fields": [
{
"things": [
{
"kind": "MODEL"
}
]
}
],
"kind": "VALUE_LIST"
}
Cache-Control
string

The entry is not public: it does not exist, its dataset is not publicly visible, the dataset’s latest release does not hold it, or it belongs to another dataset or organization; the answer is the same for all of them.

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

The entry is public but cannot be read right now, or as many public reads run as the platform runs at once, whether it is asked as JSON or as RDF; the answer names nothing of why.

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