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

versionId
string
required

The ID of the version (past version only) to be restored

Query Parameters

newVersionNumber
string

The name of the new version to be created

newVersionDescription
string

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