users (用戶)
- Get an user information(需驗(yàn)證)
GET /users/:uid/info
volumes (譜冊(cè))
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 (需驗(yàn)證)
PATCH /volumes/:vid
Delete a volume (需驗(yàn)證)
DELETE /volumes/:vid
List scores in a volume
GET /volumes/:vid/scores
Add a score to a volume (需驗(yàn)證)
POST /volumes/:vid/scores
Delete a score from a volume (需驗(yàn)證)
DELETE /volumes/:vid/scores/:sid
collection(譜冊(cè)收藏夾)
List volumes in a collection
GET /users/:uid/collection
Add a volume to a collection (需驗(yàn)證)
POST /users/:uid/collection/scores
Delete a volume from a collection (需驗(yàn)證)
DELETE /users/:uid/collection/scores/:sid
Setting the status of a collection(需驗(yàn)證)
PATCH /users/:uid/collection
search (搜索)
- Search volumes
GET /search/volumes
舉例:列出所有含有新番標(biāo)簽搀擂,狀態(tài)公開,按創(chuàng)建日期降序排列的譜冊(cè)
GET /search/volumes?label=新番&status=1&sort=created&order=desc
舉例:列出所有狀態(tài)公開,按被收藏?cái)?shù)量降序排列的譜冊(cè)
GET /search/volumes?status=1&sort=hot&order=desc