Return all source document-links from the document.
HTTP request
POST https://contentwarehouse.googleapis.com/v1/{parent}/linkedSources
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the document, for which all source links are returned. Format: projects/{projectNumber}/locations/{location}/documents/{source_document_id}. It takes the form |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"pageSize": integer,
"pageToken": string,
"requestMetadata": {
object ( |
Fields | |
---|---|
pageSize |
The maximum number of document-links to return. The service may return fewer than this value. If unspecified, at most 50 document-links will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
A page token, received from a previous When paginating, all other parameters provided to |
requestMetadata |
The meta information collected about the document creator, used to enforce access control for the service. |
Response body
Response message for DocumentLinkService.ListLinkedSources.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"documentLinks": [
{
object ( |
Fields | |
---|---|
documentLinks[] |
source 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.