Download Request Using POST
Submit a download request for a content
Request
URI
POST
https://{api_host}/content/api/marketplace/download-requests
COPY
Request Body
downloadRequest
MarketplaceContentDownloadRequest
of type(s)
application/json
Required
Show optional properties
{
"contentId": "string",
"contentName": "string",
"contentType": "string",
"sourceId": "string",
"targetId": "string",
"targetType": "string"
}
{
"contentId": "string",
"contentName": "string",
"contentType": "string",
"createdAt": "string",
"downloadedContentId": "string",
"executionMessages": [
{
"message": "string"
}
],
"id": "string",
"lastUpdatedAt": "string",
"sourceId": "string",
"status": "string",
"targetId": "string",
"targetType": "string"
}
string
contentId
Required
Content Id
string
contentName
Required
Content Name
string
contentType
Required
Content Type
Possible values are :
BLUEPRINT,
IMAGE,
ABX_SCRIPTS,
string As date-time
As date-time
createdAt
Optional
Request Created Time
string
downloadedContentId
Optional
Downloaded Content Id
array of
object
executionMessages
Optional
Execution Messages
string As uuid
As uuid
id
Optional
Request Id
string As date-time
As date-time
lastUpdatedAt
Optional
Request Last Updated Time
string As uuid
As uuid
sourceId
Required
Content Source Id
string
status
Optional
Request Status
string
targetId
Required
Target Id
string
targetType
Required
Target Type
Responses
202
Submitted download request
Returns
MarketplaceContentDownloadRequest
of type(s)
application/json
"MarketplaceContentDownloadRequest Object"
string
contentId
Required
Content Id
string
contentName
Required
Content Name
string
contentType
Required
Content Type
Possible values are :
BLUEPRINT,
IMAGE,
ABX_SCRIPTS,
string As date-time
As date-time
createdAt
Optional
Request Created Time
string
downloadedContentId
Optional
Downloaded Content Id
array of
object
executionMessages
Optional
Execution Messages
string As uuid
As uuid
id
Optional
Request Id
string As date-time
As date-time
lastUpdatedAt
Optional
Request Last Updated Time
string As uuid
As uuid
sourceId
Required
Content Source Id
string
status
Optional
Request Status
string
targetId
Required
Target Id
string
targetType
Required
Target Type
400
Invalid source type
Operation doesn't return any data structure
404
source not found
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"contentId:"string","contentName:"string","contentType:"string","sourceId:"string","targetId:"string","targetType:"string"}' https://{api_host}/content/api/marketplace/download-requests
Marketplace Downloads Operations
GET
Download History Using GET
POST
Download Request Using POST
GET
Get Request By Id Using GET