Create a Request Defining Content Variations
In this example, we want to apply a specific filter and narrow down our exported Images to a particular content variation and one of its values. In our project, we have Language
set as a content variation, where en
is its value.
Both variation and value names are case-sensitive.
Create a Request
To create a request, set up the API APP, and review the information about creating JSON, ZIP and TSV requests.
Here’s what your request should look like:
POST https://hub.celtra.io/api/export
Authorization: Basic <your API App ID> <your API App Secret>
Content-Type: application/json; charset=utf-8
{
"filters": {
"designFile": {
"id": ["mockedDesignFileId"]
},
"output": {
"contentDimensionsByName": {
"Language": "en"
}
}
}
}
Replace "mockedDesignFileId"
with a valid ID of a project you have access to.