Skip to content

/

POST
/

Create content or file revision

Authorizations

Parameters

Header Parameters

Quant-Customer
required
string

The customer account name

Quant-Project
required
string

The project machine name

Quant-File-Url
string

Required for binary file uploads only

Request Body required

object
url
required

The content URL. Must be relative and start with a leading ’/’

string
<= 4096 characters
content
required

The content (e.g. html)

string
published
required

If the asset should be published

boolean
content_timestamp

User defined timestamp for this content item

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
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

Responses

200

Okay

object
url

The relative URL of the asset

string
type

The type of asset

string
seq_num

The sequence number

integer
published

If the asset is published

boolean
published_revision

The identifier for the published revision

integer
published_md5

Unique hash of the asset

string
byte_length

Content length of the asset

integer
revision_count

The number of revisions that have been added

integer
highest_revision_number

The latest revision id

integer
deleted

If the underlying file for this revision has been deleted

boolean
deleted_timestamp

The time the file was deleted

integer
md5

The file MD5

string
revision_number

The revision number

integer
date_timestamp

Unix timestamp

integer

400

Noop