assets

Upload Media Zip Route

Changed on

Queue every image and video in a .zip (subfolders included) for upload to GCS.

Returns immediately with a task_id: a real archive takes minutes and TimeoutMiddleware aborts requests at 120s. Poll GET /asset/upload-media-zip/{task_id} for the URLs.

A malformed, empty or media-less archive is rejected here with 400 rather than failing later on a task.

post/api/v1/asset/upload-media-zip

Request

  • Base URL
    https://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.brandbooster.ai/api/v1/asset/upload-media-zip
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

A .zip containing images and/or videos, in folders or not

Response

Successful Response

unknown required

Changes