h
h copied to clipboard
Document new moderation endpoints
Testing
make docs
Check:
-
http://127.0.0.1:8000/api-reference/v2/#tag/groups/paths/~1groups~1{id}~1annotations/get
-
http://127.0.0.1:8000/api-reference/v2/#tag/annotations/paths/~1annotations~1{id}~1hide/patch
The new endpoints need to be added to both the v1 and the v2 API docs, not just v1. I'll fix it...
Note to self: moderation_status was also added to responses whenever annotations are returned by any API endpoint. That needs to be added to the docs too.
May also want to update the docs for the hide and unhide APIs to say that what they actually do is set moderation_status.