More Issue-Comments API-endpoints #3624
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This implements Deletion of Issue-comments and Listing all issue-comments in a Repo
https://developer.github.com/v3/issues/comments/#delete-a-comment
https://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
Edit: Closes #3673
See gogs/go-gogs-client#48
Adds 2 new Endpoints:
List all issue-comments for a given Repository
Issue Comments are ordered by ascending ID.
Parameters
2006-01-02T15:04:05Z07:00Response
[ { "id": 74, "user": { "id": 1, "username": "unknwon", "full_name": "无闻", "email": "[email protected]", "avatar_url": "http://localhost:3000/avatars/1" }, "body": "what?", "created_at": "2016-08-26T11:58:18-07:00", "updated_at": "2016-08-26T11:58:18-07:00" } ]Delete a Issue-comment
Response