Skip to main content
PUT
/
document
/
v1
/
{documentId}
/
version
cURL
curl --request PUT \
  --url https://aodocs.altirnao.com/api/document/v1/{documentId}/version \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "<string>",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

documentId
string
required

The ID of the document

Query Parameters

versionDescription
string
required

The description of the new version to be created

versionLabel
string

The name of the new version to be created

versionCreationDate
integer<int64>

The date (timestamp format) of the version to be created. The current date/time if empty.

securityCode
string

The security code

domain
string

The G Suite domain

executionOptions
enum<string>[]

To disable custom script executions and workflow email notifications, you can use the following options: SKIP_CUSTOM_SCRIPT_EXECUTIONS, SKIP_WORKFLOW_EMAIL_SENDING.

Available options:
SKIP_WORKFLOW_EMAIL_SENDING,
SKIP_CUSTOM_SCRIPT_EXECUTION,
FAIL_ON_INCOMPLETE

Response

200 - application/json

A ApiJobId response

jobId
string
kind
string