List a public value list's values
const url = 'https://api.modeldesk.io/public/catalog/example/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/values?offset=0&limit=100';const options = {method: 'GET'};
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/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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”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.
How many values to pass over; a negative one reads as none, one past 10000 as 10000.
How many values at most, held to 100; one below 1 reads as the default.
Responses
Section titled “Responses”The page. Carries Cache-Control: no-store.
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
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
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
The active domain that carries the organization page; absent when shared.
Every active domain, the primary among them; absent when shared.
The namespaces the organization publishes under, oldest first; empty when it registered none.
A namespace an organization publishes under.
object
An absolute http(s) IRI prefix ending in /, as the administrator registered it.
Whether this namespace’s candidate wins a cross-namespace ambiguity at resolve time.
A public dataset by its name.
object
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
One column of a public value list’s table, a property of the list’s type.
object
The property’s name by language, as the entry form shows it.
object
The part the column plays; FIELD for one of the type’s other single-valued fields.
One public value of a value list as its table shows it.
object
The value’s row id, which its own page is addressed by.
What it holds under each column, in the columns’ order.
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
A public entry another one points at, or that points at another, by name.
object
The values its dataset names it by, as terms; empty when it holds none.
How many values match the search across every page; every public value without one.
The most one page holds, after the maximum of 100 is applied.
Whether references into datasets that cannot be read right now are left out.
Example
{ "columns": [ { "role": "CODE" } ]}Headers
Section titled “Headers”The search is longer than 200 characters.
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" } ]}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.
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" } ]}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.
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" } ]}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" } ]}