List
GET /api/v1/works?sort=new&page=1&page_size=20
This endpoint is public; no login needed. sort supports new, hot, and featured. Pagination uses page and page_size.
Detail
GET /api/v1/works/{work_id}
Returns full work info including author nickname, tags, and counts.
Interactions
These require login:
- Like:
POST /api/v1/works/{work_id}/like - Unlike:
DELETE /api/v1/works/{work_id}/like - Favorite:
POST /api/v1/works/{work_id}/favorite - Comment:
POST /api/v1/works/{work_id}/comments
Like and favorite are idempotent, so calling them twice does not double the count.