curl --request POST \
--url https://production.getgaana.com/api/media-config/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content_pillar": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number_of_posts": 123,
"items": [
{
"post_type": "<string>",
"assets": [
{
"type": "<string>",
"url": "<string>",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"variants": [
"<string>"
],
"descriptions": [
{
"description": "<string>"
}
],
"metadata": {
"aspect_ratio": "<string>"
}
}
]
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"post_type": "video",
"assets": "<unknown>",
"metadata": "<unknown>",
"variants": [
"<string>"
],
"descriptions": "<unknown>"
}
],
"content_pillar": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"ref_images": "<unknown>"
},
"number_of_posts": -1
},
"message": "<string>",
"status": "success"
}Creates a new media configuration for generating visuals.
curl --request POST \
--url https://production.getgaana.com/api/media-config/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content_pillar": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number_of_posts": 123,
"items": [
{
"post_type": "<string>",
"assets": [
{
"type": "<string>",
"url": "<string>",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"variants": [
"<string>"
],
"descriptions": [
{
"description": "<string>"
}
],
"metadata": {
"aspect_ratio": "<string>"
}
}
]
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"post_type": "video",
"assets": "<unknown>",
"metadata": "<unknown>",
"variants": [
"<string>"
],
"descriptions": "<unknown>"
}
],
"content_pillar": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"ref_images": "<unknown>"
},
"number_of_posts": -1
},
"message": "<string>",
"status": "success"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.