{"links": {"annotation": {"create": {"method": "POST", "url": "https://hypothes.is/api/annotations", "desc": "Create an annotation"}, "delete": {"method": "DELETE", "url": "https://hypothes.is/api/annotations/:id", "desc": "Delete an annotation"}, "read": {"method": "GET", "url": "https://hypothes.is/api/annotations/:id", "desc": "Fetch an annotation"}, "update": {"method": "PATCH", "url": "https://hypothes.is/api/annotations/:id", "desc": "Update an annotation"}, "flag": {"method": "PUT", "url": "https://hypothes.is/api/annotations/:id/flag", "desc": "Flag an annotation for review"}, "hide": {"method": "PUT", "url": "https://hypothes.is/api/annotations/:id/hide", "desc": "Hide an annotation as a group moderator"}, "unhide": {"method": "DELETE", "url": "https://hypothes.is/api/annotations/:id/hide", "desc": "Unhide an annotation as a group moderator"}}, "search": {"method": "GET", "url": "https://hypothes.is/api/search", "desc": "Search for annotations"}, "bulk": {"method": "POST", "url": "https://hypothes.is/api/bulk", "desc": "Perform multiple operations in one call"}, "group": {"member": {"add": {"method": "POST", "url": "https://hypothes.is/api/groups/:pubid/members/:userid", "desc": "Add the user in the request params to a group."}, "delete": {"method": "DELETE", "url": "https://hypothes.is/api/groups/:pubid/members/:userid", "desc": "Remove the current user from a group"}}, "create": {"method": "POST", "url": "https://hypothes.is/api/groups", "desc": "Create a new group"}, "read": {"method": "GET", "url": "https://hypothes.is/api/groups/:id", "desc": "Fetch a group"}, "members": {"read": {"method": "GET", "url": "https://hypothes.is/api/groups/:pubid/members", "desc": "Fetch all members of a group"}}, "update": {"method": "PATCH", "url": "https://hypothes.is/api/groups/:id", "desc": "Update a group"}, "create_or_update": {"method": "PUT", "url": "https://hypothes.is/api/groups/:id", "desc": "Create or update a group"}}, "groups": {"read": {"method": "GET", "url": "https://hypothes.is/api/groups", "desc": "Fetch the user's groups"}}, "links": {"method": "GET", "url": "https://hypothes.is/api/links", "desc": "URL templates for generating URLs for HTML pages"}, "profile": {"read": {"method": "GET", "url": "https://hypothes.is/api/profile", "desc": "Fetch the user's profile"}, "groups": {"read": {"method": "GET", "url": "https://hypothes.is/api/profile/groups", "desc": "Fetch the current user's groups"}}, "update": {"method": "PATCH", "url": "https://hypothes.is/api/profile", "desc": "Update a user's preferences"}}, "user": {"create": {"method": "POST", "url": "https://hypothes.is/api/users", "desc": "Create a new user"}, "read": {"method": "GET", "url": "https://hypothes.is/api/users/:userid", "desc": "Fetch a user"}, "update": {"method": "PATCH", "url": "https://hypothes.is/api/users/:username", "desc": "Update a user"}}}}