Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module re-exports all request constructors and data definitions from this package.
See GitHub.Request module for executing Request
, in short
use
, for examplegithub
request
github
userInfoForR
::AuthMethod
am => am ->Name
User
-> IO (EitherError
User
)
The missing endpoints lists show which endpoints we know are missing, there might be more.
Synopsis
- repositoryEventsR :: Name Owner -> Name Repo -> FetchCount -> Request 'RO (Vector Event)
- userEventsR :: Name User -> FetchCount -> Request 'RO (Vector Event)
- getNotificationsR :: FetchCount -> Request 'RA (Vector Notification)
- markNotificationAsReadR :: Id Notification -> GenRequest 'MtUnit 'RW ()
- markAllNotificationsAsReadR :: GenRequest 'MtUnit 'RW ()
- stargazersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- reposStarredByR :: Name Owner -> FetchCount -> Request k (Vector Repo)
- myStarredR :: FetchCount -> Request 'RA (Vector Repo)
- myStarredAcceptStarR :: FetchCount -> GenRequest 'MtStar 'RA (Vector RepoStarred)
- starRepoR :: Name Owner -> Name Repo -> GenRequest 'MtUnit 'RW ()
- unstarRepoR :: Name Owner -> Name Repo -> GenRequest 'MtUnit 'RW ()
- watchersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- reposWatchedByR :: Name Owner -> FetchCount -> Request k (Vector Repo)
- unwatchRepoR :: Name Owner -> Name Repo -> Request 'RW ()
- gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist)
- gistR :: Name Gist -> Request k Gist
- createGistR :: NewGist -> Request 'RW Gist
- starGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- unstarGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- deleteGistR :: Name Gist -> GenRequest 'MtUnit 'RW ()
- commentsOnR :: Name Gist -> FetchCount -> Request k (Vector GistComment)
- gistCommentR :: Id GistComment -> Request k GistComment
- blobR :: Name Owner -> Name Repo -> Name Blob -> Request k Blob
- gitCommitR :: Name Owner -> Name Repo -> Name GitCommit -> Request k GitCommit
- referenceR :: Name Owner -> Name Repo -> Name GitReference -> Request k GitReference
- referencesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference)
- createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request 'RW GitReference
- deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest 'MtUnit 'RW ()
- namespacedReferencesR :: Name Owner -> Name Repo -> Text -> Request k [GitReference]
- treeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree
- nestedTreeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree
- currentUserIssuesR :: IssueMod -> FetchCount -> Request 'RA (Vector Issue)
- organizationIssuesR :: Name Organization -> IssueMod -> FetchCount -> Request k (Vector Issue)
- issueR :: Name Owner -> Name Repo -> IssueNumber -> Request k Issue
- issuesForRepoR :: Name Owner -> Name Repo -> IssueRepoMod -> FetchCount -> Request k (Vector Issue)
- createIssueR :: Name Owner -> Name Repo -> NewIssue -> Request 'RW Issue
- editIssueR :: Name Owner -> Name Repo -> IssueNumber -> EditIssue -> Request 'RW Issue
- commentR :: Name Owner -> Name Repo -> Id Comment -> Request k IssueComment
- commentsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector IssueComment)
- createCommentR :: Name Owner -> Name Repo -> IssueNumber -> Text -> Request 'RW Comment
- deleteCommentR :: Name Owner -> Name Repo -> Id Comment -> GenRequest 'MtUnit 'RW ()
- editCommentR :: Name Owner -> Name Repo -> Id Comment -> Text -> Request 'RW Comment
- eventsForIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueEvent)
- eventsForRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueEvent)
- eventR :: Name Owner -> Name Repo -> Id IssueEvent -> Request k IssueEvent
- labelsOnRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueLabel)
- labelR :: Name Owner -> Name Repo -> Name IssueLabel -> Request k IssueLabel
- createLabelR :: Name Owner -> Name Repo -> NewIssueLabel -> Request 'RW IssueLabel
- updateLabelR :: Name Owner -> Name Repo -> Name IssueLabel -> UpdateIssueLabel -> Request 'RW IssueLabel
- deleteLabelR :: Name Owner -> Name Repo -> Name IssueLabel -> GenRequest 'MtUnit 'RW ()
- labelsOnIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueLabel)
- addLabelsToIssueR :: Foldable f => Name Owner -> Name Repo -> Id Issue -> f (Name IssueLabel) -> Request 'RW (Vector IssueLabel)
- removeLabelFromIssueR :: Name Owner -> Name Repo -> Id Issue -> Name IssueLabel -> GenRequest 'MtUnit 'RW ()
- replaceAllLabelsForIssueR :: Foldable f => Name Owner -> Name Repo -> Id Issue -> f (Name IssueLabel) -> Request 'RW (Vector IssueLabel)
- removeAllLabelsFromIssueR :: Name Owner -> Name Repo -> Id Issue -> GenRequest 'MtUnit 'RW ()
- labelsOnMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> FetchCount -> Request k (Vector IssueLabel)
- milestonesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Milestone)
- milestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request k Milestone
- createMilestoneR :: Name Owner -> Name Repo -> NewMilestone -> Request 'RW Milestone
- updateMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> Request 'RW Milestone
- deleteMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> GenRequest 'MtUnit 'RW ()
- publicOrganizationsForR :: Name User -> FetchCount -> Request k (Vector SimpleOrganization)
- publicOrganizationR :: Name Organization -> Request k Organization
- organizationsR :: FetchCount -> Request k (Vector SimpleOrganization)
- membersOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser)
- membersOfWithR :: Name Organization -> OrgMemberFilter -> OrgMemberRole -> FetchCount -> Request k (Vector SimpleUser)
- isMemberOfR :: Name User -> Name Organization -> GenRequest 'MtStatus rw Bool
- orgInvitationsR :: Name Organization -> FetchCount -> Request 'RA (Vector Invitation)
- outsideCollaboratorsR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser)
- teamsOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleTeam)
- teamInfoForR :: Id Team -> Request k Team
- createTeamForR :: Name Organization -> CreateTeam -> Request 'RW Team
- editTeamR :: Id Team -> EditTeam -> Request 'RW Team
- deleteTeamR :: Id Team -> GenRequest 'MtUnit 'RW ()
- listTeamMembersR :: Id Team -> TeamMemberRole -> FetchCount -> Request 'RA (Vector SimpleUser)
- listTeamReposR :: Id Team -> FetchCount -> Request k (Vector Repo)
- teamMembershipInfoForR :: Id Team -> Name Owner -> Request k TeamMembership
- addTeamMembershipForR :: Id Team -> Name Owner -> Role -> Request 'RW TeamMembership
- deleteTeamMembershipForR :: Id Team -> Name Owner -> GenRequest 'MtUnit 'RW ()
- listTeamsCurrentR :: FetchCount -> Request 'RA (Vector Team)
- pullRequestsForR :: Name Owner -> Name Repo -> PullRequestMod -> FetchCount -> Request k (Vector SimplePullRequest)
- pullRequestR :: Name Owner -> Name Repo -> IssueNumber -> Request k PullRequest
- pullRequestPatchR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtPatch rw ByteString
- pullRequestDiffR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtDiff rw ByteString
- createPullRequestR :: Name Owner -> Name Repo -> CreatePullRequest -> Request 'RW PullRequest
- updatePullRequestR :: Name Owner -> Name Repo -> IssueNumber -> EditPullRequest -> Request 'RW PullRequest
- pullRequestCommitsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Commit)
- pullRequestFilesR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector File)
- isPullRequestMergedR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtStatus rw Bool
- mergePullRequestR :: Name Owner -> Name Repo -> IssueNumber -> Maybe Text -> GenRequest 'MtStatus 'RW MergeResult
- pullRequestCommentsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Comment)
- pullRequestCommentR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment
- createPullCommentR :: Name Owner -> Name Repo -> IssueNumber -> Text -> Text -> Int -> Text -> Request 'RW Comment
- createPullCommentReplyR :: Name Owner -> Name Repo -> IssueNumber -> Id Comment -> Text -> Request 'RW Comment
- pullRequestReviewsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Review)
- pullRequestReviewR :: Name Owner -> Name Repo -> IssueNumber -> Id Review -> Request k Review
- pullRequestReviewCommentsR :: Name Owner -> Name Repo -> IssueNumber -> Id Review -> Request k [ReviewComment]
- currentUserReposR :: RepoPublicity -> FetchCount -> Request k (Vector Repo)
- userReposR :: Name Owner -> RepoPublicity -> FetchCount -> Request k (Vector Repo)
- organizationReposR :: Name Organization -> RepoPublicity -> FetchCount -> Request k (Vector Repo)
- repositoryR :: Name Owner -> Name Repo -> Request k Repo
- contributorsR :: Name Owner -> Name Repo -> Bool -> FetchCount -> Request k (Vector Contributor)
- languagesForR :: Name Owner -> Name Repo -> Request k Languages
- tagsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Tag)
- branchesForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Branch)
- collaboratorsOnR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- collaboratorPermissionOnR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtJSON rw CollaboratorWithPermission
- isCollaboratorOnR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtStatus rw Bool
- addCollaboratorR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtJSON 'RW (Maybe RepoInvitation)
- commentsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Comment)
- commitCommentsForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request k (Vector Comment)
- commitCommentForR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment
- commitsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Commit)
- commitsWithOptionsForR :: Name Owner -> Name Repo -> FetchCount -> [CommitQueryOption] -> Request k (Vector Commit)
- commitR :: Name Owner -> Name Repo -> Name Commit -> Request k Commit
- diffR :: Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff
- contentsForR :: Name Owner -> Name Repo -> Text -> Maybe Text -> Request k Content
- readmeForR :: Name Owner -> Name Repo -> Request k Content
- archiveForR :: Name Owner -> Name Repo -> ArchiveFormat -> Maybe Text -> GenRequest 'MtRedirect rw URI
- createFileR :: Name Owner -> Name Repo -> CreateFile -> Request 'RW ContentResult
- updateFileR :: Name Owner -> Name Repo -> UpdateFile -> Request 'RW ContentResult
- deleteFileR :: Name Owner -> Name Repo -> DeleteFile -> GenRequest 'MtUnit 'RW ()
- deployKeysForR :: Name Owner -> Name Repo -> FetchCount -> Request 'RA (Vector RepoDeployKey)
- deployKeyForR :: Name Owner -> Name Repo -> Id RepoDeployKey -> Request 'RA RepoDeployKey
- createRepoDeployKeyR :: Name Owner -> Name Repo -> NewRepoDeployKey -> Request 'RW RepoDeployKey
- deleteRepoDeployKeyR :: Name Owner -> Name Repo -> Id RepoDeployKey -> GenRequest 'MtUnit 'RW ()
- deploymentsWithOptionsForR :: FromJSON a => Name Owner -> Name Repo -> FetchCount -> [DeploymentQueryOption] -> Request 'RA (Vector (Deployment a))
- createDeploymentR :: (ToJSON a, FromJSON a) => Name Owner -> Name Repo -> CreateDeployment a -> Request 'RW (Deployment a)
- deploymentStatusesForR :: Name Owner -> Name Repo -> Id (Deployment a) -> FetchCount -> Request 'RA (Vector DeploymentStatus)
- createDeploymentStatusR :: Name Owner -> Name Repo -> Id (Deployment a) -> CreateDeploymentStatus -> Request 'RW DeploymentStatus
- forksForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Repo)
- createStatusR :: Name Owner -> Name Repo -> Name Commit -> NewStatus -> Request 'RW Status
- statusesForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request 'RW (Vector Status)
- statusForR :: Name Owner -> Name Repo -> Name Commit -> Request 'RW CombinedStatus
- webhooksForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector RepoWebhook)
- webhookForR :: Name Owner -> Name Repo -> Id RepoWebhook -> Request k RepoWebhook
- createRepoWebhookR :: Name Owner -> Name Repo -> NewRepoWebhook -> Request 'RW RepoWebhook
- editRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> EditRepoWebhook -> Request 'RW RepoWebhook
- testPushRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtStatus 'RW Bool
- pingRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtStatus 'RW Bool
- deleteRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtUnit 'RW ()
- releasesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Release)
- releaseR :: Name Owner -> Name Repo -> Id Release -> Request k Release
- latestReleaseR :: Name Owner -> Name Repo -> Request k Release
- releaseByTagNameR :: Name Owner -> Name Repo -> Text -> Request k Release
- listInvitationsOnR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON k (Vector RepoInvitation)
- acceptInvitationFromR :: Id RepoInvitation -> GenRequest 'MtUnit 'RW ()
- listInvitationsForR :: FetchCount -> Request k (Vector RepoInvitation)
- searchReposR :: Text -> FetchCount -> Request k (SearchResult Repo)
- searchCodeR :: Text -> FetchCount -> Request k (SearchResult Code)
- searchIssuesR :: Text -> FetchCount -> Request k (SearchResult Issue)
- searchUsersR :: Text -> FetchCount -> Request k (SearchResult SimpleUser)
- userInfoForR :: Name User -> Request k User
- ownerInfoForR :: Name Owner -> Request k Owner
- userInfoCurrentR :: Request 'RA User
- currentUserEmailsR :: FetchCount -> Request 'RA (Vector Email)
- currentUserPublicEmailsR :: FetchCount -> Request 'RA (Vector Email)
- usersFollowingR :: Name User -> FetchCount -> Request k (Vector SimpleUser)
- usersFollowedByR :: Name User -> FetchCount -> Request k (Vector SimpleUser)
- publicSSHKeysR :: Request 'RA (Vector PublicSSHKey)
- publicSSHKeysForR :: Name Owner -> FetchCount -> Request 'RO (Vector PublicSSHKeyBasic)
- publicSSHKeyR :: Id PublicSSHKey -> Request 'RA PublicSSHKey
- createUserPublicSSHKeyR :: NewPublicSSHKey -> Request 'RW PublicSSHKey
- deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest 'MtUnit 'RW ()
- rateLimitR :: Request k RateLimit
- artifactsForR :: Name Owner -> Name Repo -> ArtifactMod -> FetchCount -> Request 'RA (WithTotalCount Artifact)
- artifactR :: Name Owner -> Name Repo -> Id Artifact -> Request 'RA Artifact
- deleteArtifactR :: Name Owner -> Name Repo -> Id Comment -> GenRequest 'MtUnit 'RW ()
- downloadArtifactR :: Name Owner -> Name Repo -> Id Artifact -> GenRequest 'MtRedirect 'RW URI
- artifactsForWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> FetchCount -> Request 'RA (WithTotalCount Artifact)
- cacheUsageOrganizationR :: Name Organization -> GenRequest 'MtJSON 'RA OrganizationCacheUsage
- cacheUsageByRepositoryR :: Name Organization -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepositoryCacheUsage)
- cacheUsageR :: Name Owner -> Name Repo -> Request k RepositoryCacheUsage
- cachesForRepoR :: Name Owner -> Name Repo -> CacheMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Cache)
- deleteCacheR :: Name Owner -> Name Repo -> Id Cache -> GenRequest 'MtUnit 'RW ()
- organizationSecretsR :: Name Organization -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount OrganizationSecret)
- organizationPublicKeyR :: Name Organization -> GenRequest 'MtJSON 'RA PublicKey
- organizationSecretR :: Name Organization -> Name OrganizationSecret -> GenRequest 'MtJSON 'RA OrganizationSecret
- setOrganizationSecretR :: Name Organization -> Name OrganizationSecret -> SetSecret -> GenRequest 'MtUnit 'RW ()
- deleteOrganizationSecretR :: Name Organization -> Name OrganizationSecret -> GenRequest 'MtUnit 'RW ()
- organizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount SelectedRepo)
- setOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> SetSelectedRepositories -> GenRequest 'MtUnit 'RW ()
- addOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> Id Repo -> GenRequest 'MtUnit 'RW ()
- removeOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> Id Repo -> GenRequest 'MtUnit 'RW ()
- repoSecretsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepoSecret)
- repoPublicKeyR :: Name Owner -> Name Organization -> GenRequest 'MtJSON 'RA PublicKey
- repoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> GenRequest 'MtJSON 'RA RepoSecret
- setRepoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> SetRepoSecret -> GenRequest 'MtUnit 'RW ()
- deleteRepoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> GenRequest 'MtUnit 'RW ()
- environmentSecretsR :: Id Repo -> Name Environment -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepoSecret)
- environmentPublicKeyR :: Id Repo -> Name Environment -> GenRequest 'MtJSON 'RA PublicKey
- environmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> GenRequest 'MtJSON 'RA RepoSecret
- setEnvironmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> SetRepoSecret -> GenRequest 'MtUnit 'RW ()
- deleteEnvironmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> GenRequest 'MtUnit 'RW ()
- jobR :: Name Owner -> Name Repo -> Id Job -> Request 'RA Job
- downloadJobLogsR :: Name Owner -> Name Repo -> Id Job -> GenRequest 'MtRedirect 'RO URI
- jobsForWorkflowRunAttemptR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Job)
- jobsForWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Job)
- reRunJobR :: Name Owner -> Name Repo -> Id Job -> GenRequest 'MtUnit 'RW ()
- workflowRunsR :: Name Owner -> Name Repo -> WorkflowRunMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount WorkflowRun)
- workflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtJSON 'RA WorkflowRun
- deleteWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- workflowRunReviewHistoryR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtJSON 'RA (Vector ReviewHistory)
- approveWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- workflowRunAttemptR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> GenRequest 'MtJSON 'RA WorkflowRun
- downloadWorkflowRunAttemptLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> GenRequest 'MtRedirect 'RO URI
- cancelWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- downloadWorkflowRunLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtRedirect 'RA URI
- deleteWorkflowRunLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- reRunWorkflowR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- reRunFailedJobsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW ()
- workflowRunsForWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> WorkflowRunMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount WorkflowRun)
- repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Workflow)
- workflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtJSON 'RA Workflow
- disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW ()
- triggerWorkflowR :: (ToJSON a, IsPathPart idOrName) => Name Owner -> Name Repo -> idOrName -> CreateWorkflowDispatchEvent a -> GenRequest 'MtUnit 'RW ()
- enableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW ()
- module GitHub.Data
- module GitHub.Request
Activity
Events
repositoryEventsR :: Name Owner -> Name Repo -> FetchCount -> Request 'RO (Vector Event) Source #
List repository events. See https://developer.github.com/v3/activity/events/#list-repository-events
userEventsR :: Name User -> FetchCount -> Request 'RO (Vector Event) Source #
List user public events. See https://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user
Notifications
getNotificationsR :: FetchCount -> Request 'RA (Vector Notification) Source #
List your notifications. See https://developer.github.com/v3/activity/notifications/#list-your-notifications
markNotificationAsReadR :: Id Notification -> GenRequest 'MtUnit 'RW () Source #
Mark a thread as read. See https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read
markAllNotificationsAsReadR :: GenRequest 'MtUnit 'RW () Source #
Mark as read. See https://developer.github.com/v3/activity/notifications/#mark-as-read
Starring
See https://developer.github.com/v3/activity/starring/
Missing endpoints:
- Check if you are starring a repository
stargazersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List Stargazers. See https://developer.github.com/v3/activity/starring/#list-stargazers
reposStarredByR :: Name Owner -> FetchCount -> Request k (Vector Repo) Source #
List repositories being starred. See https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
myStarredR :: FetchCount -> Request 'RA (Vector Repo) Source #
All the repos starred by the authenticated user. See https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
myStarredAcceptStarR :: FetchCount -> GenRequest 'MtStar 'RA (Vector RepoStarred) Source #
All the repos starred by the authenticated user. See https://developer.github.com/v3/activity/starring/#alternative-response-with-star-creation-timestamps-1
starRepoR :: Name Owner -> Name Repo -> GenRequest 'MtUnit 'RW () Source #
Star a repo by the authenticated user. See https://developer.github.com/v3/activity/starring/#star-a-repository
unstarRepoR :: Name Owner -> Name Repo -> GenRequest 'MtUnit 'RW () Source #
Unstar a repo by the authenticated user. See https://developer.github.com/v3/activity/starring/#unstar-a-repository
Watching
See https://developer.github.com/v3/activity/
Missing endpoints:
- Query a Repository Subscription
- Set a Repository Subscription
watchersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List watchers. See https://developer.github.com/v3/activity/watching/#list-watchers
reposWatchedByR :: Name Owner -> FetchCount -> Request k (Vector Repo) Source #
List repositories being watched. See https://developer.github.com/v3/activity/watching/#list-repositories-being-watched
unwatchRepoR :: Name Owner -> Name Repo -> Request 'RW () Source #
Stop watching repository. See https://docs.github.com/en/rest/reference/activity#delete-a-repository-subscription
Gists
See https://developer.github.com/v3/gists/
Missing endpoints:
- Query a specific revision of a gist
- Edit a gist
- List gist commits
- Check if a gist is starred
- Fork a gist
- List gist forks
gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist) Source #
List gists. See https://developer.github.com/v3/gists/#list-gists
gistR :: Name Gist -> Request k Gist Source #
Query a single gist. See https://developer.github.com/v3/gists/#get-a-single-gist
createGistR :: NewGist -> Request 'RW Gist Source #
Create a new gist See https://docs.github.com/rest/reference/gists#create-a-gist
starGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Star a gist by the authenticated user. See https://developer.github.com/v3/gists/#star-a-gist
unstarGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Unstar a gist by the authenticated user. See https://developer.github.com/v3/gists/#unstar-a-gist
deleteGistR :: Name Gist -> GenRequest 'MtUnit 'RW () Source #
Delete a gist by the authenticated user. See https://developer.github.com/v3/gists/#delete-a-gist
Comments
See https://developer.github.com/v3/gists/comments/
Missing endpoints: * Create a comment * Edit a comment * Delete a comment
commentsOnR :: Name Gist -> FetchCount -> Request k (Vector GistComment) Source #
List comments on a gist. See https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist
gistCommentR :: Id GistComment -> Request k GistComment Source #
Query a single comment. See https://developer.github.com/v3/gists/comments/#get-a-single-comment
Git Data
Blobs
blobR :: Name Owner -> Name Repo -> Name Blob -> Request k Blob Source #
Query a blob. See https://developer.github.com/v3/git/blobs/#get-a-blob
Commits
gitCommitR :: Name Owner -> Name Repo -> Name GitCommit -> Request k GitCommit Source #
Query a commit. See https://developer.github.com/v3/git/commits/#get-a-commit
References
referenceR :: Name Owner -> Name Repo -> Name GitReference -> Request k GitReference Source #
A single reference -- | Query a reference. See https://developer.github.com/v3/git/refs/#get-a-reference
referencesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference) Source #
Query all References. See https://developer.github.com/v3/git/refs/#get-all-references
createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request 'RW GitReference Source #
Create a reference. See https://developer.github.com/v3/git/refs/#create-a-reference
deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest 'MtUnit 'RW () Source #
Delete a reference. See https://developer.github.com/v3/git/refs/#delete-a-reference
namespacedReferencesR :: Name Owner -> Name Repo -> Text -> Request k [GitReference] Source #
Query namespaced references. See https://developer.github.com/v3/git/refs/#get-all-references
Trees
treeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree Source #
Query a Tree. See https://developer.github.com/v3/git/trees/#get-a-tree
nestedTreeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree Source #
Query a Tree Recursively. See https://developer.github.com/v3/git/trees/#get-a-tree-recursively
Issues
currentUserIssuesR :: IssueMod -> FetchCount -> Request 'RA (Vector Issue) Source #
organizationIssuesR :: Name Organization -> IssueMod -> FetchCount -> Request k (Vector Issue) Source #
issueR :: Name Owner -> Name Repo -> IssueNumber -> Request k Issue Source #
Query a single issue. See https://developer.github.com/v3/issues/#get-a-single-issue
issuesForRepoR :: Name Owner -> Name Repo -> IssueRepoMod -> FetchCount -> Request k (Vector Issue) Source #
List issues for a repository. See https://developer.github.com/v3/issues/#list-issues-for-a-repository
createIssueR :: Name Owner -> Name Repo -> NewIssue -> Request 'RW Issue Source #
Create an issue. See https://developer.github.com/v3/issues/#create-an-issue
editIssueR :: Name Owner -> Name Repo -> IssueNumber -> EditIssue -> Request 'RW Issue Source #
Edit an issue. See https://developer.github.com/v3/issues/#edit-an-issue
Comments
commentR :: Name Owner -> Name Repo -> Id Comment -> Request k IssueComment Source #
Query a single comment. See https://developer.github.com/v3/issues/comments/#get-a-single-comment
commentsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector IssueComment) Source #
List comments on an issue. See https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
createCommentR :: Name Owner -> Name Repo -> IssueNumber -> Text -> Request 'RW Comment Source #
Create a comment. See https://developer.github.com/v3/issues/comments/#create-a-comment
deleteCommentR :: Name Owner -> Name Repo -> Id Comment -> GenRequest 'MtUnit 'RW () Source #
Delete a comment. See https://developer.github.com/v3/issues/comments/#delete-a-comment
editCommentR :: Name Owner -> Name Repo -> Id Comment -> Text -> Request 'RW Comment Source #
Edit a comment. See https://developer.github.com/v3/issues/comments/#edit-a-comment
Events
eventsForIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueEvent) Source #
List events for an issue. See https://developer.github.com/v3/issues/events/#list-events-for-an-issue
eventsForRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueEvent) Source #
List events for a repository. See https://developer.github.com/v3/issues/events/#list-events-for-a-repository
eventR :: Name Owner -> Name Repo -> Id IssueEvent -> Request k IssueEvent Source #
Query a single event. See https://developer.github.com/v3/issues/events/#get-a-single-event
Labels
labelsOnRepoR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector IssueLabel) Source #
List all labels for this repository. See https://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository
labelR :: Name Owner -> Name Repo -> Name IssueLabel -> Request k IssueLabel Source #
Query a single label. See https://developer.github.com/v3/issues/labels/#get-a-single-label
createLabelR :: Name Owner -> Name Repo -> NewIssueLabel -> Request 'RW IssueLabel Source #
Create a label. See https://developer.github.com/v3/issues/labels/#create-a-label
:: Name Owner | |
-> Name Repo | |
-> Name IssueLabel | old label name |
-> UpdateIssueLabel | new label |
-> Request 'RW IssueLabel |
Update a label. See https://developer.github.com/v3/issues/labels/#update-a-label
deleteLabelR :: Name Owner -> Name Repo -> Name IssueLabel -> GenRequest 'MtUnit 'RW () Source #
Delete a label. See https://developer.github.com/v3/issues/labels/#delete-a-label
labelsOnIssueR :: Name Owner -> Name Repo -> Id Issue -> FetchCount -> Request k (Vector IssueLabel) Source #
List labels on an issue. See https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue
addLabelsToIssueR :: Foldable f => Name Owner -> Name Repo -> Id Issue -> f (Name IssueLabel) -> Request 'RW (Vector IssueLabel) Source #
Add lables to an issue. See https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue
removeLabelFromIssueR :: Name Owner -> Name Repo -> Id Issue -> Name IssueLabel -> GenRequest 'MtUnit 'RW () Source #
Remove a label from an issue. See https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
replaceAllLabelsForIssueR :: Foldable f => Name Owner -> Name Repo -> Id Issue -> f (Name IssueLabel) -> Request 'RW (Vector IssueLabel) Source #
Replace all labels on an issue. See https://developer.github.com/v3/issues/labels/#replace-all-labels-for-an-issue
Sending an empty list will remove all labels from the issue.
removeAllLabelsFromIssueR :: Name Owner -> Name Repo -> Id Issue -> GenRequest 'MtUnit 'RW () Source #
Remove all labels from an issue. See https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue
labelsOnMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> FetchCount -> Request k (Vector IssueLabel) Source #
Query labels for every issue in a milestone. See https://developer.github.com/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone
Milestone
milestonesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Milestone) Source #
List milestones for a repository. See https://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository
milestoneR :: Name Owner -> Name Repo -> Id Milestone -> Request k Milestone Source #
Query a single milestone. See https://developer.github.com/v3/issues/milestones/#get-a-single-milestone
createMilestoneR :: Name Owner -> Name Repo -> NewMilestone -> Request 'RW Milestone Source #
Create a milestone. See https://developer.github.com/v3/issues/milestones/#create-a-milestone
updateMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> UpdateMilestone -> Request 'RW Milestone Source #
Update a milestone. See https://developer.github.com/v3/issues/milestones/#update-a-milestone
deleteMilestoneR :: Name Owner -> Name Repo -> Id Milestone -> GenRequest 'MtUnit 'RW () Source #
Delete a milestone. See https://developer.github.com/v3/issues/milestones/#delete-a-milestone
Organizations
See https://developer.github.com/v3/orgs/
Missing endpoints:
- List your organizations
- List all organizations
- Edit an organization
publicOrganizationsForR :: Name User -> FetchCount -> Request k (Vector SimpleOrganization) Source #
List public user organizations. See https://developer.github.com/v3/orgs/#list-user-organizations
publicOrganizationR :: Name Organization -> Request k Organization Source #
Query an organization. See https://developer.github.com/v3/orgs/#get-an-organization
organizationsR :: FetchCount -> Request k (Vector SimpleOrganization) Source #
List all user organizations. See https://developer.github.com/v3/orgs/#list-your-organizations
Members
See https://developer.github.com/v3/orgs/members/
Missing endpoints: All except Members List and Check Membership
membersOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser) Source #
All the users who are members of the specified organization.
See https://developer.github.com/v3/orgs/members/#members-list
membersOfWithR :: Name Organization -> OrgMemberFilter -> OrgMemberRole -> FetchCount -> Request k (Vector SimpleUser) Source #
membersOfR
with filters.
See https://developer.github.com/v3/orgs/members/#members-list
isMemberOfR :: Name User -> Name Organization -> GenRequest 'MtStatus rw Bool Source #
Check if a user is a member of an organization.
See https://developer.github.com/v3/orgs/members/#check-membership
orgInvitationsR :: Name Organization -> FetchCount -> Request 'RA (Vector Invitation) Source #
List pending organization invitations
See https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations
Outside Collaborators
See https://developer.github.com/v3/orgs/outside_collaborators/
Missing endpoints: All except Outside Collaborator List
outsideCollaboratorsR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser) Source #
All the users who are outside collaborators of the specified organization.
See https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators
Teams
See https://developer.github.com/v3/orgs/teams/
Missing endpoints:
- Query team member (deprecated)
- Add team member (deprecated)
- Remove team member (deprecated)
- Check if a team manages a repository
- Add team repository
- Remove team repository
teamsOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleTeam) Source #
List teams. See https://developer.github.com/v3/orgs/teams/#list-teams
teamInfoForR :: Id Team -> Request k Team Source #
Query team. See https://developer.github.com/v3/orgs/teams/#get-team
createTeamForR :: Name Organization -> CreateTeam -> Request 'RW Team Source #
Create team. See https://developer.github.com/v3/orgs/teams/#create-team
editTeamR :: Id Team -> EditTeam -> Request 'RW Team Source #
Edit team. See https://developer.github.com/v3/orgs/teams/#edit-team
deleteTeamR :: Id Team -> GenRequest 'MtUnit 'RW () Source #
listTeamMembersR :: Id Team -> TeamMemberRole -> FetchCount -> Request 'RA (Vector SimpleUser) Source #
List team members.
See https://developer.github.com/v3/orgs/teams/#list-team-members
listTeamReposR :: Id Team -> FetchCount -> Request k (Vector Repo) Source #
Query team repositories. See https://developer.github.com/v3/orgs/teams/#list-team-repos
teamMembershipInfoForR :: Id Team -> Name Owner -> Request k TeamMembership Source #
Query team membership. See <https://developer.github.com/v3/orgs/teams/#get-team-membership
addTeamMembershipForR :: Id Team -> Name Owner -> Role -> Request 'RW TeamMembership Source #
Add team membership. See https://developer.github.com/v3/orgs/teams/#add-team-membership
deleteTeamMembershipForR :: Id Team -> Name Owner -> GenRequest 'MtUnit 'RW () Source #
Remove team membership. See https://developer.github.com/v3/orgs/teams/#remove-team-membership
listTeamsCurrentR :: FetchCount -> Request 'RA (Vector Team) Source #
List user teams. See https://developer.github.com/v3/orgs/teams/#list-user-teams
Pull Requests
pullRequestsForR :: Name Owner -> Name Repo -> PullRequestMod -> FetchCount -> Request k (Vector SimplePullRequest) Source #
List pull requests. See https://developer.github.com/v3/pulls/#list-pull-requests
pullRequestR :: Name Owner -> Name Repo -> IssueNumber -> Request k PullRequest Source #
Query a single pull request. See https://developer.github.com/v3/pulls/#get-a-single-pull-request
pullRequestPatchR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtPatch rw ByteString Source #
Query a single pull request to obtain the patch See https://developer.github.com/v3/pulls/#get-a-single-pull-request
pullRequestDiffR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtDiff rw ByteString Source #
Query a single pull request to obtain the diff See https://developer.github.com/v3/pulls/#get-a-single-pull-request
createPullRequestR :: Name Owner -> Name Repo -> CreatePullRequest -> Request 'RW PullRequest Source #
Create a pull request. See https://developer.github.com/v3/pulls/#create-a-pull-request
updatePullRequestR :: Name Owner -> Name Repo -> IssueNumber -> EditPullRequest -> Request 'RW PullRequest Source #
Update a pull request. See https://developer.github.com/v3/pulls/#update-a-pull-request
pullRequestCommitsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Commit) Source #
List commits on a pull request. See https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
pullRequestFilesR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector File) Source #
List pull requests files. See https://developer.github.com/v3/pulls/#list-pull-requests-files
isPullRequestMergedR :: Name Owner -> Name Repo -> IssueNumber -> GenRequest 'MtStatus rw Bool Source #
Query if a pull request has been merged. See https://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
mergePullRequestR :: Name Owner -> Name Repo -> IssueNumber -> Maybe Text -> GenRequest 'MtStatus 'RW MergeResult Source #
Merge a pull request (Merge Button). https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button
Review comments
See https://developer.github.com/v3/pulls/comments/
Missing endpoints:
- List comments in a repository
- Edit a comment
- Delete a comment
pullRequestCommentsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Comment) Source #
List comments on a pull request. See https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
pullRequestCommentR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment Source #
Query a single comment. See https://developer.github.com/v3/pulls/comments/#get-a-single-comment
createPullCommentR :: Name Owner -> Name Repo -> IssueNumber -> Text -> Text -> Int -> Text -> Request 'RW Comment Source #
Create a comment.
See https://developer.github.com/v3/pulls/comments/#create-a-comment
createPullCommentReplyR :: Name Owner -> Name Repo -> IssueNumber -> Id Comment -> Text -> Request 'RW Comment Source #
Create a comment reply.
See https://developer.github.com/v3/pulls/comments/#create-a-review-comment-reply
Pull request reviews
See https://developer.github.com/v3/pulls/reviews/
Missing endpoints:
- Delete a pending review
- Create a pull request review
- Submit a pull request review
- Dismiss a pull request review
pullRequestReviewsR :: Name Owner -> Name Repo -> IssueNumber -> FetchCount -> Request k (Vector Review) Source #
List reviews for a pull request. See https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request
pullRequestReviewR :: Name Owner -> Name Repo -> IssueNumber -> Id Review -> Request k Review Source #
Query a single pull request review. see https://developer.github.com/v3/pulls/reviews/#get-a-single-review
pullRequestReviewCommentsR :: Name Owner -> Name Repo -> IssueNumber -> Id Review -> Request k [ReviewComment] Source #
Query the comments for a single pull request review. see https://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review
Repositories
See https://developer.github.com/v3/repos/
Missing endpoints:
- List all public repositories
- List Teams
- Query Branch
- Enabling and disabling branch protection
currentUserReposR :: RepoPublicity -> FetchCount -> Request k (Vector Repo) Source #
List your repositories. See https://docs.github.com/en/rest/reference/repos#list-repositories-for-the-authenticated-user
userReposR :: Name Owner -> RepoPublicity -> FetchCount -> Request k (Vector Repo) Source #
List user repositories. See https://docs.github.com/en/rest/reference/repos#list-repositories-for-a-user
organizationReposR :: Name Organization -> RepoPublicity -> FetchCount -> Request k (Vector Repo) Source #
List organization repositories. See https://docs.github.com/en/rest/reference/repos#list-organization-repositories
repositoryR :: Name Owner -> Name Repo -> Request k Repo Source #
Query single repository. See https://developer.github.com/v3/repos/#get
:: Name Owner | |
-> Name Repo | |
-> Bool | Include anonymous |
-> FetchCount | |
-> Request k (Vector Contributor) |
List contributors. See https://developer.github.com/v3/repos/#list-contributors
languagesForR :: Name Owner -> Name Repo -> Request k Languages Source #
List languages. See https://developer.github.com/v3/repos/#list-languages
tagsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Tag) Source #
List tags. See https://developer.github.com/v3/repos/#list-tags
branchesForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Branch) Source #
List branches. See https://developer.github.com/v3/repos/#list-branches
Collaborators
collaboratorsOnR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List collaborators. See https://developer.github.com/v3/repos/collaborators/#list-collaborators
collaboratorPermissionOnR Source #
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator to check permissions of. |
-> GenRequest 'MtJSON rw CollaboratorWithPermission |
Review a user's permission level. https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator? |
-> GenRequest 'MtStatus rw Bool |
Check if a user is a collaborator. See https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator to add |
-> GenRequest 'MtJSON 'RW (Maybe RepoInvitation) |
Invite a user as a collaborator. See https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator
Comments
See https://developer.github.com/v3/repos/comments/
Missing endpoints:
- Create a commit comment
- Update a commit comment
- Delete a commit comment
commentsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Comment) Source #
List commit comments for a repository. See https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository
commitCommentsForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request k (Vector Comment) Source #
List comments for a single commit. See https://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit
commitCommentForR :: Name Owner -> Name Repo -> Id Comment -> Request k Comment Source #
Query a single commit comment. See https://developer.github.com/v3/repos/comments/#get-a-single-commit-comment
Commits
commitsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Commit) Source #
List commits on a repository. See https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
commitsWithOptionsForR :: Name Owner -> Name Repo -> FetchCount -> [CommitQueryOption] -> Request k (Vector Commit) Source #
List commits on a repository. See https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
commitR :: Name Owner -> Name Repo -> Name Commit -> Request k Commit Source #
Query a single commit. See https://developer.github.com/v3/repos/commits/#get-a-single-commit
diffR :: Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff Source #
Compare two commits. See https://developer.github.com/v3/repos/commits/#compare-two-commits
Contents
:: Name Owner | |
-> Name Repo | |
-> ArchiveFormat | The type of archive to retrieve |
-> Maybe Text | Git commit |
-> GenRequest 'MtRedirect rw URI |
Get archive link. See https://developer.github.com/v3/repos/contents/#get-archive-link
createFileR :: Name Owner -> Name Repo -> CreateFile -> Request 'RW ContentResult Source #
Create a file. See https://developer.github.com/v3/repos/contents/#create-a-file
updateFileR :: Name Owner -> Name Repo -> UpdateFile -> Request 'RW ContentResult Source #
Update a file. See https://developer.github.com/v3/repos/contents/#update-a-file
deleteFileR :: Name Owner -> Name Repo -> DeleteFile -> GenRequest 'MtUnit 'RW () Source #
Delete a file. See https://developer.github.com/v3/repos/contents/#delete-a-file
Deploy Keys
deployKeysForR :: Name Owner -> Name Repo -> FetchCount -> Request 'RA (Vector RepoDeployKey) Source #
Querying deploy keys. See https://developer.github.com/v3/repos/keys/#list-deploy-keys
deployKeyForR :: Name Owner -> Name Repo -> Id RepoDeployKey -> Request 'RA RepoDeployKey Source #
Querying a deploy key. See https://developer.github.com/v3/repos/keys/#get-a-deploy-key
createRepoDeployKeyR :: Name Owner -> Name Repo -> NewRepoDeployKey -> Request 'RW RepoDeployKey Source #
Create a deploy key. See https://developer.github.com/v3/repos/keys/#add-a-new-deploy-key.
deleteRepoDeployKeyR :: Name Owner -> Name Repo -> Id RepoDeployKey -> GenRequest 'MtUnit 'RW () Source #
Delete a deploy key. See https://developer.github.com/v3/repos/keys/#remove-a-deploy-key
Deployments
See https://developer.github.com/v3/repos/deployments/#deployments
Missing endpoints: * Get a single deployment * Update a deployment * Get a single deployment status
deploymentsWithOptionsForR :: FromJSON a => Name Owner -> Name Repo -> FetchCount -> [DeploymentQueryOption] -> Request 'RA (Vector (Deployment a)) Source #
List deployments. See https://developer.github.com/v3/repos/deployments/#list-deployments
createDeploymentR :: (ToJSON a, FromJSON a) => Name Owner -> Name Repo -> CreateDeployment a -> Request 'RW (Deployment a) Source #
Create a deployment. See https://developer.github.com/v3/repos/deployments/#create-a-deployment
deploymentStatusesForR :: Name Owner -> Name Repo -> Id (Deployment a) -> FetchCount -> Request 'RA (Vector DeploymentStatus) Source #
List deployment statuses. See https://developer.github.com/v3/repos/deployments/#list-deployment-statuses
createDeploymentStatusR :: Name Owner -> Name Repo -> Id (Deployment a) -> CreateDeploymentStatus -> Request 'RW DeploymentStatus Source #
Create a deployment status. See https://developer.github.com/v3/repos/deployments/#list-deployment-statuses
Forks
forksForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Repo) Source #
List forks. See https://developer.github.com/v3/repos/forks/#list-forks
Statuses
createStatusR :: Name Owner -> Name Repo -> Name Commit -> NewStatus -> Request 'RW Status Source #
Create a new status See https://developer.github.com/v3/repos/statuses/#create-a-status
statusesForR :: Name Owner -> Name Repo -> Name Commit -> FetchCount -> Request 'RW (Vector Status) Source #
All statuses for a commit See https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
statusForR :: Name Owner -> Name Repo -> Name Commit -> Request 'RW CombinedStatus Source #
The combined status for a specific commit See https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
Webhooks
webhooksForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector RepoWebhook) Source #
List hooks. See https://developer.github.com/v3/repos/hooks/#list-hooks
webhookForR :: Name Owner -> Name Repo -> Id RepoWebhook -> Request k RepoWebhook Source #
createRepoWebhookR :: Name Owner -> Name Repo -> NewRepoWebhook -> Request 'RW RepoWebhook Source #
Create a hook. See https://developer.github.com/v3/repos/hooks/#create-a-hook
editRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> EditRepoWebhook -> Request 'RW RepoWebhook Source #
Edit a hook. See https://developer.github.com/v3/repos/hooks/#edit-a-hook
testPushRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtStatus 'RW Bool Source #
Test a push hook. See https://developer.github.com/v3/repos/hooks/#test-a-push-hook
pingRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtStatus 'RW Bool Source #
Ping a hook. See https://developer.github.com/v3/repos/hooks/#ping-a-hook
deleteRepoWebhookR :: Name Owner -> Name Repo -> Id RepoWebhook -> GenRequest 'MtUnit 'RW () Source #
Delete a hook. See https://developer.github.com/v3/repos/hooks/#delete-a-hook
Releases
releasesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Release) Source #
List releases for a repository. See https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository
releaseR :: Name Owner -> Name Repo -> Id Release -> Request k Release Source #
Get a single release. See https://developer.github.com/v3/repos/releases/#get-a-single-release
latestReleaseR :: Name Owner -> Name Repo -> Request k Release Source #
Get the latest release. See https://developer.github.com/v3/repos/releases/#get-the-latest-release
releaseByTagNameR :: Name Owner -> Name Repo -> Text -> Request k Release Source #
Get a release by tag name See https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name
Invitations
See https://developer.github.com/v3/repos/invitations/ Missing endpoints:
Delete a repository invitation
Update a repository invitation
Decline a repository invitation
listInvitationsOnR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON k (Vector RepoInvitation) Source #
List open invitations of a repository See https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository
acceptInvitationFromR :: Id RepoInvitation -> GenRequest 'MtUnit 'RW () Source #
Accept a repository invitation See https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation
listInvitationsForR :: FetchCount -> Request k (Vector RepoInvitation) Source #
List a user's repository invitations See https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations
Search
searchReposR :: Text -> FetchCount -> Request k (SearchResult Repo) Source #
Search repositories. See https://developer.github.com/v3/search/#search-repositories
searchCodeR :: Text -> FetchCount -> Request k (SearchResult Code) Source #
Search code. See https://developer.github.com/v3/search/#search-code
searchIssuesR :: Text -> FetchCount -> Request k (SearchResult Issue) Source #
Search issues. See https://developer.github.com/v3/search/#search-issues
searchUsersR :: Text -> FetchCount -> Request k (SearchResult SimpleUser) Source #
Search users. See https://developer.github.com/v3/search/#search-code
Users
See https://developer.github.com/v3/users/
Missing endpoints:
- Update the authenticated user
- Query all users
userInfoForR :: Name User -> Request k User Source #
Query a single user. See https://developer.github.com/v3/users/#get-a-single-user
>>>
github' userInfoForR "mike-burns"
or
>>>
github userInfoForR (OAuth "github-token") "mike-burns"
ownerInfoForR :: Name Owner -> Request k Owner Source #
Query a single user or an organization. See https://developer.github.com/v3/users/#get-a-single-user
userInfoCurrentR :: Request 'RA User Source #
Query the authenticated user. See https://developer.github.com/v3/users/#get-the-authenticated-user
Emails
See https://developer.github.com/v3/users/emails/
Missing endpoints:
- Add email address(es)
- Delete email address(es)
- Toggle primary email visibility
currentUserEmailsR :: FetchCount -> Request 'RA (Vector Email) Source #
List email addresses. See https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user
currentUserPublicEmailsR :: FetchCount -> Request 'RA (Vector Email) Source #
List public email addresses. See https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-a-user
Followers
See https://developer.github.com/v3/users/followers/
Missing endpoints:
- Check if you are following a user
- Check if one user follows another
- Follow a user
- Unfollow a user
usersFollowingR :: Name User -> FetchCount -> Request k (Vector SimpleUser) Source #
List followers of a user. See https://developer.github.com/v3/users/followers/#list-followers-of-a-user
usersFollowedByR :: Name User -> FetchCount -> Request k (Vector SimpleUser) Source #
List users followed by another user. See https://developer.github.com/v3/users/followers/#list-users-followed-by-another-user
Git SSH Keys
publicSSHKeysR :: Request 'RA (Vector PublicSSHKey) Source #
Querying the authenticated users' public SSH keys See https://developer.github.com/v3/users/keys/#list-your-public-keys
publicSSHKeysForR :: Name Owner -> FetchCount -> Request 'RO (Vector PublicSSHKeyBasic) Source #
Querying public SSH keys. See https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user
publicSSHKeyR :: Id PublicSSHKey -> Request 'RA PublicSSHKey Source #
Querying a public SSH key. See https://developer.github.com/v3/users/keys/#get-a-single-public-key
createUserPublicSSHKeyR :: NewPublicSSHKey -> Request 'RW PublicSSHKey Source #
Create a public SSH key. See https://developer.github.com/v3/users/keys/#create-a-public-key.
deleteUserPublicSSHKeyR :: Id PublicSSHKey -> GenRequest 'MtUnit 'RW () Source #
Delete a public SSH key. See https://developer.github.com/v3/users/keys/#delete-a-public-key
Rate Limit
rateLimitR :: Request k RateLimit Source #
Get your current rate limit status. https://developer.github.com/v3/rate_limit/#get-your-current-rate-limit-status
Actions - artifacts
artifactsForR :: Name Owner -> Name Repo -> ArtifactMod -> FetchCount -> Request 'RA (WithTotalCount Artifact) Source #
List artifacts for repository. See https://docs.github.com/en/rest/reference/actions#list-artifacts-for-a-repository
artifactR :: Name Owner -> Name Repo -> Id Artifact -> Request 'RA Artifact Source #
Get an artifact. See https://docs.github.com/en/rest/reference/actions#get-an-artifact
deleteArtifactR :: Name Owner -> Name Repo -> Id Comment -> GenRequest 'MtUnit 'RW () Source #
Delete an artifact. See https://docs.github.com/en/rest/reference/actions#delete-an-artifact
downloadArtifactR :: Name Owner -> Name Repo -> Id Artifact -> GenRequest 'MtRedirect 'RW URI Source #
Download an artifact. See https://docs.github.com/en/rest/reference/actions#download-an-artifact
artifactsForWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> FetchCount -> Request 'RA (WithTotalCount Artifact) Source #
List artifacts for a workflow run. See https://docs.github.com/en/rest/reference/actions#list-workflow-run-artifacts
Actions - cache
cacheUsageOrganizationR :: Name Organization -> GenRequest 'MtJSON 'RA OrganizationCacheUsage Source #
Get Actions cache usage for the organization. See https://docs.github.com/en/rest/actions/cache#get-github-actions-cache-usage-for-an-organization
cacheUsageByRepositoryR :: Name Organization -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepositoryCacheUsage) Source #
List repositories with GitHub Actions cache usage for an organization. See https://docs.github.com/en/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization
cacheUsageR :: Name Owner -> Name Repo -> Request k RepositoryCacheUsage Source #
Get GitHub Actions cache usage for a repository. See https://docs.github.com/en/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
cachesForRepoR :: Name Owner -> Name Repo -> CacheMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Cache) Source #
List the GitHub Actions caches for a repository. See https://docs.github.com/en/rest/actions/cache#list-github-actions-caches-for-a-repository
deleteCacheR :: Name Owner -> Name Repo -> Id Cache -> GenRequest 'MtUnit 'RW () Source #
Delete GitHub Actions cache for a repository. See https://docs.github.com/en/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
Actions - secrets
organizationSecretsR :: Name Organization -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount OrganizationSecret) Source #
List organization secrets. See https://docs.github.com/en/rest/actions/secrets#list-organization-secrets
organizationPublicKeyR :: Name Organization -> GenRequest 'MtJSON 'RA PublicKey Source #
List organization secrets. See https://docs.github.com/en/rest/actions/secrets#get-an-organization-public-key
organizationSecretR :: Name Organization -> Name OrganizationSecret -> GenRequest 'MtJSON 'RA OrganizationSecret Source #
Get an organization secret. See https://docs.github.com/en/rest/actions/secrets#get-an-organization-secret
setOrganizationSecretR :: Name Organization -> Name OrganizationSecret -> SetSecret -> GenRequest 'MtUnit 'RW () Source #
Create or update an organization secret. See https://docs.github.com/en/rest/actions/secrets#create-or-update-an-organization-secret
deleteOrganizationSecretR :: Name Organization -> Name OrganizationSecret -> GenRequest 'MtUnit 'RW () Source #
Delete an organization secret. See https://docs.github.com/en/rest/actions/secrets#delete-an-organization-secret
organizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount SelectedRepo) Source #
Get selected repositories for an organization secret. See https://docs.github.com/en/rest/actions/secrets#list-selected-repositories-for-an-organization-secret
setOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> SetSelectedRepositories -> GenRequest 'MtUnit 'RW () Source #
Set selected repositories for an organization secret. See https://docs.github.com/en/rest/actions/secrets#set-selected-repositories-for-an-organization-secret
addOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> Id Repo -> GenRequest 'MtUnit 'RW () Source #
Add selected repository to an organization secret. See https://docs.github.com/en/rest/actions/secrets#add-selected-repository-to-an-organization-secret
removeOrganizationSelectedRepositoriesForSecretR :: Name Organization -> Name OrganizationSecret -> Id Repo -> GenRequest 'MtUnit 'RW () Source #
Remove selected repository from an organization secret. See https://docs.github.com/en/rest/actions/secrets#remove-selected-repository-from-an-organization-secret
repoSecretsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepoSecret) Source #
List repository secrets. See https://docs.github.com/en/rest/actions/secrets#list-repository-secrets
repoPublicKeyR :: Name Owner -> Name Organization -> GenRequest 'MtJSON 'RA PublicKey Source #
Get a repository public key. See https://docs.github.com/en/rest/actions/secrets#get-a-repository-public-key
repoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> GenRequest 'MtJSON 'RA RepoSecret Source #
Get a repository secret. See https://docs.github.com/en/rest/actions/secrets#get-a-repository-secret
setRepoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> SetRepoSecret -> GenRequest 'MtUnit 'RW () Source #
Create or update a repository secret. See https://docs.github.com/en/rest/actions/secrets#create-or-update-a-repository-secret
deleteRepoSecretR :: Name Owner -> Name Organization -> Name RepoSecret -> GenRequest 'MtUnit 'RW () Source #
Delete a repository secret. See https://docs.github.com/en/rest/actions/secrets#delete-a-repository-secret
environmentSecretsR :: Id Repo -> Name Environment -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount RepoSecret) Source #
List environment secrets. See https://docs.github.com/en/rest/actions/secrets#list-environment-secrets
environmentPublicKeyR :: Id Repo -> Name Environment -> GenRequest 'MtJSON 'RA PublicKey Source #
Get an environment public key. See https://docs.github.com/en/rest/actions/secrets#get-an-environment-public-key
environmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> GenRequest 'MtJSON 'RA RepoSecret Source #
Get an environment secret See https://docs.github.com/en/rest/actions/secrets#get-an-environment-secret
setEnvironmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> SetRepoSecret -> GenRequest 'MtUnit 'RW () Source #
Create or update an environment secret. See https://docs.github.com/en/rest/actions/secrets#create-or-update-an-environment-secret
deleteEnvironmentSecretR :: Id Repo -> Name Environment -> Name RepoSecret -> GenRequest 'MtUnit 'RW () Source #
Delete an environment secret. See https://docs.github.com/en/rest/actions/secrets#delete-an-environment-secret
Actions - workflow jobs
jobR :: Name Owner -> Name Repo -> Id Job -> Request 'RA Job Source #
Get a job for a workflow run. See https://docs.github.com/en/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
downloadJobLogsR :: Name Owner -> Name Repo -> Id Job -> GenRequest 'MtRedirect 'RO URI Source #
Download job logs for a workflow run. See https://docs.github.com/en/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
jobsForWorkflowRunAttemptR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Job) Source #
List jobs for a workflow run attempt. See https://docs.github.com/en/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt
jobsForWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Job) Source #
List jobs for a workflow run. See https://docs.github.com/en/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
Actions - workflow runs
reRunJobR :: Name Owner -> Name Repo -> Id Job -> GenRequest 'MtUnit 'RW () Source #
Re-run a job from a workflow run. See https://docs.github.com/en/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
workflowRunsR :: Name Owner -> Name Repo -> WorkflowRunMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount WorkflowRun) Source #
List workflow runs for a repository. See https://docs.github.com/en/rest/actions/workflow-runs#list-workflow-runs-for-a-repository
workflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtJSON 'RA WorkflowRun Source #
Get a workflow run. See https://docs.github.com/en/rest/actions/workflow-runs#get-a-workflow-run
deleteWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Delete a workflow run. See https://docs.github.com/en/rest/actions/workflow-runs#delete-a-workflow-run
workflowRunReviewHistoryR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtJSON 'RA (Vector ReviewHistory) Source #
Get the review history for a workflow run. See https://docs.github.com/en/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run
approveWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Approve a workflow run for a fork pull request. See https://docs.github.com/en/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request
workflowRunAttemptR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> GenRequest 'MtJSON 'RA WorkflowRun Source #
Get a workflow run attempt. See https://docs.github.com/en/rest/actions/workflow-runs#get-a-workflow-run-attempt
downloadWorkflowRunAttemptLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> Id RunAttempt -> GenRequest 'MtRedirect 'RO URI Source #
Download workflow run attempt logs. See https://docs.github.com/en/rest/actions/workflow-runs#download-workflow-run-attempt-logs
cancelWorkflowRunR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Cancel a workflow run. See https://docs.github.com/en/rest/actions/workflow-runs#cancel-a-workflow-run
downloadWorkflowRunLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtRedirect 'RA URI Source #
Download workflow run logs. See https://docs.github.com/en/rest/actions/workflow-runs#download-workflow-run-logs
deleteWorkflowRunLogsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Delete workflow run logs. See https://docs.github.com/en/rest/actions/workflow-runs#delete-workflow-run-logs
reRunWorkflowR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Re-run a workflow. See https://docs.github.com/en/rest/actions/workflow-runs#re-run-a-workflow
reRunFailedJobsR :: Name Owner -> Name Repo -> Id WorkflowRun -> GenRequest 'MtUnit 'RW () Source #
Re-run failed jobs from a workflow run. See https://docs.github.com/en/rest/actions/re-run-failed-jobs-from-a-workflow-run
workflowRunsForWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> WorkflowRunMod -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount WorkflowRun) Source #
List workflow runs for a workflow. See https://docs.github.com/en/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow
Actions - workflows
repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Workflow) Source #
List repository workflows. See https://docs.github.com/en/rest/actions/workflows#list-repository-workflows
workflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtJSON 'RA Workflow Source #
Get a workflow. See https://docs.github.com/en/rest/actions/workflows#get-a-workflow
disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW () Source #
Disable a workflow. See https://docs.github.com/en/rest/actions/workflows#disable-a-workflow
triggerWorkflowR :: (ToJSON a, IsPathPart idOrName) => Name Owner -> Name Repo -> idOrName -> CreateWorkflowDispatchEvent a -> GenRequest 'MtUnit 'RW () Source #
Create a workflow dispatch event. See https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event
enableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW () Source #
Enable a workflow. See https://docs.github.com/en/rest/actions/workflows#enable-a-workflow
Data definitions
module GitHub.Data
Request handling
module GitHub.Request