|
3168 | 3168 | "url": "/orgs/{org}", |
3169 | 3169 | "isDeprecated": false, |
3170 | 3170 | "isLegacy": false, |
3171 | | - "description": "\n\n**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.", |
| 3171 | + "description": "\n\n**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.", |
3172 | 3172 | "documentationUrl": "https://developer.github.com/v3/orgs/#edit-an-organization", |
3173 | 3173 | "previews": [], |
3174 | 3174 | "headers": [], |
|
3318 | 3318 | }, |
3319 | 3319 | { |
3320 | 3320 | "name": "members_can_create_internal_repositories", |
3321 | | - "description": "Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud. Can be one of: \n\\* `true` - all organization members can create internal repositories. \n\\* `false` - only organization owners can create internal repositories. \nDefault: `true`. For more information, see \"[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation.", |
| 3321 | + "description": "Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: \n\\* `true` - all organization members can create internal repositories. \n\\* `false` - only organization owners can create internal repositories. \nDefault: `true`. For more information, see \"[Restricting repository creation in your organization](https://help.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation.", |
3322 | 3322 | "in": "BODY", |
3323 | 3323 | "type": "boolean", |
3324 | 3324 | "required": false, |
|
6112 | 6112 | }, |
6113 | 6113 | { |
6114 | 6114 | "name": "type", |
6115 | | - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud, `type` can also be `internal`.", |
| 6115 | + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", |
6116 | 6116 | "in": "QUERY", |
6117 | 6117 | "type": "string", |
6118 | 6118 | "required": false, |
|
6277 | 6277 | }, |
6278 | 6278 | { |
6279 | 6279 | "name": "visibility", |
6280 | | - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", |
| 6280 | + "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", |
6281 | 6281 | "in": "BODY", |
6282 | 6282 | "type": "string", |
6283 | 6283 | "required": false, |
|
10584 | 10584 | }, |
10585 | 10585 | { |
10586 | 10586 | "name": "visibility", |
10587 | | - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header.", |
| 10587 | + "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header.", |
10588 | 10588 | "in": "BODY", |
10589 | 10589 | "type": "string", |
10590 | 10590 | "required": false, |
|
24424 | 24424 | "validation": null, |
24425 | 24425 | "alias": null, |
24426 | 24426 | "deprecated": null |
| 24427 | + }, |
| 24428 | + { |
| 24429 | + "name": "per_page", |
| 24430 | + "description": "Results per page (max 100)", |
| 24431 | + "in": "QUERY", |
| 24432 | + "type": "integer", |
| 24433 | + "required": false, |
| 24434 | + "enum": null, |
| 24435 | + "allowNull": false, |
| 24436 | + "mapToData": null, |
| 24437 | + "validation": null, |
| 24438 | + "alias": null, |
| 24439 | + "deprecated": null |
| 24440 | + }, |
| 24441 | + { |
| 24442 | + "name": "page", |
| 24443 | + "description": "Page number of the results to fetch.", |
| 24444 | + "in": "QUERY", |
| 24445 | + "type": "integer", |
| 24446 | + "required": false, |
| 24447 | + "enum": null, |
| 24448 | + "allowNull": false, |
| 24449 | + "mapToData": null, |
| 24450 | + "validation": null, |
| 24451 | + "alias": null, |
| 24452 | + "deprecated": null |
24427 | 24453 | } |
24428 | 24454 | ], |
24429 | 24455 | "responses": [ |
|
37375 | 37401 | }, |
37376 | 37402 | { |
37377 | 37403 | "name": "visibility", |
37378 | | - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", |
| 37404 | + "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", |
37379 | 37405 | "in": "BODY", |
37380 | 37406 | "type": "string", |
37381 | 37407 | "required": false, |
|
0 commit comments