/api/auth/image
GET Get an image
This endpoint is used to retrieve an image that is password protected.
Query
| Field Name | Type | Description |
|---|---|---|
id | number | The id of the image to get |
password | string | The 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.
/api/auth/oauth/[provider]
Whenever there are errors, the response will redir...
/api/auth/invite
Requires authentication
Last updated: 11/7/2023
Edit this page on GitHub