@octokit/openapi 7.6.0 → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +1577 -517
  2. package/generated/api.github.com.json +491 -1
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
  7. package/generated/ghes-3.2.deref.json +1 -1
  8. package/generated/ghes-3.2.json +1 -1
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  11. package/generated/ghes-3.3.deref.json +1 -1
  12. package/generated/ghes-3.3.json +1 -1
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  15. package/generated/ghes-3.4.deref.json +1 -1
  16. package/generated/ghes-3.4.json +1 -1
  17. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  18. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  19. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -1
  21. package/generated/ghes-3.5.deref.json +1 -1
  22. package/generated/ghes-3.5.json +1 -1
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +71 -1
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +391 -1
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +107 -1
  26. package/generated/ghes-3.6.deref.json +136 -2
  27. package/generated/ghes-3.6.json +136 -2
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +14 -0
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
  30. package/generated/github.ae-diff-to-api.github.com.json +1 -1
  31. package/generated/github.ae.deref.json +213 -1
  32. package/generated/github.ae.json +183 -1
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -17569,6 +17569,32 @@
17569
17569
  }
17570
17570
  },
17571
17571
  "/orgs/{org}": {
17572
+ "get": {
17573
+ "responses": {
17574
+ "changed": {
17575
+ "200": {
17576
+ "content": {
17577
+ "changed": {
17578
+ "application/json": {
17579
+ "schema_changed": {
17580
+ "properties_changed": {
17581
+ "removed": [
17582
+ "advanced_security_enabled_for_new_repositories",
17583
+ "dependabot_alerts_enabled_for_new_repositories",
17584
+ "dependabot_security_updates_enabled_for_new_repositories",
17585
+ "dependency_graph_enabled_for_new_repositories",
17586
+ "secret_scanning_enabled_for_new_repositories",
17587
+ "secret_scanning_push_protection_enabled_for_new_repositories"
17588
+ ]
17589
+ }
17590
+ }
17591
+ }
17592
+ }
17593
+ }
17594
+ }
17595
+ }
17596
+ }
17597
+ },
17572
17598
  "patch": {
17573
17599
  "request_body": {
17574
17600
  "content_changed": {
@@ -17577,14 +17603,44 @@
17577
17603
  "schema_changed": {
17578
17604
  "properties_changed": {
17579
17605
  "removed": [
17606
+ "advanced_security_enabled_for_new_repositories",
17607
+ "dependabot_alerts_enabled_for_new_repositories",
17608
+ "dependabot_security_updates_enabled_for_new_repositories",
17609
+ "dependency_graph_enabled_for_new_repositories",
17580
17610
  "members_can_create_private_pages",
17581
- "members_can_create_public_pages"
17611
+ "members_can_create_public_pages",
17612
+ "secret_scanning_enabled_for_new_repositories",
17613
+ "secret_scanning_push_protection_enabled_for_new_repositories"
17582
17614
  ]
17583
17615
  }
17584
17616
  }
17585
17617
  }
17586
17618
  }
17587
17619
  }
17620
+ },
17621
+ "responses": {
17622
+ "changed": {
17623
+ "200": {
17624
+ "content": {
17625
+ "changed": {
17626
+ "application/json": {
17627
+ "schema_changed": {
17628
+ "properties_changed": {
17629
+ "removed": [
17630
+ "advanced_security_enabled_for_new_repositories",
17631
+ "dependabot_alerts_enabled_for_new_repositories",
17632
+ "dependabot_security_updates_enabled_for_new_repositories",
17633
+ "dependency_graph_enabled_for_new_repositories",
17634
+ "secret_scanning_enabled_for_new_repositories",
17635
+ "secret_scanning_push_protection_enabled_for_new_repositories"
17636
+ ]
17637
+ }
17638
+ }
17639
+ }
17640
+ }
17641
+ }
17642
+ }
17643
+ }
17588
17644
  }
17589
17645
  }
17590
17646
  },
@@ -18586,6 +18642,9 @@
18586
18642
  "get",
18587
18643
  "patch"
18588
18644
  ],
18645
+ "/orgs/{org}/{security_product}/{enablement}": [
18646
+ "post"
18647
+ ],
18589
18648
  "/repos/{owner}/{repo}/actions/caches": [
18590
18649
  "get",
18591
18650
  "delete"
@@ -18817,6 +18876,14 @@
18817
18876
  "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": [
18818
18877
  "post"
18819
18878
  ],
18879
+ "/user/ssh_signing_keys": [
18880
+ "get",
18881
+ "post"
18882
+ ],
18883
+ "/user/ssh_signing_keys/{ssh_signing_key_id}": [
18884
+ "get",
18885
+ "delete"
18886
+ ],
18820
18887
  "/users/{username}/packages": [
18821
18888
  "get"
18822
18889
  ],
@@ -18845,6 +18912,9 @@
18845
18912
  ],
18846
18913
  "/users/{username}/settings/billing/shared-storage": [
18847
18914
  "get"
18915
+ ],
18916
+ "/users/{username}/ssh_signing_keys": [
18917
+ "get"
18848
18918
  ]
18849
18919
  }
18850
18920
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.7.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -21780,6 +21780,396 @@
21780
21780
  }
21781
21781
  },
21782
21782
  "/orgs/{org}": {
21783
+ "get": {
21784
+ "summary": "Get an organization",
21785
+ "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/enterprise-server@3.6/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"",
21786
+ "tags": [
21787
+ "orgs"
21788
+ ],
21789
+ "operationId": "orgs/get",
21790
+ "externalDocs": {
21791
+ "description": "API method documentation",
21792
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/orgs#get-an-organization"
21793
+ },
21794
+ "parameters": [
21795
+ {
21796
+ "name": "org",
21797
+ "description": "The organization name. The name is not case sensitive.",
21798
+ "in": "path",
21799
+ "required": true,
21800
+ "schema": {
21801
+ "type": "string"
21802
+ }
21803
+ }
21804
+ ],
21805
+ "responses": {
21806
+ "200": {
21807
+ "description": "Response",
21808
+ "content": {
21809
+ "application/json": {
21810
+ "schema": {
21811
+ "title": "Organization Full",
21812
+ "description": "Organization Full",
21813
+ "type": "object",
21814
+ "properties": {
21815
+ "login": {
21816
+ "type": "string",
21817
+ "example": "github"
21818
+ },
21819
+ "id": {
21820
+ "type": "integer",
21821
+ "example": 1
21822
+ },
21823
+ "node_id": {
21824
+ "type": "string",
21825
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
21826
+ },
21827
+ "url": {
21828
+ "type": "string",
21829
+ "format": "uri",
21830
+ "example": "https://api.github.com/orgs/github"
21831
+ },
21832
+ "repos_url": {
21833
+ "type": "string",
21834
+ "format": "uri",
21835
+ "example": "https://api.github.com/orgs/github/repos"
21836
+ },
21837
+ "events_url": {
21838
+ "type": "string",
21839
+ "format": "uri",
21840
+ "example": "https://api.github.com/orgs/github/events"
21841
+ },
21842
+ "hooks_url": {
21843
+ "type": "string",
21844
+ "example": "https://api.github.com/orgs/github/hooks"
21845
+ },
21846
+ "issues_url": {
21847
+ "type": "string",
21848
+ "example": "https://api.github.com/orgs/github/issues"
21849
+ },
21850
+ "members_url": {
21851
+ "type": "string",
21852
+ "example": "https://api.github.com/orgs/github/members{/member}"
21853
+ },
21854
+ "public_members_url": {
21855
+ "type": "string",
21856
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
21857
+ },
21858
+ "avatar_url": {
21859
+ "type": "string",
21860
+ "example": "https://github.com/images/error/octocat_happy.gif"
21861
+ },
21862
+ "description": {
21863
+ "type": "string",
21864
+ "example": "A great organization",
21865
+ "nullable": true
21866
+ },
21867
+ "name": {
21868
+ "type": "string",
21869
+ "example": "github"
21870
+ },
21871
+ "company": {
21872
+ "type": "string",
21873
+ "example": "GitHub"
21874
+ },
21875
+ "blog": {
21876
+ "type": "string",
21877
+ "format": "uri",
21878
+ "example": "https://github.com/blog"
21879
+ },
21880
+ "location": {
21881
+ "type": "string",
21882
+ "example": "San Francisco"
21883
+ },
21884
+ "email": {
21885
+ "type": "string",
21886
+ "format": "email",
21887
+ "example": "octocat@github.com"
21888
+ },
21889
+ "twitter_username": {
21890
+ "type": "string",
21891
+ "example": "github",
21892
+ "nullable": true
21893
+ },
21894
+ "is_verified": {
21895
+ "type": "boolean",
21896
+ "example": true
21897
+ },
21898
+ "has_organization_projects": {
21899
+ "type": "boolean",
21900
+ "example": true
21901
+ },
21902
+ "has_repository_projects": {
21903
+ "type": "boolean",
21904
+ "example": true
21905
+ },
21906
+ "public_repos": {
21907
+ "type": "integer",
21908
+ "example": 2
21909
+ },
21910
+ "public_gists": {
21911
+ "type": "integer",
21912
+ "example": 1
21913
+ },
21914
+ "followers": {
21915
+ "type": "integer",
21916
+ "example": 20
21917
+ },
21918
+ "following": {
21919
+ "type": "integer",
21920
+ "example": 0
21921
+ },
21922
+ "html_url": {
21923
+ "type": "string",
21924
+ "format": "uri",
21925
+ "example": "https://github.com/octocat"
21926
+ },
21927
+ "created_at": {
21928
+ "type": "string",
21929
+ "format": "date-time",
21930
+ "example": "2008-01-14T04:33:35Z"
21931
+ },
21932
+ "type": {
21933
+ "type": "string",
21934
+ "example": "Organization"
21935
+ },
21936
+ "total_private_repos": {
21937
+ "type": "integer",
21938
+ "example": 100
21939
+ },
21940
+ "owned_private_repos": {
21941
+ "type": "integer",
21942
+ "example": 100
21943
+ },
21944
+ "private_gists": {
21945
+ "type": "integer",
21946
+ "example": 81,
21947
+ "nullable": true
21948
+ },
21949
+ "disk_usage": {
21950
+ "type": "integer",
21951
+ "example": 10000,
21952
+ "nullable": true
21953
+ },
21954
+ "collaborators": {
21955
+ "type": "integer",
21956
+ "example": 8,
21957
+ "nullable": true
21958
+ },
21959
+ "billing_email": {
21960
+ "type": "string",
21961
+ "format": "email",
21962
+ "example": "org@example.com",
21963
+ "nullable": true
21964
+ },
21965
+ "plan": {
21966
+ "type": "object",
21967
+ "properties": {
21968
+ "name": {
21969
+ "type": "string"
21970
+ },
21971
+ "space": {
21972
+ "type": "integer"
21973
+ },
21974
+ "private_repos": {
21975
+ "type": "integer"
21976
+ },
21977
+ "filled_seats": {
21978
+ "type": "integer"
21979
+ },
21980
+ "seats": {
21981
+ "type": "integer"
21982
+ }
21983
+ },
21984
+ "required": [
21985
+ "name",
21986
+ "space",
21987
+ "private_repos"
21988
+ ]
21989
+ },
21990
+ "default_repository_permission": {
21991
+ "type": "string",
21992
+ "nullable": true
21993
+ },
21994
+ "members_can_create_repositories": {
21995
+ "type": "boolean",
21996
+ "example": true,
21997
+ "nullable": true
21998
+ },
21999
+ "two_factor_requirement_enabled": {
22000
+ "type": "boolean",
22001
+ "example": true,
22002
+ "nullable": true
22003
+ },
22004
+ "members_allowed_repository_creation_type": {
22005
+ "type": "string",
22006
+ "example": "all"
22007
+ },
22008
+ "members_can_create_public_repositories": {
22009
+ "type": "boolean",
22010
+ "example": true
22011
+ },
22012
+ "members_can_create_private_repositories": {
22013
+ "type": "boolean",
22014
+ "example": true
22015
+ },
22016
+ "members_can_create_internal_repositories": {
22017
+ "type": "boolean",
22018
+ "example": true
22019
+ },
22020
+ "members_can_create_pages": {
22021
+ "type": "boolean",
22022
+ "example": true
22023
+ },
22024
+ "members_can_create_public_pages": {
22025
+ "type": "boolean",
22026
+ "example": true
22027
+ },
22028
+ "members_can_create_private_pages": {
22029
+ "type": "boolean",
22030
+ "example": true
22031
+ },
22032
+ "members_can_fork_private_repositories": {
22033
+ "type": "boolean",
22034
+ "example": false,
22035
+ "nullable": true
22036
+ },
22037
+ "web_commit_signoff_required": {
22038
+ "type": "boolean",
22039
+ "example": false
22040
+ },
22041
+ "updated_at": {
22042
+ "type": "string",
22043
+ "format": "date-time"
22044
+ }
22045
+ },
22046
+ "required": [
22047
+ "login",
22048
+ "url",
22049
+ "id",
22050
+ "node_id",
22051
+ "repos_url",
22052
+ "events_url",
22053
+ "hooks_url",
22054
+ "issues_url",
22055
+ "members_url",
22056
+ "public_members_url",
22057
+ "avatar_url",
22058
+ "description",
22059
+ "html_url",
22060
+ "has_organization_projects",
22061
+ "has_repository_projects",
22062
+ "public_repos",
22063
+ "public_gists",
22064
+ "followers",
22065
+ "following",
22066
+ "type",
22067
+ "created_at",
22068
+ "updated_at"
22069
+ ]
22070
+ },
22071
+ "examples": {
22072
+ "default-response": {
22073
+ "summary": "Default response",
22074
+ "value": {
22075
+ "login": "github",
22076
+ "id": 1,
22077
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
22078
+ "url": "https://api.github.com/orgs/github",
22079
+ "repos_url": "https://api.github.com/orgs/github/repos",
22080
+ "events_url": "https://api.github.com/orgs/github/events",
22081
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
22082
+ "issues_url": "https://api.github.com/orgs/github/issues",
22083
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
22084
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
22085
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
22086
+ "description": "A great organization",
22087
+ "name": "github",
22088
+ "company": "GitHub",
22089
+ "blog": "https://github.com/blog",
22090
+ "location": "San Francisco",
22091
+ "email": "octocat@github.com",
22092
+ "twitter_username": "github",
22093
+ "is_verified": true,
22094
+ "has_organization_projects": true,
22095
+ "has_repository_projects": true,
22096
+ "public_repos": 2,
22097
+ "public_gists": 1,
22098
+ "followers": 20,
22099
+ "following": 0,
22100
+ "html_url": "https://github.com/octocat",
22101
+ "created_at": "2008-01-14T04:33:35Z",
22102
+ "updated_at": "2014-03-03T18:58:10Z",
22103
+ "type": "Organization",
22104
+ "total_private_repos": 100,
22105
+ "owned_private_repos": 100,
22106
+ "private_gists": 81,
22107
+ "disk_usage": 10000,
22108
+ "collaborators": 8,
22109
+ "billing_email": "mona@github.com",
22110
+ "plan": {
22111
+ "name": "Medium",
22112
+ "space": 400,
22113
+ "private_repos": 20,
22114
+ "filled_seats": 4,
22115
+ "seats": 5
22116
+ },
22117
+ "default_repository_permission": "read",
22118
+ "members_can_create_repositories": true,
22119
+ "two_factor_requirement_enabled": true,
22120
+ "members_allowed_repository_creation_type": "all",
22121
+ "members_can_create_public_repositories": false,
22122
+ "members_can_create_private_repositories": false,
22123
+ "members_can_create_internal_repositories": false,
22124
+ "members_can_create_pages": true,
22125
+ "members_can_fork_private_repositories": false
22126
+ }
22127
+ }
22128
+ }
22129
+ }
22130
+ }
22131
+ },
22132
+ "404": {
22133
+ "description": "Resource not found",
22134
+ "content": {
22135
+ "application/json": {
22136
+ "schema": {
22137
+ "title": "Basic Error",
22138
+ "description": "Basic Error",
22139
+ "type": "object",
22140
+ "properties": {
22141
+ "message": {
22142
+ "type": "string"
22143
+ },
22144
+ "documentation_url": {
22145
+ "type": "string"
22146
+ },
22147
+ "url": {
22148
+ "type": "string"
22149
+ },
22150
+ "status": {
22151
+ "type": "string"
22152
+ }
22153
+ }
22154
+ }
22155
+ }
22156
+ }
22157
+ }
22158
+ },
22159
+ "x-github": {
22160
+ "githubCloudOnly": false,
22161
+ "enabledForGitHubApps": true,
22162
+ "category": "orgs",
22163
+ "subcategory": null
22164
+ },
22165
+ "x-octokit": {
22166
+ "diff": {
22167
+ "api.github.com": {
22168
+ "type": "changed"
22169
+ }
22170
+ }
22171
+ }
22172
+ },
21783
22173
  "patch": {
21784
22174
  "summary": "Update an organization",
21785
22175
  "description": "**Parameter Deprecation Notice:** GitHub Enterprise Server 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.",