List Feeds. GitHub provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticating user.
List the authenticated user's gists or if called anonymously, this will return all public gists.
Listing available templates. List all templates available to pass as an option when creating a repository.
List issues. List all issues across all the authenticated user's visible repositories.
Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the start_page parameter.
List your notifications. List all notifications for the current user, grouped by repository.
Mark as read. Marking a notification as "read" removes it from the default view on GitHub.com.
Set a Thread Subscription. This lets you subscribe to a thread, or ignore it. Subscribing to a thread is unnecessary if the user is already subscribed to the repository. Ignoring a thread will mute all future notifications (until you comment or ge...
List issues. List all issues for a given organization for the authenticated user.
Members list. List all users who are members of an organization. A member is a user tha belongs to at least 1 team in the organization. If the authenticated user is also an owner of this organization then both concealed and public members will be ...
Remove a member. Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
Check if a user is, publicly or privately, a member of the organization.
Public members list. Members of an organization can choose to have their membership publicized or not.
Create a new repository for the authenticated user. OAuth users must supply repo scope.
Create team. In order to create a team, the authenticated user must be an owner of organization.
Get your current rate limit status Note: Accessing this endpoint does not count against your rate limit.
List all public repositories. This provides a dump of every public repository, in the order that they were created. Note: Pagination is powered exclusively by the since parameter. is the Link header to get the URL for the next page of repositories.
Delete a Repository. Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.
Get archive link. This method will return a 302 to a URL to download a tarball or zipball archive for a repository. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location header to make a second...
List assignees. This call lists all the available assignees (owner + collaborators) to which issues may be assigned.
Check assignee. You may also check to see if a particular user is an assignee for a repository.
List. When authenticating as an organization owner of an organization-owned repository, all organization owners are included in the list of collaborators. Otherwise, only users with access to the repository are returned in the collaborators list.
List commit comments for a repository. Comments are ordered by ascending ID.
Get the combined Status for a specific Ref The Combined status endpoint is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access th...
List comments for a single commitList comments for a single commit.
Delete a file. This method deletes a file in a repository.
Get contents. This method returns the contents of a file or directory in a repository. Files and symlinks support a custom media type for getting the raw content. Directories and submodules do not support custom media types. Note: This API support...
Users with pull access can view deployments for a repository
Users with push access can create a deployment for a given ref
Users with pull access can view deployment statuses for a deployment
Create a Deployment Status Users with push access can create deployment statuses for a given deployment:
Create a fork. Forking a Repository happens asynchronously. Therefore, you may have to wai a short period before accessing the git objects. If this takes longer than 5 minutes, be sure to contact Support.
Get a Blob. Since blobs can be any arbitrary binary data, the input and responses for the blob API takes an encoding parameter that can be either utf-8 or base64. If your data cannot be losslessly sent as a UTF-8 string, you can base64 encode it.
Delete a Reference Example: Deleting a branch: DELETE /repos/octocat/Hello-World/git/refs/heads/feature-a Example: Deleting a tag: DELETE /repos/octocat/Hello-World/git/refs/tags/v1.0
Create a Tag Object. Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then create the refs/tags/[tag] refer...
Create a Tree. The tree creation API will take nested entries as well. If both a tree and a nested path modifying that tree are specified, it will overwrite the contents of that tree with the new path contents and write a new tree out.
Test a push hook. This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook is not subscribed to push events, the server will respond with 204 but no test POST will be generated...
Create an issue. Any user with pull access to a repository can create an issue.
Edit an issue. Issue owners and users with push access can edit an issue.
Replace all labels for an issue. Sending an empty array () will remove all Labels from the Issue.
List languages. List languages for the specified repository. The value on the right of a language is the number of bytes of code written in that language.
List your notifications in a repository List all notifications for the current user.
Mark notifications as read in a repository. Marking all notifications in a repository as "read" removes them from the default view on GitHub.com.
List comments in a repository. By default, Review Comments are ordered by ascending ID.
Create a comment. #TODO Alternative input ( http://developer.github.com/v3/pulls/comments/ ) description: | Alternative Input. Instead of passing commit_id, path, and position you can reply to an existing Pull Request Comment like ...
Get the README. This method returns the preferred README for a repository.
Users with push access to the repository will receive all releases (i.e., published releases and draft releases). Users with pull access will receive published releases only
Create a release Users with push access to the repository can create a release.
Edit a release asset Users with push access to the repository can edit a release asset.
Users with push access to the repository can delete a release.
Get the number of additions and deletions per week. Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
Get the last year of commit activity data. Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.
Get contributors list with additions, deletions, and commit counts.
Get the weekly commit count for the repo owner and everyone else.
Get the number of commits per hour in each day. Each array contains the day number, hour number, and number of commits 0-6 Sunday - Saturday 0-23 Hour of day Number of commits For example, [2, 14, 25] indicates that there were 25 total commits, d...
Find issues by state and keyword. (This method returns up to 100 results per page.)
Delete team. In order to delete a team, the authenticated user must be an owner of the org that the team is associated with.
Edit team. In order to edit a team, the authenticated user must be an owner of the org that the team is associated with.
List team members. In order to list members in a team, the authenticated user must be a member of the team.
Remove team membership. In order to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. NOTE: This does not delete the...
Get team membership. In order to get a user's membership with a team, the authenticated user must be a member of the team or an owner of the team's organization.
Add team membership. In order to add a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. If the user is already a part of th...
The "Remove team member" API is deprecated and is scheduled for removal in the next major version of the API. We recommend using the Remove team membership API instead. It allows you to remove both active and pending memberships. Remove team memb...
The "Get team member" API is deprecated and is scheduled for removal in the next major version of the API. We recommend using the Get team membership API instead. It allows you to get both active and pending memberships. Get team member. In order...
The API (described below) is deprecated and is scheduled for removal in the next major version of the API. We recommend using the Add team membership API instead. It allows you to invite new organization members to your teams. Add team member. In...
In order to add a repository to a team, the authenticated user must be an owner of the org that the team is associated with. Also, the repository must be owned by the organization, or a direct fork of a repository owned by the organization.
In order to remove a repository from a team, the authenticated user must be an owner of the org that the team is associated with. NOTE: This does not delete the repository, it just removes it from the team.
Delete email address(es). You can include a single email address or an array of addresses.
List email addresses for a user. In the final version of the API, this method will return an array of hashes with extended information for each email address indicating if the address has been verified and if it's primary email address for GitHub....
Add email address(es). You can post a single email address or an array of addresses.
Unfollow a user. Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the user:follow scope.
Follow a user. Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the user:follow scope.
List issues. List all issues across owned and member repositories for the authenticated user.
List your public keys. Lists the current user's keys. Management of public keys via the API requires that you are authenticated through basic auth, or OAuth with the 'user', 'write:public_key' scopes.
Delete a public key. Removes a public key. Requires that you are authenticated via Basic Auth or via OAuth with at least admin:public_key scope.
List repositories for the authenticated user. Note that this does not include repositories owned by organizations which the user can access. You can lis user organizations and list organization repositories separately.
Create a new repository for the authenticated user. OAuth users must supply repo scope.
Get all users. This provides a dump of every user, in the order that they signed up for GitHub. Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.
If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
This is the user's organization dashboard. You must be authenticated as the user to view this.
List public keys for a user. Lists the verified public keys for a user. This is accessible by anyone.