mirror of https://github.com/realaravinth/gitpad
DESCRIPTION Each comment is uniquely identified by database assigned, serially incremented ID. Access controlled REST endpoint is added to delete comment by ID. ERRORS RETURNED - Gist doesn't exist: 404 GistNotFound - Gist is private and requesting user is not owner or is not visible to user: 404 GistNotFound - Gist exists and is visible to requesting user but comment doesn't exist: 404 CommentNotFound - Gist exists and is visible to requesting user is not comment owner : 401 UnauthorizedOperation |
||
---|---|---|
.. | ||
account | ||
tests | ||
auth.rs | ||
gists.rs | ||
meta.rs | ||
mod.rs | ||
routes.rs |