Create a gallery

Send an Idempotency-Key to make retries safe for 24 hours. Reusing the key with the same effective body returns the original 201 response. Reusing it with a different body returns 409.

post/v1/workspaces/{workspace}/galleries

Request

  • Base URL: https://api.uploads.sh
  • URL: https://api.uploads.sh/v1/workspaces/{workspace}/galleries
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

A caller-scoped retry key retained for 24 hours. Use 1 to 255 visible ASCII characters.

Request body

titlestring required
descriptionstring nullable

Response

The gallery was created.

idstring required
urlstring uri required
workspacestring required
titlestring required
descriptionstring nullable
visibility'public' required
coverItemIdstring nullable
versioninteger required
createdAtstring date-time
updatedAtstring date-time
itemCountinteger
referencesobject[]
previewUrlstring uri nullable

Changes

No recorded changes to this operation across all 1 revision of this API.