h icon indicating copy to clipboard operation
h copied to clipboard

Document new moderation endpoints

Open marcospri opened this issue 6 months ago • 2 comments

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

marcospri avatar May 29 '25 12:05 marcospri

The new endpoints need to be added to both the v1 and the v2 API docs, not just v1. I'll fix it...

seanh avatar Jun 13 '25 15:06 seanh

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.

seanh avatar Jun 13 '25 16:06 seanh