Api Asset

post/api/v1/novels/{novel_id}/assets

Request

  • Base URL: https://humanread.surl.tw (the document declares no server; this is the origin it was published from)
  • URL: https://humanread.surl.tw/api/v1/novels/{novel_id}/assets
  • Auth: none declared

Path parameters

novel_idinteger required

Headers

authorizationstring nullable

Request body

content_base64string required

Base64-encoded PNG, JPEG, or WebP bytes; data-URL prefixes are not accepted

alt_textstring required

Concise accessible description, or an explicit decorative description

filenamestring nullable

Optional original filename for client bookkeeping; storage names are content hashes

media_type'image/png' | 'image/jpeg' | 'image/webp' nullable

Optional declared source type; decoded bytes are independently verified

Response

Successful Response

unknown required

Changes

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