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.
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
Copy file name to clipboardExpand all lines: content/v3/orgs/teams.md
-24Lines changed: 0 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,6 @@ Name | Type | Description
46
46
`privacy`|`string`| The level of privacy this team should have. Can be one of:<br/> *`secret` - only visible to organization owners and members of this team.<br/> *`closed` - visible to all members of this organization.<br/>Default:`secret`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
47
47
`permission`|`string` |**Deprecated**. In the preview period described in the alert below, a team's`permission` attribute no longer dictates what permission it has on its repositories; it only dictates what permission the repositories in this request will be added with, and what permission a new repository will be added to the team with if none is specified by the user. Avoid confusion by specifying a`permission` when using the[Add team repository](/v3/orgs/teams/#add-team-repo) API instead.<br/><br/>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.<br/>Default:`pull`
48
48
49
-
{{#not-enterprise}}
50
-
51
49
<divclass="alert">
52
50
<p>
53
51
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -63,8 +61,6 @@ Name | Type | Description
63
61
</p>
64
62
</div>
65
63
66
-
{{/not-enterprise}}
67
-
68
64
####Example
69
65
70
66
<%= json\
@@ -93,8 +89,6 @@ Name | Type | Description
93
89
`privacy`|`string`| The level of privacy this team should have. Can be one of:<br/> *`secret` - only visible to organization owners and members of this team.<br/> *`closed` - visible to all members of this organization.<br/>Default:`secret`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
94
90
`permission`|`string` |**Deprecated**. In the preview period described in the alert below, a team's`permission` attribute no longer dictates what permission it has on its repositories; it only dictates what permission a new repository will be added to the team with if none is specified by the user. Avoid confusion by specifying a`permission` when using the[Add team repository](/v3/orgs/teams/#add-team-repo) API instead.<br/><br/>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`
95
91
96
-
{{#not-enterprise}}
97
-
98
92
<divclass="alert">
99
93
<p>
100
94
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -110,8 +104,6 @@ Name | Type | Description
110
104
</p>
111
105
</div>
112
106
113
-
{{/not-enterprise}}
114
-
115
107
####Example
116
108
117
109
<%= json\
@@ -153,8 +145,6 @@ Name | Type | Description
153
145
-----|------|--------------
154
146
`role`|`string`| Filters members returned by their role in the team. Can be one of:<br/> *`member` - normal members of the team.<br/> *`maintainer` - team maintainers.<br/> *`all` - all members of the team.<br/>Default:`all`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
155
147
156
-
{{#not-enterprise}}
157
-
158
148
<divclass="alert">
159
149
<p>
160
150
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
`role`|`string`| The role that this user should have in the team. Can be one of:<br/> *`member` - a normal member of the team.<br/> *`maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.<br/>Default:`member`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
332
320
333
-
{{#not-enterprise}}
334
-
335
321
<divclass="alert">
336
322
<p>
337
323
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -347,8 +333,6 @@ Name | Type | Description
347
333
</p>
348
334
</div>
349
335
350
-
{{/not-enterprise}}
351
-
352
336
###Response if user's membership with team is now active
353
337
354
338
<%= headers 200 %>
@@ -415,8 +399,6 @@ you will be able to list all repositories for the team.
415
399
416
400
###Alternative response with extra repository information
417
401
418
-
{{#not-enterprise}}
419
-
420
402
<divclass="alert">
421
403
<p>
422
404
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -434,8 +416,6 @@ permissions the team grants on it, by passing the following custom
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
Copy file name to clipboardExpand all lines: content/v3/repos/collaborators.md
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,6 @@ collaborators list.
23
23
24
24
###Alternative response with extra repository information
25
25
26
-
27
-
{{#not-enterprise}}
28
-
29
26
<divclass="alert">
30
27
<p>
31
28
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.