Admin Gallery

Generate presigned upload URL for gallery image

post/admin/gallery/upload-url

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/admin/gallery/upload-url
  • Auth
    HTTP bearer

Request body

filenamestring
contentTypestring
tagsstring

Example request

{
  "filename": "my-image.png",
  "contentType": "image/png",
  "tags": "reference,character"
}

Response

idstring required
uploadUrlstring required
s3Keystring required

Changes

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