Skip to main content

Get one dataview.

GET/api/v1/dataviews/{dataview_id}dataviews:read

A dataview is visible through its access grants; the columns come with the dataview's source.

Scopedataviews:read
AsynchronousNo
MCP toolget_dataview
Portal permissionsview_dataviews

Parameters​

NameInTypeRequiredDescription
dataview_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json Dataview
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Dataview​

FieldTypeRequiredDescription
columnsarray of DataviewColumnRequiredThe columns the dataview returns, in order.
dataview_idstringRequired
groupstringRequired
healthDataviewHealthRequired
namestringRequired
settingsobject or nullRequiredformat dataview_settings: the dataview's own configuration.

DataviewColumn​

FieldTypeRequiredDescription
custom_field_idstring or nullRequired
keystringRequired
namestringRequired
typestringRequired

DataviewHealth​

FieldTypeRequiredDescription
last_error_atstring (date-time) or nullRequired