Skip to content

List concepts left out of a dataset's base

GET
/datasets/{datasetId}/base/left-out
curl --request GET \
--url 'https://api.modeldesk.io/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/base/left-out?draft=false&offset=0&limit=50' \
--header 'Authorization: Bearer <token>'

The concepts of the scope a dataset was made from that no row was made from, in the scope’s order, each with what its row would hold and where it would sit: under the dataset’s rows of the concepts above it, or under concepts above it that are left out too. Addresses a state as a page of rows does: at, ref or draft, or the default branch.

datasetId
required
string format: uuid
at
string
ref
string
draft
boolean
query
string

Text a concept’s values must contain, ignoring case; every left-out concept when absent.

offset
integer
0
limit
integer
default: 50 >= 1 <= 500

OK

Media typeapplication/json
object
items
Array<object>

A concept of a dataset’s scope no row was made from, with what its row would hold.

object
elementId
required
string format: uuid
iri
string
values
object
key
additional properties
Array
broaderRows

The dataset’s rows of the concepts above this one, which its row would sit under.

Array<object>

A pointer to a row, in this dataset or in one this dataset declares a dependency on.

object
datasetId
required
string format: uuid
rowId
required
string format: uuid
broaderLeftOut

Concepts above this one that are left out too; it sits under them only if they come back with it.

Array<string>
total
integer format: int64
offset
integer

Example generated

{
"items": [
{
"elementId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"iri": "example",
"values": {
"additionalProperty": [
"example"
]
},
"broaderRows": [
{
"datasetId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"rowId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
],
"broaderLeftOut": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
]
}
],
"total": 1,
"offset": 1
}

The dataset was made from no base, or the page is not one

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

Dataset, release or branch not found

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