Skip to main content
Re-import Assets
Updated over 2 years ago

Imported assets enter a queue for download.

Depending on the size and quantity of imported assets, as well as the current load on the queue, it may take some time for the imported asset to transition status.

If the status does not transition to a successful status after some time (>4 hours recommended), the following ‘refetch’ call may be used to trigger PDX to attempt the download again:

URL

POST /asset/v1/assets/refetch

Parameters

Parameter: ids

Description: List of Asset IDs or one Asset ID.

Type: query

Data type: Array

Body

None

Request Headers

Authorization - authorization token.

HTTP Status Codes

200 – OK

401 – Unauthorized

404 – Not Found

Response Format

{

"failed": [

"string"

],

"notChanged": [

"string"

],

"notFound": [

"string"

],

"successful": [

{

"newId": "string",

"oldId": "string"

}

]}

Request Example:

/asset/v1/assets/refetch?ids=myAssetId01&ids=myAssetId02&ids=myAssetId03&ids=wrongAssetId04

Response Example:

{
"successful": [“myAssetId01”],
"failed": [],
"notChanged": [
"myAssetId02",
"myAssetId03"
],
"notFound": [wrongAssetId04]
}
Did this answer your question?