github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.All

Contents

Description

This module re-exports all request constructrors and data definitions from this package.

The missing endpoints lists are exhausive, they indicate endpoints we know are missing.

Synopsis

Activity

Starring

See https://developer.github.com/v3/activity/starring/

Missing endpoints:

  • Check if you are starring a repository
  • Star a repository
  • Unstar a repository

myStarredR :: Maybe Count -> GithubRequest True (Vector Repo) Source

All the repos starred by the authenticated user.

Watching

See https://developer.github.com/v3/activity/

Missing endpoints:

  • Get a Repository Subscription
  • Set a Repository Subscription
  • Delete a Repository Subscription

Gists

See https://developer.github.com/v3/gists/

Missing endpoints:

  • Get a specific revision of a gist
  • Create a gist
  • Edit a gist
  • List gist commits
  • Star a gist
  • Unstar a gist
  • Check if a gist is starred
  • Fork a gist
  • List gist forks
  • Delete a gist

Comments

See https://developer.github.com/v3/gists/comments/

Missing endpoints: * Create a comment * Edit a comment * Delete a comment

Git Data

Blobs

Commits

References

Trees

Issues

See https://developer.github.com/v3/issues/

Missing endpoints:

  • List issues

Comments

See https://developer.github.com/v3/issues/comments/

Missing endpoints:

  • Delete comment

Events

Labels

replaceAllLabelsForIssueR :: Foldable f => Name GithubOwner -> Name Repo -> Id Issue -> f (Name IssueLabel) -> GithubRequest True (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.

Milestone

See https://developer.github.com/v3/issues/milestones/

Missing endpoints:

  • Create a milestone
  • Update a milestone
  • Delete a milestone

Organizations

See https://developer.github.com/v3/orgs/

Missing endpoints:

  • List your organizations
  • List all organizations
  • Edit an organization

Members

See https://developer.github.com/v3/orgs/members/

Missing endpoints: All except Members List

Teams

See https://developer.github.com/v3/orgs/teams/

Missing endpoints:

  • List team members
  • Get team member (deprecated)
  • Add team member (deprecated)
  • Remove team member (deprecated)
  • List team repos
  • Check if a team manages a repository
  • Add team repository
  • Remove team repository

Pull Requests

Review comments

See https://developer.github.com/v3/pulls/comments/

Missing endpoints:

  • List comments in a repository
  • Create a comment
  • Edit a comment
  • Delete a comment

Repositories

See https://developer.github.com/v3/repos/

Missing endpoints:

  • List all public repositories
  • List Teams
  • Get Branch
  • Enabling and disabling branch protection

Collaborators

isCollaboratorOnR Source

Arguments

:: Name GithubOwner

Repository owner

-> Name Repo

Repository name

-> Name GithubOwner

Collaborator?

-> GithubRequest k Status 

Comments

See https://developer.github.com/v3/repos/comments/

Missing endpoints:

  • Create a commit comment
  • Update a commit comment
  • Delete a commit comment

Commits

Forks

See https://developer.github.com/v3/repos/forks/

Missing endpoints:

  • Create a fork

Webhooks

Search

See https://developer.github.com/v3/search/

Missing endpoints:

  • Search users

Users

See https://developer.github.com/v3/users/

Missing endpoints:

  • Update the authenticated user
  • Get all users

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

Data definitions