The picture itself
GET
/api/images/{id}/blob
const url = 'http://localhost:5173/api/images/example/blob';const options = { method: 'GET', headers: {cookie: 'authjs.session-token=<authjs.session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:5173/api/images/example/blob \ --cookie authjs.session-token=<authjs.session-token>Authenticated, like everything else: the file is not served from a public path.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The image bytes.
No such picture for this account.

