You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
: Recommendation: Use [v3 Issue Search API](/v3/search/#search-issues) instead.
Recommendation: Use [v3 Issue Search API](/v3/search/#search-issues) instead.
1. Method: /legacy/repos/search/:keyword
: Recommendation: Use [v3 Repository Search API](/v3/search/#search-repositories) instead.
Recommendation: Use [v3 Repository Search API](/v3/search/#search-repositories) instead.
1. Method: /legacy/user/search/:keyword
: Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
1. Method: /legacy/user/email/:email
: Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
1. Method: /repos/:owner/:repo/hooks/:id/test
: Recommendation: Use **/repos/:owner/:repo/hooks/:id/tests** (plural) instead.
Recommendation: Use **/repos/:owner/:repo/hooks/:id/tests** (plural) instead.
1. Method: /teams/:id/members/:username
: Recommendation: Use [Get Team Membership](/v3/orgs/teams/#get-team-membership), [Add Team Membership](/v3/orgs/teams/#add-team-membership), and [Remove Team Membership](/v3/orgs/teams/#remove-team-membership) instead.
Recommendation: Use [Get Team Membership](/v3/orgs/teams/#get-team-membership), [Add Team Membership](/v3/orgs/teams/#add-team-membership), and [Remove Team Membership](/v3/orgs/teams/#remove-team-membership) instead.
1. Query parameters when POSTing to /repos/:owner/:repo/forks
: Recommendation: Use JSON to POST to this method instead.
Recommendation: Use JSON to POST to this method instead.
1. Query parameter value: Passing "watchers" as the value for the "sort" parameter in a GET request to /repos/:owner/:repo/forks
: Recommendation: Use **stargazers** as the value instead.
Recommendation: Use **stargazers** as the value instead.
1. Pull Request attribute: merge_commit_sha
: Recommendation: [Do not use this attribute](/changes/2013-04-25-deprecating-merge-commit-sha/).
Recommendation: [Do not use this attribute](/changes/2013-04-25-deprecating-merge-commit-sha/).
1. Rate Limit attribute: rate
: Recommendation: Use **resources["core"]** instead.
Recommendation: Use **resources["core"]** instead.
1. Repository attribute: forks
: Recommendation: Use **forks_count** instead.
Recommendation: Use **forks_count** instead.
1. Repository attribute: master_branch
: Recommendation: Use **default_branch** instead.
Recommendation: Use **default_branch** instead.
1. Repository attribute: open_issues
: Recommendation: Use **open_issues_count** instead.
Recommendation: Use **open_issues_count** instead.
1. Repository attribute: public
: Recommendation: When [creating a repository](/v3/repos/#create), use the
Recommendation: When [creating a repository](/v3/repos/#create), use the
**private** attribute to indicate whether the repository should be public or
private. Do not use the **public** attribute.
1. Repository attribute: watchers
: Recommendation: Use **watchers_count** instead.
Recommendation: Use **watchers_count** instead.
1. User attribute: bio
: Recommendation: Do not use this attribute. It is obsolete.
Recommendation: Do not use this attribute. It is obsolete.
1. User attribute: plan["collaborators"]
: Recommendation: Do not use this attribute. It is obsolete.
Recommendation: Do not use this attribute. It is obsolete.
1. User attribute: gravatar_id
: Recommendation: Use **avatar_url** instead.
Recommendation: Use **avatar_url** instead.
1. Feed attribute: current_user_organization_url
: Recommendation: Use **current_user_organization_urls** instead.
Recommendation: Use **current_user_organization_urls** instead.
1. Feed attribute: current_user_organization
: Recommendation: Use **current_user_organizations** instead.
Recommendation: Use **current_user_organizations** instead.
1. Pagination parameters `top` and `sha` for method: /repos/:owner/:repo/commits
: Recommendation: When fetching [the list of commits for a repository](/v3/repos/commits/#list-commits-on-a-repository)
Recommendation: When fetching [the list of commits for a repository](/v3/repos/commits/#list-commits-on-a-repository)
use the [standard `per_page` and `page` parameters](/v3/#pagination) for pagination, instead of `per_page`,
`top`, and `sha`.
1. Authorization attribute: token
: Recommendation: This attribute will return an empty string in the majority of
Recommendation: This attribute will return an empty string in the majority of
the Authorizations API responses. Please see
[the deprecation blog post](/changes/2015-04-20-authorizations-api-response-changes-are-now-in-effect/)
and the [Authorizations API deprecation notice](/v3/oauth_authorizations/#deprecation-notice)
for full details.
1. Team attribute: permission
: Recommendation: This attribute no longer dictates the permission a team has on its repositories; it only dictates the default permission that the [Add team repository](/v3/orgs/teams/#add-team-repository) API will use for requests where no `permission` attribute is specified. To change the permission level for every repository on a team, use the [List team repositories](/v3/orgs/teams/#list-team-repos) API to list all of the team's repositories, and then use the [Add team repository](/v3/orgs/teams/#add-team-repository) with a `permission` attribute to update each repository's permission separately.
Recommendation: This attribute no longer dictates the permission a team has on its repositories; it only dictates the default permission that the [Add team repository](/v3/orgs/teams/#add-team-repository) API will use for requests where no `permission` attribute is specified. To change the permission level for every repository on a team, use the [List team repositories](/v3/orgs/teams/#list-team-repos) API to list all of the team's repositories, and then use the [Add team repository](/v3/orgs/teams/#add-team-repository) with a `permission` attribute to update each repository's permission separately.
<a id="beta">
Expand Down
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.