assets
assets

Upload a chat attachment

Validate, store, and register a chat attachment; return its stable reference.

post/api/v1/assets

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/assets
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Headers

X-Access-Passwordstring nullable

Response

Successful Response

asset_idstring uuid required

Stable attachment reference (asset UUID).

filenamestring nullable

Original client filename (metadata only).

mime_typestring required

Server-sniffed MIME type the object was stored with.

sizeinteger required

Stored object size in bytes.

Changes

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