Skip to content

/revisions/{revision}

GET
/revisions/{revision}

Returns metadata for a given revision

Authorizations

Parameters

Path Parameters

revision
required
integer
Allowed values: first last published revision_id

May be special key (first|last|published) or the specific revision id

include_content
required
query
default: true

Control whether content is returned in the response

Header Parameters

Quant-Customer
required
string

The customer account name

Quant-Project
required
string

The project machine name

Responses

200

Okay

object
md5

The file MD5

string
type

The type of asset

string
byte_length

Content length of the asset

integer
revision_number

The revision number

integer
date_timestamp

Unix timestamp

integer
deleted

If the underlying file for this revision has been deleted

boolean
deleted_timestamp

The time the file was deleted

integer
transitions

List of transitions

Array<object>

A transition definition (e.g. for scheduled publish)

object
state

The transition state (e.g. ‘published’)

string
Allowed values: published unpublished
date_timestamp

The date from which the transition applies

integer
info

Metadata stored with this revision

object
author_user

The author user id

string
<= 128 characters
author_name

The author name

string
<= 128 characters
author_email

The author email

string
<= 255 characters
log

A revision log message

string
<= 255 characters
custom_1

Custom field 1

string
<= 255 characters
custom_2

Custom field 2

string
<= 255 characters
source

Tag for the source of this revision

string
<= 50 characters

404

Revision not found