For the complete documentation index, see llms.txt. This page is also available as Markdown.

/assets/media/{mediaId}

Retrieves and downloads an image from the database.

get
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
mediaIdstringObrigatório

An image identifier in the database.

Example: 9c79c818-b81a-4959-b65a-a2b0c8143528
Respostas
200

The file.

string · binaryOpcional

Binary image data in JPEG, PNG or BMP format.

Example: FF D8 FF E1 17 FE 45 78 69 66 00 00 49 49 2A 00 ...
get/assets/media/{mediaId}
GET /assets/media/{mediaId} HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
FF D8 FF E1 17 FE 45 78 69 66 00 00 49 49 2A 00 ...

Atualizado