@octokit/openapi 7.12.1 → 7.13.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.
- package/generated/api.github.com.deref.json +713 -6
- package/generated/api.github.com.json +283 -4
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +2 -2
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +2 -2
- package/generated/ghes-3.2.deref.json +6 -6
- package/generated/ghes-3.2.json +4 -4
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
- package/generated/ghes-3.3.deref.json +6 -6
- package/generated/ghes-3.3.json +4 -4
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +6 -6
- package/generated/ghes-3.4.json +4 -4
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +2 -2
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -2
- package/generated/ghes-3.5.deref.json +112 -6
- package/generated/ghes-3.5.json +110 -4
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.6.deref.json +761 -112
- package/generated/ghes-3.6.json +527 -110
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +2 -2
- package/generated/github.ae-diff-to-api.github.com.json +2 -2
- package/generated/github.ae.deref.json +50 -6
- package/generated/github.ae.json +48 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -184783,7 +184783,7 @@
|
|
|
184783
184783
|
}
|
|
184784
184784
|
},
|
|
184785
184785
|
"403": {
|
|
184786
|
-
"description": "Response if the repository is archived or if
|
|
184786
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
184787
184787
|
"content": {
|
|
184788
184788
|
"application/json": {
|
|
184789
184789
|
"schema": {
|
|
@@ -185979,7 +185979,7 @@
|
|
|
185979
185979
|
}
|
|
185980
185980
|
},
|
|
185981
185981
|
"403": {
|
|
185982
|
-
"description": "Response if the repository is archived or if
|
|
185982
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
185983
185983
|
"content": {
|
|
185984
185984
|
"application/json": {
|
|
185985
185985
|
"schema": {
|
|
@@ -186185,7 +186185,7 @@
|
|
|
186185
186185
|
"description": "Bad Request if the sarif field is invalid"
|
|
186186
186186
|
},
|
|
186187
186187
|
"403": {
|
|
186188
|
-
"description": "Response if the repository is archived or if
|
|
186188
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
186189
186189
|
"content": {
|
|
186190
186190
|
"application/json": {
|
|
186191
186191
|
"schema": {
|
|
@@ -207440,7 +207440,7 @@
|
|
|
207440
207440
|
},
|
|
207441
207441
|
"put": {
|
|
207442
207442
|
"summary": "Create or update file contents",
|
|
207443
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
207443
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.4/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
207444
207444
|
"tags": [
|
|
207445
207445
|
"repos"
|
|
207446
207446
|
],
|
|
@@ -208145,7 +208145,7 @@
|
|
|
208145
208145
|
},
|
|
208146
208146
|
"delete": {
|
|
208147
208147
|
"summary": "Delete a file",
|
|
208148
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
208148
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.4/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
208149
208149
|
"tags": [
|
|
208150
208150
|
"repos"
|
|
208151
208151
|
],
|
package/generated/ghes-3.4.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -28880,7 +28880,7 @@
|
|
|
28880
28880
|
},
|
|
28881
28881
|
"put": {
|
|
28882
28882
|
"summary": "Create or update file contents",
|
|
28883
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
28883
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.4/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
28884
28884
|
"tags": [
|
|
28885
28885
|
"repos"
|
|
28886
28886
|
],
|
|
@@ -29059,7 +29059,7 @@
|
|
|
29059
29059
|
},
|
|
29060
29060
|
"delete": {
|
|
29061
29061
|
"summary": "Delete a file",
|
|
29062
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
29062
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.4/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
29063
29063
|
"tags": [
|
|
29064
29064
|
"repos"
|
|
29065
29065
|
],
|
|
@@ -99943,7 +99943,7 @@
|
|
|
99943
99943
|
}
|
|
99944
99944
|
},
|
|
99945
99945
|
"code_scanning_forbidden_write": {
|
|
99946
|
-
"description": "Response if the repository is archived or if
|
|
99946
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
99947
99947
|
"content": {
|
|
99948
99948
|
"application/json": {
|
|
99949
99949
|
"schema": {
|
|
@@ -5733,6 +5733,17 @@
|
|
|
5733
5733
|
"get",
|
|
5734
5734
|
"put"
|
|
5735
5735
|
],
|
|
5736
|
+
"/orgs/{org}/external-group/{group_id}": [
|
|
5737
|
+
"get"
|
|
5738
|
+
],
|
|
5739
|
+
"/orgs/{org}/external-groups": [
|
|
5740
|
+
"get"
|
|
5741
|
+
],
|
|
5742
|
+
"/orgs/{org}/teams/{team_slug}/external-groups": [
|
|
5743
|
+
"get",
|
|
5744
|
+
"delete",
|
|
5745
|
+
"patch"
|
|
5746
|
+
],
|
|
5736
5747
|
"/repos/{owner}/{repo}/actions/permissions/workflow": [
|
|
5737
5748
|
"get",
|
|
5738
5749
|
"put"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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.
|
|
4
|
+
"version": "7.13.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.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -94570,7 +94570,7 @@
|
|
|
94570
94570
|
}
|
|
94571
94571
|
},
|
|
94572
94572
|
"403": {
|
|
94573
|
-
"description": "Response if the repository is archived or if
|
|
94573
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
94574
94574
|
"content": {
|
|
94575
94575
|
"application/json": {
|
|
94576
94576
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -31870,7 +31870,7 @@
|
|
|
31870
31870
|
}
|
|
31871
31871
|
},
|
|
31872
31872
|
"code_scanning_forbidden_write": {
|
|
31873
|
-
"description": "Response if the repository is archived or if
|
|
31873
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
31874
31874
|
"content": {
|
|
31875
31875
|
"application/json": {
|
|
31876
31876
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -193203,7 +193203,7 @@
|
|
|
193203
193203
|
}
|
|
193204
193204
|
},
|
|
193205
193205
|
"403": {
|
|
193206
|
-
"description": "Response if the repository is archived or if
|
|
193206
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
193207
193207
|
"content": {
|
|
193208
193208
|
"application/json": {
|
|
193209
193209
|
"schema": {
|
|
@@ -194405,7 +194405,7 @@
|
|
|
194405
194405
|
}
|
|
194406
194406
|
},
|
|
194407
194407
|
"403": {
|
|
194408
|
-
"description": "Response if the repository is archived or if
|
|
194408
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
194409
194409
|
"content": {
|
|
194410
194410
|
"application/json": {
|
|
194411
194411
|
"schema": {
|
|
@@ -194611,7 +194611,7 @@
|
|
|
194611
194611
|
"description": "Bad Request if the sarif field is invalid"
|
|
194612
194612
|
},
|
|
194613
194613
|
"403": {
|
|
194614
|
-
"description": "Response if the repository is archived or if
|
|
194614
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
194615
194615
|
"content": {
|
|
194616
194616
|
"application/json": {
|
|
194617
194617
|
"schema": {
|
|
@@ -216039,7 +216039,7 @@
|
|
|
216039
216039
|
},
|
|
216040
216040
|
"put": {
|
|
216041
216041
|
"summary": "Create or update file contents",
|
|
216042
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
216042
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.5/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
216043
216043
|
"tags": [
|
|
216044
216044
|
"repos"
|
|
216045
216045
|
],
|
|
@@ -216744,7 +216744,7 @@
|
|
|
216744
216744
|
},
|
|
216745
216745
|
"delete": {
|
|
216746
216746
|
"summary": "Delete a file",
|
|
216747
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
216747
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.5/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
216748
216748
|
"tags": [
|
|
216749
216749
|
"repos"
|
|
216750
216750
|
],
|
|
@@ -437813,6 +437813,112 @@
|
|
|
437813
437813
|
}
|
|
437814
437814
|
}
|
|
437815
437815
|
},
|
|
437816
|
+
"/orgs/{org}/external-group/{group_id}": {
|
|
437817
|
+
"get": {
|
|
437818
|
+
"summary": "Get an external group",
|
|
437819
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
437820
|
+
"tags": [
|
|
437821
|
+
"teams"
|
|
437822
|
+
],
|
|
437823
|
+
"operationId": "teams/external-idp-group-info-for-org",
|
|
437824
|
+
"externalDocs": {
|
|
437825
|
+
"description": "API method documentation",
|
|
437826
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#external-idp-group-info-for-an-organization"
|
|
437827
|
+
},
|
|
437828
|
+
"x-octokit": {
|
|
437829
|
+
"ghes-3.6": "removed"
|
|
437830
|
+
},
|
|
437831
|
+
"responses": {
|
|
437832
|
+
"501": {
|
|
437833
|
+
"description": "Not Implemented"
|
|
437834
|
+
}
|
|
437835
|
+
}
|
|
437836
|
+
}
|
|
437837
|
+
},
|
|
437838
|
+
"/orgs/{org}/external-groups": {
|
|
437839
|
+
"get": {
|
|
437840
|
+
"summary": "List external groups in an organization",
|
|
437841
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
437842
|
+
"tags": [
|
|
437843
|
+
"teams"
|
|
437844
|
+
],
|
|
437845
|
+
"operationId": "teams/list-external-idp-groups-for-org",
|
|
437846
|
+
"externalDocs": {
|
|
437847
|
+
"description": "API method documentation",
|
|
437848
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-groups-for-an-organization"
|
|
437849
|
+
},
|
|
437850
|
+
"x-octokit": {
|
|
437851
|
+
"ghes-3.6": "removed"
|
|
437852
|
+
},
|
|
437853
|
+
"responses": {
|
|
437854
|
+
"501": {
|
|
437855
|
+
"description": "Not Implemented"
|
|
437856
|
+
}
|
|
437857
|
+
}
|
|
437858
|
+
}
|
|
437859
|
+
},
|
|
437860
|
+
"/orgs/{org}/teams/{team_slug}/external-groups": {
|
|
437861
|
+
"get": {
|
|
437862
|
+
"summary": "List a connection between an external group and a team",
|
|
437863
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
437864
|
+
"tags": [
|
|
437865
|
+
"teams"
|
|
437866
|
+
],
|
|
437867
|
+
"operationId": "teams/list-linked-external-idp-groups-to-team-for-org",
|
|
437868
|
+
"externalDocs": {
|
|
437869
|
+
"description": "API method documentation",
|
|
437870
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-group-team-connection"
|
|
437871
|
+
},
|
|
437872
|
+
"x-octokit": {
|
|
437873
|
+
"ghes-3.6": "removed"
|
|
437874
|
+
},
|
|
437875
|
+
"responses": {
|
|
437876
|
+
"501": {
|
|
437877
|
+
"description": "Not Implemented"
|
|
437878
|
+
}
|
|
437879
|
+
}
|
|
437880
|
+
},
|
|
437881
|
+
"delete": {
|
|
437882
|
+
"summary": "Remove the connection between an external group and a team",
|
|
437883
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
437884
|
+
"tags": [
|
|
437885
|
+
"teams"
|
|
437886
|
+
],
|
|
437887
|
+
"operationId": "teams/unlink-external-idp-group-from-team-for-org",
|
|
437888
|
+
"externalDocs": {
|
|
437889
|
+
"description": "API method documentation",
|
|
437890
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#unlink-external-idp-group-team-connection"
|
|
437891
|
+
},
|
|
437892
|
+
"x-octokit": {
|
|
437893
|
+
"ghes-3.6": "removed"
|
|
437894
|
+
},
|
|
437895
|
+
"responses": {
|
|
437896
|
+
"501": {
|
|
437897
|
+
"description": "Not Implemented"
|
|
437898
|
+
}
|
|
437899
|
+
}
|
|
437900
|
+
},
|
|
437901
|
+
"patch": {
|
|
437902
|
+
"summary": "Update the connection between an external group and a team",
|
|
437903
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
437904
|
+
"tags": [
|
|
437905
|
+
"teams"
|
|
437906
|
+
],
|
|
437907
|
+
"operationId": "teams/link-external-idp-group-to-team-for-org",
|
|
437908
|
+
"externalDocs": {
|
|
437909
|
+
"description": "API method documentation",
|
|
437910
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#link-external-idp-group-team-connection"
|
|
437911
|
+
},
|
|
437912
|
+
"x-octokit": {
|
|
437913
|
+
"ghes-3.6": "removed"
|
|
437914
|
+
},
|
|
437915
|
+
"responses": {
|
|
437916
|
+
"501": {
|
|
437917
|
+
"description": "Not Implemented"
|
|
437918
|
+
}
|
|
437919
|
+
}
|
|
437920
|
+
}
|
|
437921
|
+
},
|
|
437816
437922
|
"/repos/{owner}/{repo}/actions/permissions/workflow": {
|
|
437817
437923
|
"get": {
|
|
437818
437924
|
"summary": "Get default workflow permissions for a repository",
|
package/generated/ghes-3.5.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -30100,7 +30100,7 @@
|
|
|
30100
30100
|
},
|
|
30101
30101
|
"put": {
|
|
30102
30102
|
"summary": "Create or update file contents",
|
|
30103
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
30103
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.5/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
30104
30104
|
"tags": [
|
|
30105
30105
|
"repos"
|
|
30106
30106
|
],
|
|
@@ -30279,7 +30279,7 @@
|
|
|
30279
30279
|
},
|
|
30280
30280
|
"delete": {
|
|
30281
30281
|
"summary": "Delete a file",
|
|
30282
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
30282
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.5/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
30283
30283
|
"tags": [
|
|
30284
30284
|
"repos"
|
|
30285
30285
|
],
|
|
@@ -53641,6 +53641,112 @@
|
|
|
53641
53641
|
}
|
|
53642
53642
|
}
|
|
53643
53643
|
},
|
|
53644
|
+
"/orgs/{org}/external-group/{group_id}": {
|
|
53645
|
+
"get": {
|
|
53646
|
+
"summary": "Get an external group",
|
|
53647
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
53648
|
+
"tags": [
|
|
53649
|
+
"teams"
|
|
53650
|
+
],
|
|
53651
|
+
"operationId": "teams/external-idp-group-info-for-org",
|
|
53652
|
+
"externalDocs": {
|
|
53653
|
+
"description": "API method documentation",
|
|
53654
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#external-idp-group-info-for-an-organization"
|
|
53655
|
+
},
|
|
53656
|
+
"x-octokit": {
|
|
53657
|
+
"ghes-3.6": "removed"
|
|
53658
|
+
},
|
|
53659
|
+
"responses": {
|
|
53660
|
+
"501": {
|
|
53661
|
+
"description": "Not Implemented"
|
|
53662
|
+
}
|
|
53663
|
+
}
|
|
53664
|
+
}
|
|
53665
|
+
},
|
|
53666
|
+
"/orgs/{org}/external-groups": {
|
|
53667
|
+
"get": {
|
|
53668
|
+
"summary": "List external groups in an organization",
|
|
53669
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
53670
|
+
"tags": [
|
|
53671
|
+
"teams"
|
|
53672
|
+
],
|
|
53673
|
+
"operationId": "teams/list-external-idp-groups-for-org",
|
|
53674
|
+
"externalDocs": {
|
|
53675
|
+
"description": "API method documentation",
|
|
53676
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-groups-for-an-organization"
|
|
53677
|
+
},
|
|
53678
|
+
"x-octokit": {
|
|
53679
|
+
"ghes-3.6": "removed"
|
|
53680
|
+
},
|
|
53681
|
+
"responses": {
|
|
53682
|
+
"501": {
|
|
53683
|
+
"description": "Not Implemented"
|
|
53684
|
+
}
|
|
53685
|
+
}
|
|
53686
|
+
}
|
|
53687
|
+
},
|
|
53688
|
+
"/orgs/{org}/teams/{team_slug}/external-groups": {
|
|
53689
|
+
"get": {
|
|
53690
|
+
"summary": "List a connection between an external group and a team",
|
|
53691
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
53692
|
+
"tags": [
|
|
53693
|
+
"teams"
|
|
53694
|
+
],
|
|
53695
|
+
"operationId": "teams/list-linked-external-idp-groups-to-team-for-org",
|
|
53696
|
+
"externalDocs": {
|
|
53697
|
+
"description": "API method documentation",
|
|
53698
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-group-team-connection"
|
|
53699
|
+
},
|
|
53700
|
+
"x-octokit": {
|
|
53701
|
+
"ghes-3.6": "removed"
|
|
53702
|
+
},
|
|
53703
|
+
"responses": {
|
|
53704
|
+
"501": {
|
|
53705
|
+
"description": "Not Implemented"
|
|
53706
|
+
}
|
|
53707
|
+
}
|
|
53708
|
+
},
|
|
53709
|
+
"delete": {
|
|
53710
|
+
"summary": "Remove the connection between an external group and a team",
|
|
53711
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
53712
|
+
"tags": [
|
|
53713
|
+
"teams"
|
|
53714
|
+
],
|
|
53715
|
+
"operationId": "teams/unlink-external-idp-group-from-team-for-org",
|
|
53716
|
+
"externalDocs": {
|
|
53717
|
+
"description": "API method documentation",
|
|
53718
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#unlink-external-idp-group-team-connection"
|
|
53719
|
+
},
|
|
53720
|
+
"x-octokit": {
|
|
53721
|
+
"ghes-3.6": "removed"
|
|
53722
|
+
},
|
|
53723
|
+
"responses": {
|
|
53724
|
+
"501": {
|
|
53725
|
+
"description": "Not Implemented"
|
|
53726
|
+
}
|
|
53727
|
+
}
|
|
53728
|
+
},
|
|
53729
|
+
"patch": {
|
|
53730
|
+
"summary": "Update the connection between an external group and a team",
|
|
53731
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in 3.6",
|
|
53732
|
+
"tags": [
|
|
53733
|
+
"teams"
|
|
53734
|
+
],
|
|
53735
|
+
"operationId": "teams/link-external-idp-group-to-team-for-org",
|
|
53736
|
+
"externalDocs": {
|
|
53737
|
+
"description": "API method documentation",
|
|
53738
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#link-external-idp-group-team-connection"
|
|
53739
|
+
},
|
|
53740
|
+
"x-octokit": {
|
|
53741
|
+
"ghes-3.6": "removed"
|
|
53742
|
+
},
|
|
53743
|
+
"responses": {
|
|
53744
|
+
"501": {
|
|
53745
|
+
"description": "Not Implemented"
|
|
53746
|
+
}
|
|
53747
|
+
}
|
|
53748
|
+
}
|
|
53749
|
+
},
|
|
53644
53750
|
"/repos/{owner}/{repo}/actions/permissions/workflow": {
|
|
53645
53751
|
"get": {
|
|
53646
53752
|
"summary": "Get default workflow permissions for a repository",
|
|
@@ -102062,7 +102168,7 @@
|
|
|
102062
102168
|
}
|
|
102063
102169
|
},
|
|
102064
102170
|
"code_scanning_forbidden_write": {
|
|
102065
|
-
"description": "Response if the repository is archived or if
|
|
102171
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
102066
102172
|
"content": {
|
|
102067
102173
|
"application/json": {
|
|
102068
102174
|
"schema": {
|
|
@@ -18645,12 +18645,6 @@
|
|
|
18645
18645
|
"delete",
|
|
18646
18646
|
"patch"
|
|
18647
18647
|
],
|
|
18648
|
-
"/orgs/{org}/external-group/{group_id}": [
|
|
18649
|
-
"get"
|
|
18650
|
-
],
|
|
18651
|
-
"/orgs/{org}/external-groups": [
|
|
18652
|
-
"get"
|
|
18653
|
-
],
|
|
18654
18648
|
"/orgs/{org}/failed_invitations": [
|
|
18655
18649
|
"get"
|
|
18656
18650
|
],
|
|
@@ -18727,11 +18721,6 @@
|
|
|
18727
18721
|
"/orgs/{org}/team-sync/groups": [
|
|
18728
18722
|
"get"
|
|
18729
18723
|
],
|
|
18730
|
-
"/orgs/{org}/teams/{team_slug}/external-groups": [
|
|
18731
|
-
"get",
|
|
18732
|
-
"delete",
|
|
18733
|
-
"patch"
|
|
18734
|
-
],
|
|
18735
18724
|
"/orgs/{org}/teams/{team_slug}/invitations": [
|
|
18736
18725
|
"get"
|
|
18737
18726
|
],
|
|
@@ -18766,6 +18755,12 @@
|
|
|
18766
18755
|
"put",
|
|
18767
18756
|
"delete"
|
|
18768
18757
|
],
|
|
18758
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases": [
|
|
18759
|
+
"get"
|
|
18760
|
+
],
|
|
18761
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": [
|
|
18762
|
+
"get"
|
|
18763
|
+
],
|
|
18769
18764
|
"/repos/{owner}/{repo}/codespaces": [
|
|
18770
18765
|
"get",
|
|
18771
18766
|
"post"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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.
|
|
4
|
+
"version": "7.13.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": {
|