API Reference/api/auth/api/auth/image

/api/auth/image

GET
Get an image

This endpoint is used to retrieve an image that is password protected.

Query

Field NameTypeDescription
idnumberThe id of the image to get
passwordstringThe password of the image

200
Ok (any)

Returns the file.

400
Bad Request (JSON)

  • image not found - The image doesn't exist.
  • image password provided - You didn't provide a password.
  • wrong password - The password provided is incorrect.

404
Not Found (JSON)

  • image not found - The image doesn't exist.
Last updated: 3/2/2024
Edit this page on GitHub