Skip to main content
PUT
/
document
/
v1beta1
/
{documentId}
/
publish
cURL
curl --request PUT \
  --url https://aodocs.altirnao.com/api/document/v1beta1/{documentId}/publish \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "autodeskUrn": {
        "status": "READY",
        "urn": "<string>"
      },
      "fileId": "<string>",
      "iconLink": "<string>",
      "kind": "<string>",
      "link": "<string>",
      "mimeType": "<string>",
      "name": "<string>",
      "permissionsOnDrive": [
        {
          "additionalRoles": [
            "<string>"
          ],
          "allowlisted": true,
          "belongsToDomain": true,
          "email": "<string>",
          "googleEmailAddress": true,
          "kind": "<string>",
          "name": "<string>",
          "permissionId": "<string>",
          "role": "<string>",
          "thumbnailPhotoUrl": "<string>",
          "type": "<string>",
          "withLink": true
        }
      ],
      "publishedLink": "<string>",
      "resourceKey": "<string>",
      "revisionId": "<string>",
      "size": 123,
      "storageLocation": "DRIVE"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

documentId
string
required

The ID of the document

Query Parameters

publishStatus
enum<string>
required

The Drive publication status of the attachment

Available options:
NONE,
DOMAIN,
EVERYONE
securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiAttachmentCollection response

An ordered list of ApiAttachment

items
object[]