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

versionNumber
string

The name of the new version to be created

versionLabel
string
required

The description of the new version to be created

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiJobId response

jobId
string
kind
string