Describe a model and its permitted fields in one request.
Describe a model and its permitted fields in one request.
Required Scopes
- schemas.read
Request
Path Parameters
RQL model name from
GET /schemas/catalog/Model__on/records/
Query Parameters
Use
fields,fields.choices
back_references
Responses​
- 200
- application/json
- Schema
- Example (from schema)
Schema
RQL model name, for example Department.
Human-readable model name.
Model namespace, for example static.
Model documentation, possibly empty.
Whether analytical RQL supports this model.
Whether transactional RQL supports this model.
example_queries objectrequired
relations objectrequired
fields objectrequired
results object[]required
Row identifier; URL-encode this returned value unchanged for retrieval.
Namespace that owns the catalog entry, for example static; null when no namespace is supplied.
Human-readable label for this catalog entry, localized when a translation is available.
Documentation supplied by the model or field provider; may be empty.
Canonical RQL identifier used to refer to this model or field in queries.
Whether analytical RQL supports this model or field.
Whether transactional RQL supports this model or field.
Canonical Model__on row identifier of the model that defines this field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.
Canonical Model__on row identifier targeted by this relationship field, or null for a scalar field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.
Identifier of the provider record from which this field metadata was derived; not the catalog retrieve identifier.
Whether the provider hides this field from reporting, or null when it does not supply that setting.
Whether the provider classifies this relationship as one-to-one, or null when that classification is unavailable.
Provider-defined semantic type label, for example money. This vocabulary is open. Clients must handle unknown values.
Provider-defined enum classification, for example currency_enum; not the allowed choice values. This vocabulary is open. Clients must handle unknown values.
Provider-defined base type label. Known examples include text and enum. This vocabulary is open. Clients must handle unknown values.
Whether the field contains a list of values, or null when the provider does not supply that setting.
Whether the provider marks this field as encrypted, or null when that information is unavailable.
relations object
choices object
results object[]required
Row identifier; URL-encode this returned value unchanged for retrieval.
Allowed choice value to use when filtering or supplying a value for the owning field.
Human-readable choice label, localized when a translation is available.
Namespace that owns the catalog entry, for example static; null when no namespace is supplied.
Canonical Field__on row identifier of the field whose allowed values this choice describes. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Field__on/records/{record_id}/.
Continuation URL with the original query, or null on the last page.
Requested page size, from 1 to 100; default 50.
Whether another page is available.
Supported V2 filter operators for this field.
Column origin. The only emitted value is system, identifying a synthetic catalog column. This property is absent for ordinary catalog-backed fields.
Continuation URL with the original query, or null on the last page.
Requested page size, from 1 to 100; default 50.
Whether another page is available.
back_references object
results object[]required
Row identifier; URL-encode this returned value unchanged for retrieval.
Namespace that owns the catalog entry, for example static; null when no namespace is supplied.
Human-readable label for this catalog entry, localized when a translation is available.
Documentation supplied by the model or field provider; may be empty.
Canonical RQL identifier used to refer to this model or field in queries.
Whether analytical RQL supports this model or field.
Whether transactional RQL supports this model or field.
Canonical Model__on row identifier of the model that defines this field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.
Canonical Model__on row identifier targeted by this relationship field, or null for a scalar field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.
Identifier of the provider record from which this field metadata was derived; not the catalog retrieve identifier.
Whether the provider hides this field from reporting, or null when it does not supply that setting.
Whether the provider classifies this relationship as one-to-one, or null when that classification is unavailable.
Provider-defined semantic type label, for example money. This vocabulary is open. Clients must handle unknown values.
Provider-defined enum classification, for example currency_enum; not the allowed choice values. This vocabulary is open. Clients must handle unknown values.
Provider-defined base type label. Known examples include text and enum. This vocabulary is open. Clients must handle unknown values.
Whether the field contains a list of values, or null when the provider does not supply that setting.
Whether the provider marks this field as encrypted, or null when that information is unavailable.
relations object
choices object
results object[]required
Row identifier; URL-encode this returned value unchanged for retrieval.
Allowed choice value to use when filtering or supplying a value for the owning field.
Human-readable choice label, localized when a translation is available.
Namespace that owns the catalog entry, for example static; null when no namespace is supplied.
Canonical Field__on row identifier of the field whose allowed values this choice describes. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Field__on/records/{record_id}/.
Continuation URL with the original query, or null on the last page.
Requested page size, from 1 to 100; default 50.
Whether another page is available.
Continuation URL with the original query, or null on the last page.
Requested page size, from 1 to 100; default 50.
Whether another page is available.
virtual_edge objectrequired
Reverse relation name to pass to expand; currently back_references.
Catalog on which the reverse relation is defined; currently Model__on.
Relative API URL showing how to expand this relation on the described model's catalog record.
{
"model": "string",
"display_name": "string",
"namespace": "string",
"description": "string",
"arql_enabled": false,
"trql_enabled": false,
"example_queries": {
"property name": "string"
},
"relations": {
"fields": {
"results": [
{
"id": "string",
"namespace": "string",
"display_name": "string",
"description": "string",
"rql_name": "string",
"arql_enabled": false,
"trql_enabled": false,
"model_reference": "string",
"edge_reference": "string",
"source_row_id": "string",
"report_hidden": false,
"is_one_to_one_reference": false,
"semantic_type": "string",
"enum_type": "string",
"base_type": "string",
"is_list": false,
"is_encrypted": false,
"relations": {
"choices": {
"results": [
{
"id": "string",
"value": "string",
"label": "string",
"namespace": "string",
"field": "string"
}
],
"next_link": "string",
"limit": 0,
"has_more": false
}
},
"supported_lookups": [
"string"
],
"source": "string"
}
],
"next_link": "string",
"limit": 0,
"has_more": false
},
"back_references": {
"results": [
{
"id": "string",
"namespace": "string",
"display_name": "string",
"description": "string",
"rql_name": "string",
"arql_enabled": false,
"trql_enabled": false,
"model_reference": "string",
"edge_reference": "string",
"source_row_id": "string",
"report_hidden": false,
"is_one_to_one_reference": false,
"semantic_type": "string",
"enum_type": "string",
"base_type": "string",
"is_list": false,
"is_encrypted": false,
"relations": {
"choices": {
"results": [
{
"id": "string",
"value": "string",
"label": "string",
"namespace": "string",
"field": "string"
}
],
"next_link": "string",
"limit": 0,
"has_more": false
}
}
}
],
"next_link": "string",
"limit": 0,
"has_more": false,
"virtual_edge": {
"name": "string",
"source_model": "string",
"example": "string"
}
}
}
}