Get Incoming Publication References for a Document
Required scope:
public-api:read
Description
This endpoint returns all publications which link to this document (via content or metadata)
The example below finds a reference to ID 1 when requesting for incomingDocumentReference with ID 2.
Use Cases
- Find publications that link to this document for cache invalidation
Notes
- Eventual Consistency of Reference because of the usage of Elasticsearch
Not Supported
Find publications in a Document List put on another document.
Endpoint
GET api/v1/documents/:documentId/incomingDocumentReferences
Parameters
Name | Type | Required | Notes |
---|---|---|---|
:documentId | integer | x | |
?limit | integer | A limit for how much published documents to retrieve. Defaults to 100. Max. 100. | |
?offset | integer | An offset into the query. Useful when getting more than 100 results (pagination). |
Response
Get Incoming Media References for a Document
Required scope:
public-api:read
Description
This endpoint returns all Media Library Entries which link to this document (via metadata - li-document-reference)Endpoint
GET api/v1/documents/:documentId/incomingMediaReferences
Parameters
Name | Type | Required | Notes |
---|---|---|---|
:documentId | integer | x | |
?limit | integer | A limit for how much published documents to retrieve. Defaults to 100. Max. 100. | |
?offset | integer | An offset into the query. Useful when getting more than 100 results (pagination). |