users (用户)
- Get an user information(需验证)
GET /users/:uid/info
volumes (谱册)
List volumes
GET /volumes
List volumes created by a user
GET /users/:uid/volumes
Get a single volume
GET /volumes/:vid
Create a volume
POST /volumes
Edit a volume (需验证)
PATCH /volumes/:vid
Delete a volume (需验证)
DELETE /volumes/:vid
List scores in a volume
GET /volumes/:vid/scores
Add a score to a volume (需验证)
POST /volumes/:vid/scores
Delete a score from a volume (需验证)
DELETE /volumes/:vid/scores/:sid
collection(谱册收藏夹)
List volumes in a collection
GET /users/:uid/collection
Add a volume to a collection (需验证)
POST /users/:uid/collection/scores
Delete a volume from a collection (需验证)
DELETE /users/:uid/collection/scores/:sid
Setting the status of a collection(需验证)
PATCH /users/:uid/collection
search (搜索)
- Search volumes
GET /search/volumes
举例:列出所有含有新番标签,状态公开,按创建日期降序排列的谱册
GET /search/volumes?label=新番&status=1&sort=created&order=desc
举例:列出所有状态公开,按被收藏数量降序排列的谱册
GET /search/volumes?status=1&sort=hot&order=desc