Skip to main content
GET
/
document
/
v1beta1
/
drive
/
{fileId}
/
revision
/
{revisionId}
/
storagelink
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/document/v1beta1/drive/{fileId}/revision/{revisionId}/storagelink \
  --header 'Authorization: Bearer <token>'
{
  "fileId": "<string>",
  "kind": "<string>",
  "revisionId": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

fileId
string
required

The ID of the file

revisionId
string
required

The ID of the revision of the file

Query Parameters

securityCode
string

The security code

domain
string

The G Suite domain

exportMimeType
string

Expected downloadable format of the file (optional and only relevant for native file). If this field is not provided for native file, default fallbacks are in order: Office -> PDF -> if neither of them available, then the first possible mimeType from exportLinks of the file

Response

200 - application/json

A ApiRevisionLink response

fileId
string
kind
string
revisionId
string
url
string