cURL
curl --request PUT \ --url https://aodocs.altirnao.com/api/document/v1/drive/{driveId}/checkout \ --header 'Authorization: Bearer <token>'
{ "jobId": "<string>", "kind": "<string>" }
Checks out a document via the Drive ID of one of its attachment (creates a draft version of the document - at the end of the potential job).
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the file
The security code
The G Suite domain
A ApiJobId response