Base: api.hydractify.org
BasePath: /images
Authentication is required.
Supported content types for POST / PATCH / PUT are:
application/json
x-www-form-urlencoded
multipart/form-data
Responses are always in application/json
, unless explicitly noted.
See draw.io
url
tags
list of tag namescycle
cycle namemoods
list of mood namesanime
list of anime (name and id)
GET /random
Parameters:
- [
tag
] name - [
cycle
] name - [
mood
] name - [
anime
] id
Responses:
401
- Unauthorized403
- Missing Access404
- Not Found200
- OK
Image data
GET /:id
Responses:
401
- Unauthorized403
- Missing Access404
- Not Found200
- OK
Image data
POST /
Expects multipart/form-data due to the image upload
Parameters:
image
image data- [
anime
] ids - [
tags
] names - [
moods
] names - [
cycles
] name
Responses:
400
- Bad Request-
- Missing content-type header
-
- Missing
image
param
- Missing
-
- Invalid sub resources specified
-
- Otherwise malformed data
401
- Unauthorized403
- Missing Access415
- Unsupported Media Type201
- Created
Image data
PATCH /:id
PUT /:id
Same as creating, except no image
and all supported content-types may be used.
Responses:
400
- Bad Request-
- Missing content-type header
-
- Invalid sub resources specified
-
- Otherwise malformed data
401
- Unauthorized403
- Missing Access404
- Not Found415
- Unsupported Media Type200
- OK
Image data
/anime
/tags
/moods
/cycles
Basic CRUD schema, no R though