Return all target document-links from the document.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{parent}/linkedTargets
Path parameters
Parameters | |
---|---|
parent |
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 |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requestMetadata": {
object ( |
Fields | |
---|---|
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 ( |
Fields | |
---|---|
documentLinks[] |
target document-links. |
nextPageToken |
A token, which can be sent as |
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.