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
Copy file name to clipboardExpand all lines: content/v3/gists.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The API will return a 401 "Bad credentials" response if the gists scope was give
19
19
20
20
List a user's gists:
21
21
22
-
GET /users/:user/gists
22
+
GET /users/:username/gists
23
23
24
24
List the authenticated user's gists or if called anonymously, this will
25
25
return all public gists:
@@ -78,7 +78,7 @@ The keys in the `files` hash are the `string` filename, and the value is another
78
78
79
79
<divclass="alert">
80
80
<p>
81
-
<strong>Note</strong>: Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
81
+
<strong>Note</strong>: Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
Copy file name to clipboardExpand all lines: content/v3/orgs/teams.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ In order to create a team, the authenticated user must be an owner of
38
38
39
39
### Parameters
40
40
41
-
Name | Type | Description
41
+
Name | Type | Description
42
42
-----|------|--------------
43
43
`name`|`string` | **Required**. The name of the team.
44
44
`repo_names`|`array` of `strings` | The repositories to add the team to.
@@ -65,7 +65,7 @@ the org that the team is associated with.
65
65
66
66
### Parameters
67
67
68
-
Name | Type | Description
68
+
Name | Type | Description
69
69
-----|------|--------------
70
70
`name`|`string` | **Required**. The name of the team.
71
71
`permission`|`string` | The permission to grant the team. Can be one of:<br/> * `pull` - team members can pull, but not push to or administer these repositories.<br/> * `push` - team members can pull and push, but not administer these repositories.<br/> * `admin` - team members can pull, push and administer these repositories. Default: `pull`
@@ -109,7 +109,7 @@ member of the team.
109
109
In order to get if a user is a member of a team, the authenticated user
110
110
must be a member of the team.
111
111
112
-
GET /teams/:id/members/:user
112
+
GET /teams/:id/members/:username
113
113
114
114
### Response if user is a member
115
115
@@ -125,7 +125,7 @@ In order to add a user to a team, the authenticated user must have
125
125
'admin' permissions to the team or be an owner of the org that the team
126
126
is associated with.
127
127
128
-
PUT /teams/:id/members/:user
128
+
PUT /teams/:id/members/:username
129
129
130
130
### Response
131
131
@@ -150,7 +150,7 @@ In order to remove a user from a team, the authenticated user must have
150
150
is associated with.
151
151
NOTE: This does not delete the user, it just remove them from the team.
0 commit comments