-- |
-- This module re-exports all request constructors and data definitions from
-- this package.
--
-- See "GitHub.Request" module for executing 'Request', in short
-- use @'github' request@, for example
--
-- @
-- 'github' 'userInfoForR'
-- :: 'AuthMethod' am => am -> 'Name' 'User' -> IO (Either 'Error' 'User')
-- @
--
-- The missing endpoints lists show which endpoints we know are missing, there
-- might be more.
module GitHub (
-- * Activity
-- | See
-- ** Events
-- | See
repositoryEventsR,
userEventsR,
-- ** Notifications
-- | See
getNotificationsR,
markNotificationAsReadR,
markAllNotificationsAsReadR,
-- ** Starring
-- | See
--
-- Missing endpoints:
--
-- * Check if you are starring a repository
stargazersForR,
reposStarredByR,
myStarredR,
myStarredAcceptStarR,
starRepoR,
unstarRepoR,
-- ** Watching
-- | See
--
-- Missing endpoints:
--
-- * Query a Repository Subscription
-- * Set a Repository Subscription
watchersForR,
reposWatchedByR,
unwatchRepoR,
-- * Gists
-- | See
--
-- 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,
gistR,
createGistR,
starGistR,
unstarGistR,
deleteGistR,
-- ** Comments
-- | See
--
-- Missing endpoints:
-- * Create a comment
-- * Edit a comment
-- * Delete a comment
commentsOnR,
gistCommentR,
-- * Git Data
-- | See
-- ** Blobs
-- | See
blobR,
-- ** Commits
-- | See
gitCommitR,
-- ** References
-- | See
referenceR,
referencesR,
createReferenceR,
deleteReferenceR,
namespacedReferencesR,
-- ** Trees
-- | See
treeR,
nestedTreeR,
-- * Issues
-- | See
--
currentUserIssuesR,
organizationIssuesR,
issueR,
issuesForRepoR,
createIssueR,
editIssueR,
-- ** Comments
-- | See
--
commentR,
commentsR,
createCommentR,
deleteCommentR,
editCommentR,
-- ** Events
-- | See
--
eventsForIssueR,
eventsForRepoR,
eventR,
-- ** Labels
-- | See
--
labelsOnRepoR,
labelR,
createLabelR,
updateLabelR,
deleteLabelR,
labelsOnIssueR,
addLabelsToIssueR,
removeLabelFromIssueR,
replaceAllLabelsForIssueR,
removeAllLabelsFromIssueR,
labelsOnMilestoneR,
-- ** Milestone
-- | See
--
milestonesR,
milestoneR,
createMilestoneR,
updateMilestoneR,
deleteMilestoneR,
-- * Organizations
-- | See
--
-- Missing endpoints:
--
-- * List your organizations
-- * List all organizations
-- * Edit an organization
publicOrganizationsForR,
publicOrganizationR,
organizationsR,
-- ** Members
-- | See
--
-- Missing endpoints: All except /Members List/ and /Check Membership/
membersOfR,
membersOfWithR,
isMemberOfR,
orgInvitationsR,
-- ** Outside Collaborators
-- | See
--
-- Missing endpoints: All except /Outside Collaborator List/
outsideCollaboratorsR,
-- ** Teams
-- | See
--
-- 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,
teamInfoForR,
createTeamForR,
editTeamR,
deleteTeamR,
listTeamMembersR,
listTeamReposR,
teamMembershipInfoForR,
addTeamMembershipForR,
deleteTeamMembershipForR,
listTeamsCurrentR,
-- * Pull Requests
-- | See
pullRequestsForR,
pullRequestR,
pullRequestPatchR,
pullRequestDiffR,
createPullRequestR,
updatePullRequestR,
pullRequestCommitsR,
pullRequestFilesR,
isPullRequestMergedR,
mergePullRequestR,
-- ** Review comments
-- | See
--
-- Missing endpoints:
--
-- * List comments in a repository
-- * Edit a comment
-- * Delete a comment
pullRequestCommentsR,
pullRequestCommentR,
createPullCommentR,
createPullCommentReplyR,
-- ** Pull request reviews
-- | See
--
-- Missing endpoints:
--
-- * Delete a pending review
-- * Create a pull request review
-- * Submit a pull request review
-- * Dismiss a pull request review
pullRequestReviewsR,
pullRequestReviewR,
pullRequestReviewCommentsR,
-- * Repositories
-- | See
--
-- Missing endpoints:
--
-- * List all public repositories
-- * List Teams
-- * Query Branch
-- * Enabling and disabling branch protection
currentUserReposR,
userReposR,
organizationReposR,
repositoryR,
contributorsR,
languagesForR,
tagsForR,
branchesForR,
-- ** Collaborators
-- | See
collaboratorsOnR,
collaboratorPermissionOnR,
isCollaboratorOnR,
addCollaboratorR,
-- ** Comments
-- | See
--
-- Missing endpoints:
--
-- * Create a commit comment
-- * Update a commit comment
-- * Delete a commit comment
commentsForR,
commitCommentsForR,
commitCommentForR,
-- ** Commits
-- | See
commitsForR,
commitsWithOptionsForR,
commitR,
diffR,
-- ** Contents
-- | See
contentsForR,
readmeForR,
archiveForR,
createFileR,
updateFileR,
deleteFileR,
-- ** Deploy Keys
-- | See
deployKeysForR,
deployKeyForR,
createRepoDeployKeyR,
deleteRepoDeployKeyR,
-- ** Deployments
-- | See
--
-- Missing endpoints:
-- * Get a single deployment
-- * Update a deployment
-- * Get a single deployment status
deploymentsWithOptionsForR,
createDeploymentR,
deploymentStatusesForR,
createDeploymentStatusR,
-- ** Forks
-- | See
--
-- Missing endpoints:
--
-- * Create a fork
forksForR,
-- ** Statuses
-- | See
createStatusR,
statusesForR,
statusForR,
-- ** Webhooks
-- | See
webhooksForR,
webhookForR,
createRepoWebhookR,
editRepoWebhookR,
testPushRepoWebhookR,
pingRepoWebhookR,
deleteRepoWebhookR,
-- * Releases
releasesR,
releaseR,
latestReleaseR,
releaseByTagNameR,
-- ** Invitations
-- | See
-- Missing endpoints:
-- * Delete a repository invitation
-- * Update a repository invitation
-- * Decline a repository invitation
listInvitationsOnR,
acceptInvitationFromR,
listInvitationsForR,
-- * Search
-- | See
searchReposR,
searchCodeR,
searchIssuesR,
searchUsersR,
-- * Users
-- | See
--
-- Missing endpoints:
--
-- * Update the authenticated user
-- * Query all users
userInfoForR,
ownerInfoForR,
userInfoCurrentR,
-- ** Emails
-- | See
--
-- Missing endpoints:
--
-- * Add email address(es)
-- * Delete email address(es)
-- * Toggle primary email visibility
currentUserEmailsR,
currentUserPublicEmailsR,
-- ** Followers
-- | See
--
-- Missing endpoints:
--
-- * Check if you are following a user
-- * Check if one user follows another
-- * Follow a user
-- * Unfollow a user
usersFollowingR,
usersFollowedByR,
-- ** Git SSH Keys
-- | See
publicSSHKeysR,
publicSSHKeysForR,
publicSSHKeyR,
createUserPublicSSHKeyR,
deleteUserPublicSSHKeyR,
-- ** Rate Limit
-- | See
rateLimitR,
-- ** Actions - artifacts
-- | See
artifactsForR,
artifactR,
deleteArtifactR,
downloadArtifactR,
artifactsForWorkflowRunR,
-- ** Actions - cache
-- | See
cacheUsageOrganizationR,
cacheUsageByRepositoryR,
cacheUsageR,
cachesForRepoR,
deleteCacheR,
-- ** Actions - secrets
-- | See
organizationSecretsR,
organizationPublicKeyR,
organizationSecretR,
setOrganizationSecretR,
deleteOrganizationSecretR,
organizationSelectedRepositoriesForSecretR,
setOrganizationSelectedRepositoriesForSecretR,
addOrganizationSelectedRepositoriesForSecretR,
removeOrganizationSelectedRepositoriesForSecretR,
repoSecretsR,
repoPublicKeyR,
repoSecretR,
setRepoSecretR,
deleteRepoSecretR,
environmentSecretsR,
environmentPublicKeyR,
environmentSecretR,
setEnvironmentSecretR,
deleteEnvironmentSecretR,
-- ** Actions - workflow jobs
-- | See
jobR,
downloadJobLogsR,
jobsForWorkflowRunAttemptR,
jobsForWorkflowRunR,
-- ** Actions - workflow runs
-- | See
reRunJobR,
workflowRunsR,
workflowRunR,
deleteWorkflowRunR,
workflowRunReviewHistoryR,
approveWorkflowRunR,
workflowRunAttemptR,
downloadWorkflowRunAttemptLogsR,
cancelWorkflowRunR,
downloadWorkflowRunLogsR,
deleteWorkflowRunLogsR,
reRunWorkflowR,
reRunFailedJobsR,
workflowRunsForWorkflowR,
-- ** Actions - workflows
-- | See
repositoryWorkflowsR,
workflowR,
disableWorkflowR,
triggerWorkflowR,
enableWorkflowR,
-- * Data definitions
module GitHub.Data,
-- * Request handling
module GitHub.Request,
) where
import GitHub.Data
import GitHub.Endpoints.Actions.Artifacts
import GitHub.Endpoints.Actions.Cache
import GitHub.Endpoints.Actions.Secrets
import GitHub.Endpoints.Actions.WorkflowJobs
import GitHub.Endpoints.Actions.WorkflowRuns
import GitHub.Endpoints.Actions.Workflows
import GitHub.Endpoints.Activity.Events
import GitHub.Endpoints.Activity.Notifications
import GitHub.Endpoints.Activity.Starring
import GitHub.Endpoints.Activity.Watching
import GitHub.Endpoints.Gists
import GitHub.Endpoints.Gists.Comments
import GitHub.Endpoints.GitData.Blobs
import GitHub.Endpoints.GitData.Commits
import GitHub.Endpoints.GitData.References
import GitHub.Endpoints.GitData.Trees
import GitHub.Endpoints.Issues
import GitHub.Endpoints.Issues.Comments
import GitHub.Endpoints.Issues.Events
import GitHub.Endpoints.Issues.Labels
import GitHub.Endpoints.Issues.Milestones
import GitHub.Endpoints.Organizations
import GitHub.Endpoints.Organizations.Members
import GitHub.Endpoints.Organizations.OutsideCollaborators
import GitHub.Endpoints.Organizations.Teams
import GitHub.Endpoints.PullRequests
import GitHub.Endpoints.PullRequests.Comments
import GitHub.Endpoints.PullRequests.Reviews
import GitHub.Endpoints.RateLimit
import GitHub.Endpoints.Repos
import GitHub.Endpoints.Repos.Collaborators
import GitHub.Endpoints.Repos.Comments
import GitHub.Endpoints.Repos.Commits
import GitHub.Endpoints.Repos.Contents
import GitHub.Endpoints.Repos.DeployKeys
import GitHub.Endpoints.Repos.Deployments
import GitHub.Endpoints.Repos.Forks
import GitHub.Endpoints.Repos.Invitations
import GitHub.Endpoints.Repos.Releases
import GitHub.Endpoints.Repos.Statuses
import GitHub.Endpoints.Repos.Webhooks
import GitHub.Endpoints.Search
import GitHub.Endpoints.Users
import GitHub.Endpoints.Users.Emails
import GitHub.Endpoints.Users.Followers
import GitHub.Endpoints.Users.PublicSSHKeys
import GitHub.Request