Skip to content

List a public value list's values

GET
/public/catalog/{orgSlug}/datasets/{datasetId}/values
curl --request GET \
--url 'https://api.modeldesk.io/public/catalog/example/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/values?offset=0&limit=100'

A page of the table of a publicly visible value list of the organization (a dataset whose kind of resource is VALUE_LIST), at its latest release: the values that release froze conforming, ordered by the list’s code, else its name, then by row id. The columns are the code, the name and the definition, where the list has each, then the type’s other single-valued fields its entry form shows, ordered by their names, then their ids. A reference to an entry that is not public is left out, with no count. Needs no sign-in, and runs under the cap on concurrent public reads.

orgSlug
required
string
datasetId
required
string format: uuid
q
string
<= 200 characters

Text a value holds in its code, its name or its definition, ignoring case; matched as text, never as a pattern, and a code also as the number it spells. At most 200 characters.

offset
integer
0

How many values to pass over; a negative one reads as none, one past 10000 as 10000.

limit
integer
default: 100 <= 100

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

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

Media typeapplication/json

One page of a public value list’s table at its latest release, the values ordered by code, else by name, then by row id.

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

A public dataset by its name.

object
id
required
string format: uuid
name
required
string
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
columns
required
Array<object>

One column of a public value list’s table, a property of the list’s type.

object
propertyId
required
string format: uuid
name
required

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

object
key
additional properties
string
role
required

The part the column plays; FIELD for one of the type’s other single-valued fields.

string
Allowed values: CODE NAME DEFINITION FIELD
items
required
Array<object>

One public value of a value list as its table shows it.

object
id
required

The value’s row id, which its own page is addressed by.

string format: uuid
cells
required

What it holds under each column, in the columns’ order.

Array<object>

What a value holds under one column: values as terms for a value column, the public entries it points at for a reference column. A reference to an entry that is not public is left out.

object
values
required
Array
links
required
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
total
required

How many values match the search across every page; every public value without one.

integer format: int64
offset
required
integer
limit
required

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

integer
incomplete
required

Whether references into datasets that cannot be read right now are left out.

boolean

Example

{
"columns": [
{
"role": "CODE"
}
]
}
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"
}
]
}

The dataset is not publicly visible, for any reason, does not exist, belongs to another organization, or is no value list; 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"
}
]
}

As many public reads run as the platform runs at once, or the list’s schema cannot be read right now; 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"
}
]
}