Skip to main content
PUT
/
document
/
v1
/
drive
/
{driveId}
/
version
cURL
curl --request PUT \
  --url https://aodocs.altirnao.com/api/document/v1/drive/{driveId}/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

driveId
string
required

The ID of the file

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

Response

200 - application/json

A ApiJobId response

jobId
string
kind
string