List what takes its values from a public value list
const url = 'https://api.modeldesk.io/public/catalog/example/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/used-by';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/used-byWhat 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”What uses the list. Carries Cache-Control: no-store.
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
By model name, then element name and owner name.
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
The element’s name, as the model’s page labels it.
The name of the element owning it; omitted for none.
Whether this is the value domain itself, which no element of its model points at.
How many more elements there are than are named.
By name.
A public dataset of metadata records whose public entries point at the list’s public values.
object
How many of its public entries point at one or more of the list’s public values.
How many more datasets there are than are named.
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.
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}Headers
Section titled “Headers”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" } ]}