Add Images Route

Changed on

Endpoint for registering multiple images by UUID and queuing tagging tasks to SQS.

Sync on purpose: every call inside add_images blocks (SQLAlchemy, boto3), so as an async handler a 50-image upload held the event loop for seconds and stalled every other request on the worker. FastAPI runs sync handlers in its threadpool.

post/addImages

Request

  • Base URL
    https://api.pavoot.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.pavoot.com/addImages
  • Auth
    none declared

Request body

imageIdsstring[] required
projectIdinteger required
photographerIdstring required
folderNamestring nullable
presetBrandTagsstring[] nullable
presetPersonalizedTagsstring[] nullable
presetPersonTagsstring[] nullable
presetGeneralTagsstring[] nullable
presetCustomCategoryTagsobject nullable
uploadLinkTokenstring nullable
contentSha256ByImageIdobject nullable

Response

Successful Response

unknown required

Changes