external
Archives
Bandset
Catalog
Report
Create deliveries
Create a delivery request which will be fulfilled async, only one of catalog id or order_item should be populated in a single delivery request.
curl --request POST \
--url https://api.pixxel.space/v0/catalogs/deliveries \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"deliveries": [
{
"catalog_ids": [
"47435e2b-d8c4-51ff-9de9-2be3bfc92276"
],
"cloud_info": {
"config": "config",
"path": "/path/subdirectory1"
},
"order_item_ids": [
"<string>"
]
}
]
}'
{
"deliveries": [
{
"catalog_id": "47435e2b-d8c4-51ff-9de9-2be3bfc92276",
"cloud_delivery": {
"config": "config",
"path": "/path/subdirectory1"
},
"created_at": "2024-05-27T06:50:20.056549Z",
"created_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"delivery_id": "47435e2b-d8c4-41ff-9de9-2be3cfc92276",
"status": "SUCCESS",
"target_path": "order_1/catalogs.zip",
"task_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"updated_at": "2024-05-27T06:50:20.056549Z",
"updated_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
}
]
}
Authorizations
Body
do not supply order_item_ids if this field is used
["47435e2b-d8c4-51ff-9de9-2be3bfc92276"]
do not supply catalog_ids if this field is used
Response
id of the catalog, whose delivery this resource tracks
"47435e2b-d8c4-51ff-9de9-2be3bfc92276"
timestamp of the creation of the delivery resource
"2024-05-27T06:50:20.056549Z"
uuid of the user who created the delivery resource
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
id of the delivery
"47435e2b-d8c4-41ff-9de9-2be3cfc92276"
status of the delivery resource
UNSPECIFIED
, CREATED
, FAILED
, IN_PROGRESS
, SUCCESS
"SUCCESS"
target path where the resource is delivered, add the cloud_config path and target_path to get the actual path of the resource
"order_1/catalogs.zip"
id of the task, whose delivery this resource tracks
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
timestamp of the last update of the delivery resource
"2024-05-27T06:50:20.056549Z"
uuid of the user who last updated the delivery resource
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
curl --request POST \
--url https://api.pixxel.space/v0/catalogs/deliveries \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"deliveries": [
{
"catalog_ids": [
"47435e2b-d8c4-51ff-9de9-2be3bfc92276"
],
"cloud_info": {
"config": "config",
"path": "/path/subdirectory1"
},
"order_item_ids": [
"<string>"
]
}
]
}'
{
"deliveries": [
{
"catalog_id": "47435e2b-d8c4-51ff-9de9-2be3bfc92276",
"cloud_delivery": {
"config": "config",
"path": "/path/subdirectory1"
},
"created_at": "2024-05-27T06:50:20.056549Z",
"created_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"delivery_id": "47435e2b-d8c4-41ff-9de9-2be3cfc92276",
"status": "SUCCESS",
"target_path": "order_1/catalogs.zip",
"task_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"updated_at": "2024-05-27T06:50:20.056549Z",
"updated_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
}
]
}