Get Product Downloadables
DevelopingGET
v1/products/{{product-id}}/downloadables/This endpoint retrieves a list of downloadable files associated with a specific product, providing details about each downloadable file, including access URLs, display names, and status. The response includes pagination information and metadata about the files, allowing the client to manage multiple files for a product.
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Unique identifier of the store.
Preferred language for the response. Defaults to en
if not specified.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Role of the user.
The currency in which the data should be returned. This should be provided as an ISO 4217 currency code. For example, SAR for Saudi Riyal, USD for United States Dollar, KWD for Kuwaiti Dinar, etc.
Request samples
Responses
The total number of downloadable files available for the product.
URL to the next page of results, or null if there are no additional pages.
URL to the previous page of results, or null if there are no previous pages.
A list of downloadable file details.
Unique identifier for the downloadable file.
The ID of the product linked to the downloadable file.
Provides access and metadata details for the file.
The user-friendly name of the file for display.
Optional ordering value to specify the display sequence among files.
Indicates if the file is available for download.
Defines if the file is hosted externally or within the primary storage system.
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": "f2f3ff33-a68e-498a-a052-0ea1bbddc144",
"product_id": "5af835b7-1a37-4401-a3fc-6d9007c44c8f",
"file": {
"url": "https://www.editage.com/info/file/most-common-reasons-for-journal-rejections.pdf"
},
"display_name": "most-common-reasons-for-journal-rejections",
"display_order": null,
"is_enabled": true,
"is_external": true
},
{
"id": "1c044189-9155-4d51-aef1-22c8d3edd7ba",
"product_id": "5af835b7-1a37-4401-a3fc-6d9007c44c8f",
"file": {
"key": "9fc92996-ffbe-4bca-9b8e-6682137fe7b6/product-downloadables/8244389b-8fe3-47dc-85ae-2f8e9e95f899",
"url": "https://s3.eu-west-1.amazonaws.com/private.zid.store/9fc92996-ffbe-4bca-9b8e-6682137fe7b6/product-downloadables/8244389b-8fe3-47dc-85ae-2f8e9e95f899?response-content-disposition=inline%3B%20filename%3D%22most-common-reasons-for-journal-rejections.pdf%22&AWSAccessKeyId=AKIAXOL3MW23VCA3WLDK&Signature=Mx5DhYy4dA7nTUbTnB%2BeBFM0gFg%3D&Expires=1730614728",
"meta": {
"content_length": 278103,
"content_type": "binary/octet-stream",
"content_encoding": null
}
},
"display_name": "most-common-reasons-for-journal-rejections.pdf",
"display_order": null,
"is_enabled": true,
"is_external": false
}
]
}