Skip to main content
POST
Creates data products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
role_name
string
required

Name of the role associated with this view.

name
string
required

Name of the view to create.

domain_urn
string | null

URN of the domain where the view belongs.

query
string | null

SQL query for creating the view.

suggestion_id
string | null

ID of the suggested query to base the view on.

query_id
string | null

ID of an existing query to base the view on.

is_view
boolean | null

Indicates if the object to create is a view.

Response

View created successfully.

view_id
string<uuid>
required

Unique ID of the created view.

view_name
string
required

Name of the created view.

preshared_key
string | null

Pre-shared key associated with the view, if applicable.

preshared_key_valid_until
string<date-time> | null

Expiration date and time of the pre-shared key.