Skip to main content
GET
Get a canvas revision

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

canvas_id
string<uuid>
required
revision_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
number
integer
required
Required range: x >= 1
parent_revision_id
string | null
required
language
enum<string>
required
Available options:
json,
html,
svg,
markdown
schema_version
enum<integer> | null
required

The dashboard spec version of a json revision; null for other languages.

Available options:
1,
2
size_bytes
integer
required
author_kind
enum<string>
required
Available options:
user,
assistant,
promotion
author_user_id
string<uuid> | null
required

The member who saved the revision (for an assistant revision, the member it was saved for). Null when the revision records no member.

author_name
string | null
required

The name the author is shown by: their profile name, else their email. Null when it is not known: the revision records no member, or the member's user record has no name and no email, or is gone. Never an empty string. To a project-only member a member is named by their profile name alone: one with no profile name reads null, never their email.

created_at
string<date-time>
required
content
string
required