Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit9894cbe

Browse files
committed
Merge pull request#707 from github/scrub-org-perms-preview
Remove ironman-preview notices from Enterprise 2.4 build
2 parentsf6d9a78 +e31a876 commit9894cbe

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

‎content/v3/orgs/members.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Name | Type | Description
2525

2626
[2fa-blog]:https://github.com/blog/1614-two-factor-authentication
2727

28+
{{#not-enterprise}}
29+
2830
<divclass="alert">
2931
<p>
3032
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.
@@ -36,6 +38,8 @@ Name | Type | Description
3638
</p>
3739
</div>
3840

41+
{{/not-enterprise}}
42+
3943
###Response
4044

4145
<%= headers 200,:pagination => default_pagination_rels %>

‎content/v3/orgs/teams.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Name | Type | Description
4646
`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.**
4747
`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`
4848

49+
{{#not-enterprise}}
50+
4951
<divclass="alert">
5052
<p>
5153
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.
@@ -61,6 +63,8 @@ Name | Type | Description
6163
</p>
6264
</div>
6365

66+
{{/not-enterprise}}
67+
6468
####Example
6569

6670
<%= json\
@@ -89,6 +93,8 @@ Name | Type | Description
8993
`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.**
9094
`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`
9195

96+
{{#not-enterprise}}
97+
9298
<divclass="alert">
9399
<p>
94100
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.
@@ -104,6 +110,8 @@ Name | Type | Description
104110
</p>
105111
</div>
106112

113+
{{/not-enterprise}}
114+
107115
####Example
108116

109117
<%= json\
@@ -145,6 +153,8 @@ Name | Type | Description
145153
-----|------|--------------
146154
`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.**
147155

156+
{{#not-enterprise}}
157+
148158
<divclass="alert">
149159
<p>
150160
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.
@@ -156,6 +166,8 @@ Name | Type | Description
156166
</p>
157167
</div>
158168

169+
{{/not-enterprise}}
170+
159171
###Response
160172

161173
<%= headers 200,:pagination => default_pagination_rels %>
@@ -318,6 +330,8 @@ Name | Type | Description
318330
-----|------|--------------
319331
`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.**
320332

333+
{{#not-enterprise}}
334+
321335
<divclass="alert">
322336
<p>
323337
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.
@@ -333,6 +347,8 @@ Name | Type | Description
333347
</p>
334348
</div>
335349

350+
{{/not-enterprise}}
351+
336352
###Response if user's membership with team is now active
337353

338354
<%= headers 200 %>
@@ -399,6 +415,8 @@ you will be able to list all repositories for the team.
399415

400416
###Alternative response with extra repository information
401417

418+
{{#not-enterprise}}
419+
402420
<divclass="alert">
403421
<p>
404422
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.
@@ -416,6 +434,8 @@ permissions the team grants on it, by passing the following custom
416434

417435
Accept: application/vnd.github.ironman-preview.repository+json
418436

437+
{{/not-enterprise}}
438+
419439
<%= headers 200 %>
420440
<%= json:repo %>
421441

@@ -436,6 +456,8 @@ Name | Type | Description
436456

437457
<%= fetch_content(:optional_put_content_length) %>
438458

459+
{{#not-enterprise}}
460+
439461
<divclass="alert">
440462
<p>
441463
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.
@@ -451,6 +473,8 @@ Name | Type | Description
451473
</p>
452474
</div>
453475

476+
{{/not-enterprise}}
477+
454478
###Response
455479

456480
<%= headers 204 %>

‎content/v3/repos/collaborators.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ collaborators list.
2323

2424
###Alternative response with extra repository information
2525

26+
27+
{{#not-enterprise}}
28+
2629
<divclass="alert">
2730
<p>
2831
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.
@@ -34,6 +37,8 @@ collaborators list.
3437
</p>
3538
</div>
3639

40+
{{/not-enterprise}}
41+
3742
<%= headers 200,:pagination => default_pagination_rels %>
3843
<%= json(:collaborator) { |h|[h] } %>
3944

@@ -61,6 +66,8 @@ Name | Type | Description
6166

6267
<%= fetch_content(:optional_put_content_length) %>
6368

69+
{{#not-enterprise}}
70+
6471
<divclass="alert">
6572
<p>
6673
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.
@@ -76,6 +83,8 @@ Name | Type | Description
7683
</p>
7784
</div>
7885

86+
{{/not-enterprise}}
87+
7988
###Response
8089

8190
<%= headers 204 %>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp