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
: Recommendation: Use [v3 Issue Search API](/v3/search/#search-issues) instead.
49
+
50
+
Recommendation: Use [v3 Issue Search API](/v3/search/#search-issues) instead.
49
51
50
52
1. Method: /legacy/repos/search/:keyword
51
-
: Recommendation: Use [v3 Repository Search API](/v3/search/#search-repositories) instead.
53
+
54
+
Recommendation: Use [v3 Repository Search API](/v3/search/#search-repositories) instead.
52
55
53
56
1. Method: /legacy/user/search/:keyword
54
-
: Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
57
+
58
+
Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
55
59
56
60
1. Method: /legacy/user/email/:email
57
-
: Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
61
+
62
+
Recommendation: Use [v3 User Search API](/v3/search/#search-users) instead.
58
63
59
64
1. Method: /repos/:owner/:repo/hooks/:id/test
60
-
: Recommendation: Use **/repos/:owner/:repo/hooks/:id/tests** (plural) instead.
65
+
66
+
Recommendation: Use **/repos/:owner/:repo/hooks/:id/tests** (plural) instead.
61
67
62
68
1. Method: /teams/:id/members/:username
63
-
: 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/).
73
83
74
84
1. Rate Limit attribute: rate
75
-
: Recommendation: Use **resources["core"]** instead.
85
+
86
+
Recommendation: Use **resources["core"]** instead.
76
87
77
88
1. Repository attribute: forks
78
-
: Recommendation: Use **forks_count** instead.
89
+
90
+
Recommendation: Use **forks_count** instead.
79
91
80
92
1. Repository attribute: master_branch
81
-
: Recommendation: Use **default_branch** instead.
93
+
94
+
Recommendation: Use **default_branch** instead.
82
95
83
96
1. Repository attribute: open_issues
84
-
: Recommendation: Use **open_issues_count** instead.
97
+
98
+
Recommendation: Use **open_issues_count** instead.
85
99
86
100
1. Repository attribute: public
87
-
: Recommendation: When [creating a repository](/v3/repos/#create), use the
101
+
102
+
Recommendation: When [creating a repository](/v3/repos/#create), use the
88
103
**private** attribute to indicate whether the repository should be public or
89
104
private. Do not use the **public** attribute.
90
105
91
106
1. Repository attribute: watchers
92
-
: Recommendation: Use **watchers_count** instead.
107
+
108
+
Recommendation: Use **watchers_count** instead.
93
109
94
110
1. User attribute: bio
95
-
: Recommendation: Do not use this attribute. It is obsolete.
111
+
112
+
Recommendation: Do not use this attribute. It is obsolete.
96
113
97
114
1. User attribute: plan["collaborators"]
98
-
: Recommendation: Do not use this attribute. It is obsolete.
115
+
116
+
Recommendation: Do not use this attribute. It is obsolete.
99
117
100
118
1. User attribute: gravatar_id
101
-
: Recommendation: Use **avatar_url** instead.
119
+
120
+
Recommendation: Use **avatar_url** instead.
102
121
103
122
1. Feed attribute: current_user_organization_url
104
-
: Recommendation: Use **current_user_organization_urls** instead.
123
+
124
+
Recommendation: Use **current_user_organization_urls** instead.
105
125
106
126
1. Feed attribute: current_user_organization
107
-
: Recommendation: Use **current_user_organizations** instead.
127
+
128
+
Recommendation: Use **current_user_organizations** instead.
108
129
109
130
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.
0 commit comments