Method: projects.locations.documents.linkedTargets

Return all target document-links from the document.

HTTP request

POST https://contentwarehouse.googleapis.com/v1/{parent}/linkedTargets

Path parameters

Parameters
parent

string

Required. The name of the document, for which all target links are returned. Format: projects/{projectNumber}/locations/{location}/documents/{target_document_id}. It takes the form projects/{project}/locations/{location}/documents/{document}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requestMetadata": {
    object (RequestMetadata)
  }
}
Fields
requestMetadata

object (RequestMetadata)

The meta information collected about the document creator, used to enforce access control for the service.

Response body

Response message for DocumentLinkService.ListLinkedTargets.

If successful, the response body contains data with the following structure:

JSON representation
{
  "documentLinks": [
    {
      object (DocumentLink)
    }
  ],
  "nextPageToken": string
}
Fields
nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • contentwarehouse.documents.get

For more information, see the IAM documentation.