Create view
Create a view with its first version
Request
This endpoint expects an object.
area
The content area the view is written for; fixed after creation
Allowed values:
name
type
View type
Allowed values:
engine_version
HTML contract version the view was written against
inputs
Input name to data source, one or several; the view receives one data object with a key per input
html
The view: HTML, CSS and script rendered in a sandboxed iframe
description
summary
What the first version shows, one line
libraries
Libraries the host loads before the view runs; none when omitted
Response headers
Location
Response
Created
id
area
Allowed values:
name
description
current_version
created_at
created_by
last_updated_at
last_updated_by
version
An immutable version of a view
Errors
422
Unprocessable Entity Error