Safe Haskell | None |
---|---|
Language | Haskell2010 |
GitHub.Endpoints.Reactions
Description
The Reactions API as described at https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28.
Synopsis
- issueReactionsR :: forall (k :: RW). Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector Reaction)
- createIssueReactionR :: Name Owner -> Name Repo -> Id Issue -> ReactionContent -> Request 'RW Reaction
- deleteIssueReactionR :: Name Owner -> Name Repo -> Id Issue -> Id Reaction -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- commentReactionsR :: forall (k :: RW). Name Owner -> Name Repo -> Id Comment -> FetchCount -> Request k (Vector Reaction)
- createCommentReactionR :: Name Owner -> Name Repo -> Id Comment -> ReactionContent -> Request 'RW Reaction
- deleteCommentReactionR :: Name Owner -> Name Repo -> Id Comment -> Id Reaction -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- module GitHub.Data
Documentation
issueReactionsR :: forall (k :: RW). Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector Reaction) Source #
List reactions for an issue. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#list-reactions-for-an-issue
createIssueReactionR :: Name Owner -> Name Repo -> Id Issue -> ReactionContent -> Request 'RW Reaction Source #
Create reaction for an issue comment. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#create-reaction-for-an-issue
deleteIssueReactionR :: Name Owner -> Name Repo -> Id Issue -> Id Reaction -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
Delete an issue comment reaction. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#delete-an-issue-reaction
commentReactionsR :: forall (k :: RW). Name Owner -> Name Repo -> Id Comment -> FetchCount -> Request k (Vector Reaction) Source #
List reactions for an issue comment. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#list-reactions-for-an-issue-comment
createCommentReactionR :: Name Owner -> Name Repo -> Id Comment -> ReactionContent -> Request 'RW Reaction Source #
Create reaction for an issue comment. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#create-reaction-for-an-issue-comment
deleteCommentReactionR :: Name Owner -> Name Repo -> Id Comment -> Id Reaction -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
Delete an issue comment reaction. See https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#delete-an-issue-comment-reaction
module GitHub.Data