Create a ZIP Request
To create a request, set up the API APP, and review the information about creating a request here.
Here’s what your request should look like:
POST https://hub.celtra.io/api/exportToZip
Authorization: Basic <your API App ID> <your API App Secret>
Content-Type: application/json; charset=utf-8
{
"filters": {
"designFile": {
"id": ["d1m6jqpdaglh"]
},
},
"filename": "Exported outputs"
}
Replace "mockedDesignFileId"
with a valid ID of a project you have access to.
As a response, you will get a ZIP file with the list of exported outputs.
If the above request returns some outputs that are pending, the IDs of those outputs will be listed in a pending.csv file - one ID per line:
mockedOutputId
mockedOutputId2
mockedOutputId3
mockedOutputId4
Similarly, an error.csv file will be returned if some outputs return an error.
mockedOutputId5
mockedOutputId6
mockedOutputId7
To get a ZIP Response, we recommend you first make calls to /export until all outputs are ready done processing and once ready, make the final ZIP request.