GET api2/generic_download/{project_id}.json
Get download infos for generic products
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
project_id |
Product ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
API.Models.CustomerGenericDownloadsName | Description | Type | Additional information |
---|---|---|---|
url |
Download URL |
string |
None. |
restriction_mode |
Restriction mode |
API.Models.GenericRestrictionsType |
None. |
max_download_count |
Maximum downloads | -1 if restriction_mode = unlimited or days |
integer |
None. |
current_download_count |
Current downloads |
integer |
None. |
available_until |
Available until | NULL if restriction_mode = unlimited or downloads |
date |
None. |
project_id |
Product ID |
integer |
None. |
download_available |
Customer can download file |
boolean |
None. |
Response Formats
{ "url": "sample string 1", "restriction_mode": "unlimited", "max_download_count": 2, "current_download_count": 3, "available_until": "2024-10-09T20:40:33.0148418+02:00", "project_id": 4, "download_available": true }