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.
: 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.
69
+
70
+
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.
64
71
65
72
1. Query parameters when POSTing to /repos/:owner/:repo/forks
66
-
: Recommendation: Use JSON to POST to this method instead.
73
+
74
+
Recommendation: Use JSON to POST to this method instead.
67
75
68
76
1. Query parameter value: Passing "watchers" as the value for the "sort" parameter in a GET request to /repos/:owner/:repo/forks
69
-
: Recommendation: Use**stargazers** as the value instead.
77
+
78
+
Recommendation: Use**stargazers** as the value instead.
70
79
71
80
1. Pull Request attribute: merge_commit_sha
72
-
: Recommendation:[Do not use this attribute](/changes/2013-04-25-deprecating-merge-commit-sha/).
81
+
82
+
Recommendation:[Do not use this attribute](/changes/2013-04-25-deprecating-merge-commit-sha/).
1. Pagination parameters`top` and`sha` for method: /repos/:owner/:repo/commits
110
-
: Recommendation: When fetching[the list of commits for a repository](/v3/repos/commits/#list-commits-on-a-repository)
131
+
132
+
Recommendation: When fetching[the list of commits for a repository](/v3/repos/commits/#list-commits-on-a-repository)
111
133
use the[standard`per_page` and`page` parameters](/v3/#pagination) for pagination, instead of`per_page`,
112
134
`top`, and`sha`.
113
135
114
136
1. Authorization attribute: token
115
-
: Recommendation: This attribute will return an empty string in the majority of
137
+
138
+
Recommendation: This attribute will return an empty string in the majority of
116
139
the Authorizations API responses. Please see
117
140
[the deprecation blog post](/changes/2015-04-20-authorizations-api-response-changes-are-now-in-effect/)
118
141
and the[Authorizations API deprecation notice](/v3/oauth_authorizations/#deprecation-notice)
119
142
for full details.
120
143
121
144
1. Team attribute: permission
122
-
: 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.
145
+
146
+
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.