Skip to content

List what takes its values from a public value list

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

What takes its values from a publicly visible value list of the organization: the elements of the organization’s public models, at the release each model’s public page serves, that point at a value domain whose values come from the list, each with its owner and its model, or the value domain itself where no element of its model points at it; and the organization’s public datasets of metadata records whose public entries point at the list’s public values, each with how many entries do. At most 50 of each, with how many more. Nothing of a model or a dataset that is not public is named or counted. Needs no sign-in, and runs under the cap on concurrent public reads.

orgSlug
required
string
datasetId
required
string format: uuid

What uses the list. Carries Cache-Control: no-store.

Media typeapplication/json

What takes its values from a public value list: elements of the organization’s public models and its public datasets of metadata records, at most 50 of each.

object
elements
required

By model name, then element name and owner name.

Array<object>

An element of a public model whose values come from the list, at the release the model’s public page serves; linked by the model and element ids to its public page.

object
modelId
required
string format: uuid
modelName
required
string
elementId
required
string format: uuid
name
required

The element’s name, as the model’s page labels it.

string
ownerName

The name of the element owning it; omitted for none.

string
valueDomain
required

Whether this is the value domain itself, which no element of its model points at.

boolean
moreElements
required

How many more elements there are than are named.

integer format: int64
datasets
required

By name.

Array<object>

A public dataset of metadata records whose public entries point at the list’s public values.

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

How many of its public entries point at one or more of the list’s public values.

integer format: int64
moreDatasets
required

How many more datasets there are than are named.

integer format: int64
incomplete
required

Whether a public model or dataset could not be read right now, or there were more than one read looks through, so some may be missing.

boolean

Example generated

{
"elements": [
{
"modelId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"modelName": "example",
"elementId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"ownerName": "example",
"valueDomain": true
}
],
"moreElements": 1,
"datasets": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"count": 1
}
],
"moreDatasets": 1,
"incomplete": true
}
Cache-Control
string

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