@octokit/openapi 7.9.0 → 7.11.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 +2604 -719
- package/generated/api.github.com.json +539 -29
- 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 +8 -6
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +8 -6
- package/generated/ghes-3.2.deref.json +745 -128
- package/generated/ghes-3.2.json +35 -8
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +21 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +615 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +25 -1
- package/generated/ghes-3.3.deref.json +910 -293
- package/generated/ghes-3.3.json +35 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +2 -2
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +2 -2
- package/generated/ghes-3.4.deref.json +750 -128
- package/generated/ghes-3.4.json +37 -10
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +21 -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 +753 -132
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +32 -6
- package/generated/ghes-3.5.deref.json +915 -293
- package/generated/ghes-3.5.json +37 -10
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +46 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +125 -20
- package/generated/ghes-3.6-diff-to-api.github.com.json +110 -6
- package/generated/ghes-3.6.deref.json +1236 -419
- package/generated/ghes-3.6.json +142 -21
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +10 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +8 -6
- package/generated/github.ae-diff-to-api.github.com.json +8 -6
- package/generated/github.ae.deref.json +1001 -288
- package/generated/github.ae.json +127 -14
- package/package.json +1 -6
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.11.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": {
|
|
@@ -9637,7 +9637,7 @@
|
|
|
9637
9637
|
},
|
|
9638
9638
|
"examples": {
|
|
9639
9639
|
"default": {
|
|
9640
|
-
"$ref": "#/components/examples/organization-custom-repository-role-example
|
|
9640
|
+
"$ref": "#/components/examples/organization-custom-repository-role-example"
|
|
9641
9641
|
}
|
|
9642
9642
|
}
|
|
9643
9643
|
}
|
|
@@ -15658,8 +15658,9 @@
|
|
|
15658
15658
|
},
|
|
15659
15659
|
"use_squash_pr_title_as_default": {
|
|
15660
15660
|
"type": "boolean",
|
|
15661
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
15662
|
-
"default": false
|
|
15661
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
15662
|
+
"default": false,
|
|
15663
|
+
"deprecated": true
|
|
15663
15664
|
},
|
|
15664
15665
|
"squash_merge_commit_title": {
|
|
15665
15666
|
"type": "string",
|
|
@@ -16203,6 +16204,21 @@
|
|
|
16203
16204
|
}
|
|
16204
16205
|
},
|
|
16205
16206
|
"responses": {
|
|
16207
|
+
"200": {
|
|
16208
|
+
"description": "Response when the updated information already exists",
|
|
16209
|
+
"content": {
|
|
16210
|
+
"application/json": {
|
|
16211
|
+
"schema": {
|
|
16212
|
+
"$ref": "#/components/schemas/team-full"
|
|
16213
|
+
},
|
|
16214
|
+
"examples": {
|
|
16215
|
+
"default": {
|
|
16216
|
+
"$ref": "#/components/examples/team-full"
|
|
16217
|
+
}
|
|
16218
|
+
}
|
|
16219
|
+
}
|
|
16220
|
+
}
|
|
16221
|
+
},
|
|
16206
16222
|
"201": {
|
|
16207
16223
|
"description": "Response",
|
|
16208
16224
|
"content": {
|
|
@@ -16217,6 +16233,15 @@
|
|
|
16217
16233
|
}
|
|
16218
16234
|
}
|
|
16219
16235
|
}
|
|
16236
|
+
},
|
|
16237
|
+
"403": {
|
|
16238
|
+
"$ref": "#/components/responses/forbidden"
|
|
16239
|
+
},
|
|
16240
|
+
"404": {
|
|
16241
|
+
"$ref": "#/components/responses/not_found"
|
|
16242
|
+
},
|
|
16243
|
+
"422": {
|
|
16244
|
+
"$ref": "#/components/responses/validation_failed"
|
|
16220
16245
|
}
|
|
16221
16246
|
},
|
|
16222
16247
|
"x-github": {
|
|
@@ -19908,8 +19933,9 @@
|
|
|
19908
19933
|
},
|
|
19909
19934
|
"use_squash_pr_title_as_default": {
|
|
19910
19935
|
"type": "boolean",
|
|
19911
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
19912
|
-
"default": false
|
|
19936
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
19937
|
+
"default": false,
|
|
19938
|
+
"deprecated": true
|
|
19913
19939
|
},
|
|
19914
19940
|
"squash_merge_commit_title": {
|
|
19915
19941
|
"type": "string",
|
|
@@ -23072,7 +23098,7 @@
|
|
|
23072
23098
|
},
|
|
23073
23099
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
23074
23100
|
"get": {
|
|
23075
|
-
"summary": "List workflow runs",
|
|
23101
|
+
"summary": "List workflow runs for a workflow",
|
|
23076
23102
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
23077
23103
|
"tags": [
|
|
23078
23104
|
"actions"
|
|
@@ -29916,6 +29942,7 @@
|
|
|
29916
29942
|
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
|
|
29917
29943
|
"in": "path",
|
|
29918
29944
|
"required": true,
|
|
29945
|
+
"x-multi-segment": true,
|
|
29919
29946
|
"schema": {
|
|
29920
29947
|
"type": "string"
|
|
29921
29948
|
}
|
|
@@ -30276,7 +30303,7 @@
|
|
|
30276
30303
|
},
|
|
30277
30304
|
"sha": {
|
|
30278
30305
|
"type": "string",
|
|
30279
|
-
"description": "The blob SHA of the file being
|
|
30306
|
+
"description": "The blob SHA of the file being deleted."
|
|
30280
30307
|
},
|
|
30281
30308
|
"branch": {
|
|
30282
30309
|
"type": "string",
|
|
@@ -33268,7 +33295,7 @@
|
|
|
33268
33295
|
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
|
|
33269
33296
|
"get": {
|
|
33270
33297
|
"summary": "Get a tree",
|
|
33271
|
-
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.",
|
|
33298
|
+
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\n\n**Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.",
|
|
33272
33299
|
"tags": [
|
|
33273
33300
|
"git"
|
|
33274
33301
|
],
|
|
@@ -83151,7 +83178,7 @@
|
|
|
83151
83178
|
}
|
|
83152
83179
|
]
|
|
83153
83180
|
},
|
|
83154
|
-
"organization-custom-repository-role-example
|
|
83181
|
+
"organization-custom-repository-role-example": {
|
|
83155
83182
|
"value": {
|
|
83156
83183
|
"total_count": 2,
|
|
83157
83184
|
"custom_roles": [
|
|
@@ -17568,6 +17568,42 @@
|
|
|
17568
17568
|
}
|
|
17569
17569
|
}
|
|
17570
17570
|
},
|
|
17571
|
+
"/organizations/{organization_id}/custom_roles": {
|
|
17572
|
+
"get": {
|
|
17573
|
+
"responses": {
|
|
17574
|
+
"changed": {
|
|
17575
|
+
"200": {
|
|
17576
|
+
"content": {
|
|
17577
|
+
"changed": {
|
|
17578
|
+
"application/json": {
|
|
17579
|
+
"schema_changed": {
|
|
17580
|
+
"properties_changed": {
|
|
17581
|
+
"changed": {
|
|
17582
|
+
"custom_roles": {
|
|
17583
|
+
"items_changed": {
|
|
17584
|
+
"properties_changed": {
|
|
17585
|
+
"removed": [
|
|
17586
|
+
"base_role",
|
|
17587
|
+
"created_at",
|
|
17588
|
+
"description",
|
|
17589
|
+
"organization",
|
|
17590
|
+
"permissions",
|
|
17591
|
+
"updated_at"
|
|
17592
|
+
]
|
|
17593
|
+
}
|
|
17594
|
+
}
|
|
17595
|
+
}
|
|
17596
|
+
}
|
|
17597
|
+
}
|
|
17598
|
+
}
|
|
17599
|
+
}
|
|
17600
|
+
}
|
|
17601
|
+
}
|
|
17602
|
+
}
|
|
17603
|
+
}
|
|
17604
|
+
}
|
|
17605
|
+
}
|
|
17606
|
+
},
|
|
17571
17607
|
"/orgs/{org}": {
|
|
17572
17608
|
"get": {
|
|
17573
17609
|
"responses": {
|
|
@@ -18602,6 +18638,13 @@
|
|
|
18602
18638
|
"/orgs/{org}/credential-authorizations/{credential_id}": [
|
|
18603
18639
|
"delete"
|
|
18604
18640
|
],
|
|
18641
|
+
"/orgs/{org}/custom_roles": [
|
|
18642
|
+
"post"
|
|
18643
|
+
],
|
|
18644
|
+
"/orgs/{org}/custom_roles/{role_id}": [
|
|
18645
|
+
"delete",
|
|
18646
|
+
"patch"
|
|
18647
|
+
],
|
|
18605
18648
|
"/orgs/{org}/external-group/{group_id}": [
|
|
18606
18649
|
"get"
|
|
18607
18650
|
],
|
|
@@ -18611,6 +18654,9 @@
|
|
|
18611
18654
|
"/orgs/{org}/failed_invitations": [
|
|
18612
18655
|
"get"
|
|
18613
18656
|
],
|
|
18657
|
+
"/orgs/{org}/fine_grained_permissions": [
|
|
18658
|
+
"get"
|
|
18659
|
+
],
|
|
18614
18660
|
"/orgs/{org}/interaction-limits": [
|
|
18615
18661
|
"get",
|
|
18616
18662
|
"put",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.11.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": {
|
|
@@ -9553,8 +9553,9 @@
|
|
|
9553
9553
|
},
|
|
9554
9554
|
"use_squash_pr_title_as_default": {
|
|
9555
9555
|
"type": "boolean",
|
|
9556
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
9557
|
-
"default": false
|
|
9556
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
9557
|
+
"default": false,
|
|
9558
|
+
"deprecated": true
|
|
9558
9559
|
},
|
|
9559
9560
|
"squash_merge_commit_title": {
|
|
9560
9561
|
"type": "string",
|
|
@@ -21783,6 +21784,102 @@
|
|
|
21783
21784
|
}
|
|
21784
21785
|
}
|
|
21785
21786
|
},
|
|
21787
|
+
"/organizations/{organization_id}/custom_roles": {
|
|
21788
|
+
"get": {
|
|
21789
|
+
"summary": "List custom repository roles in an organization",
|
|
21790
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
21791
|
+
"tags": [
|
|
21792
|
+
"orgs"
|
|
21793
|
+
],
|
|
21794
|
+
"operationId": "orgs/list-custom-roles",
|
|
21795
|
+
"externalDocs": {
|
|
21796
|
+
"description": "API method documentation",
|
|
21797
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-custom-repository-roles-in-an-organization"
|
|
21798
|
+
},
|
|
21799
|
+
"parameters": [
|
|
21800
|
+
{
|
|
21801
|
+
"name": "organization_id",
|
|
21802
|
+
"description": "The unique identifier of the organization.",
|
|
21803
|
+
"in": "path",
|
|
21804
|
+
"required": true,
|
|
21805
|
+
"schema": {
|
|
21806
|
+
"type": "string"
|
|
21807
|
+
}
|
|
21808
|
+
}
|
|
21809
|
+
],
|
|
21810
|
+
"responses": {
|
|
21811
|
+
"200": {
|
|
21812
|
+
"description": "Response - list of custom role names",
|
|
21813
|
+
"content": {
|
|
21814
|
+
"application/json": {
|
|
21815
|
+
"schema": {
|
|
21816
|
+
"type": "object",
|
|
21817
|
+
"properties": {
|
|
21818
|
+
"total_count": {
|
|
21819
|
+
"description": "The number of custom roles in this organization",
|
|
21820
|
+
"example": 3,
|
|
21821
|
+
"type": "integer"
|
|
21822
|
+
},
|
|
21823
|
+
"custom_roles": {
|
|
21824
|
+
"type": "array",
|
|
21825
|
+
"items": {
|
|
21826
|
+
"title": "Organization Custom Repository Role",
|
|
21827
|
+
"description": "Custom repository roles created by organization administrators",
|
|
21828
|
+
"type": "object",
|
|
21829
|
+
"properties": {
|
|
21830
|
+
"id": {
|
|
21831
|
+
"description": "The unique identifier of the custom role.",
|
|
21832
|
+
"type": "integer"
|
|
21833
|
+
},
|
|
21834
|
+
"name": {
|
|
21835
|
+
"description": "The name of the custom role.",
|
|
21836
|
+
"type": "string"
|
|
21837
|
+
}
|
|
21838
|
+
},
|
|
21839
|
+
"required": [
|
|
21840
|
+
"id",
|
|
21841
|
+
"name"
|
|
21842
|
+
]
|
|
21843
|
+
}
|
|
21844
|
+
}
|
|
21845
|
+
}
|
|
21846
|
+
},
|
|
21847
|
+
"examples": {
|
|
21848
|
+
"default": {
|
|
21849
|
+
"value": {
|
|
21850
|
+
"total_count": 2,
|
|
21851
|
+
"custom_roles": [
|
|
21852
|
+
{
|
|
21853
|
+
"id": 8030,
|
|
21854
|
+
"name": "Developer"
|
|
21855
|
+
},
|
|
21856
|
+
{
|
|
21857
|
+
"id": 8031,
|
|
21858
|
+
"name": "Designer"
|
|
21859
|
+
}
|
|
21860
|
+
]
|
|
21861
|
+
}
|
|
21862
|
+
}
|
|
21863
|
+
}
|
|
21864
|
+
}
|
|
21865
|
+
}
|
|
21866
|
+
}
|
|
21867
|
+
},
|
|
21868
|
+
"x-github": {
|
|
21869
|
+
"githubCloudOnly": false,
|
|
21870
|
+
"enabledForGitHubApps": true,
|
|
21871
|
+
"category": "orgs",
|
|
21872
|
+
"subcategory": "custom_roles"
|
|
21873
|
+
},
|
|
21874
|
+
"x-octokit": {
|
|
21875
|
+
"diff": {
|
|
21876
|
+
"api.github.com": {
|
|
21877
|
+
"type": "changed"
|
|
21878
|
+
}
|
|
21879
|
+
}
|
|
21880
|
+
}
|
|
21881
|
+
}
|
|
21882
|
+
},
|
|
21786
21883
|
"/orgs/{org}": {
|
|
21787
21884
|
"get": {
|
|
21788
21885
|
"summary": "Get an organization",
|
|
@@ -30100,8 +30197,9 @@
|
|
|
30100
30197
|
},
|
|
30101
30198
|
"use_squash_pr_title_as_default": {
|
|
30102
30199
|
"type": "boolean",
|
|
30103
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
30104
|
-
"default": false
|
|
30200
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
30201
|
+
"default": false,
|
|
30202
|
+
"deprecated": true
|
|
30105
30203
|
},
|
|
30106
30204
|
"squash_merge_commit_title": {
|
|
30107
30205
|
"type": "string",
|
|
@@ -31866,8 +31964,9 @@
|
|
|
31866
31964
|
},
|
|
31867
31965
|
"use_squash_pr_title_as_default": {
|
|
31868
31966
|
"type": "boolean",
|
|
31869
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
31870
|
-
"default": false
|
|
31967
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
31968
|
+
"default": false,
|
|
31969
|
+
"deprecated": true
|
|
31871
31970
|
},
|
|
31872
31971
|
"squash_merge_commit_title": {
|
|
31873
31972
|
"type": "string",
|
|
@@ -32448,7 +32547,7 @@
|
|
|
32448
32547
|
},
|
|
32449
32548
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
32450
32549
|
"get": {
|
|
32451
|
-
"summary": "List workflow runs",
|
|
32550
|
+
"summary": "List workflow runs for a workflow",
|
|
32452
32551
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
32453
32552
|
"tags": [
|
|
32454
32553
|
"actions"
|
|
@@ -34640,8 +34739,9 @@
|
|
|
34640
34739
|
},
|
|
34641
34740
|
"use_squash_pr_title_as_default": {
|
|
34642
34741
|
"type": "boolean",
|
|
34643
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
34644
|
-
"default": false
|
|
34742
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
34743
|
+
"default": false,
|
|
34744
|
+
"deprecated": true
|
|
34645
34745
|
},
|
|
34646
34746
|
"squash_merge_commit_title": {
|
|
34647
34747
|
"type": "string",
|
|
@@ -36406,8 +36506,9 @@
|
|
|
36406
36506
|
},
|
|
36407
36507
|
"use_squash_pr_title_as_default": {
|
|
36408
36508
|
"type": "boolean",
|
|
36409
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
36410
|
-
"default": false
|
|
36509
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
36510
|
+
"default": false,
|
|
36511
|
+
"deprecated": true
|
|
36411
36512
|
},
|
|
36412
36513
|
"squash_merge_commit_title": {
|
|
36413
36514
|
"type": "string",
|
|
@@ -39910,8 +40011,9 @@
|
|
|
39910
40011
|
},
|
|
39911
40012
|
"use_squash_pr_title_as_default": {
|
|
39912
40013
|
"type": "boolean",
|
|
39913
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
39914
|
-
"default": false
|
|
40014
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
40015
|
+
"default": false,
|
|
40016
|
+
"deprecated": true
|
|
39915
40017
|
},
|
|
39916
40018
|
"squash_merge_commit_title": {
|
|
39917
40019
|
"type": "string",
|
|
@@ -41348,8 +41450,9 @@
|
|
|
41348
41450
|
},
|
|
41349
41451
|
"use_squash_pr_title_as_default": {
|
|
41350
41452
|
"type": "boolean",
|
|
41351
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
41352
|
-
"default": false
|
|
41453
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
41454
|
+
"default": false,
|
|
41455
|
+
"deprecated": true
|
|
41353
41456
|
},
|
|
41354
41457
|
"squash_merge_commit_title": {
|
|
41355
41458
|
"type": "string",
|
|
@@ -42541,8 +42644,9 @@
|
|
|
42541
42644
|
},
|
|
42542
42645
|
"use_squash_pr_title_as_default": {
|
|
42543
42646
|
"type": "boolean",
|
|
42544
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
42545
|
-
"default": false
|
|
42647
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
42648
|
+
"default": false,
|
|
42649
|
+
"deprecated": true
|
|
42546
42650
|
},
|
|
42547
42651
|
"squash_merge_commit_title": {
|
|
42548
42652
|
"type": "string",
|
|
@@ -51539,8 +51643,9 @@
|
|
|
51539
51643
|
},
|
|
51540
51644
|
"use_squash_pr_title_as_default": {
|
|
51541
51645
|
"type": "boolean",
|
|
51542
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
51543
|
-
"default": false
|
|
51646
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
51647
|
+
"default": false,
|
|
51648
|
+
"deprecated": true
|
|
51544
51649
|
},
|
|
51545
51650
|
"squash_merge_commit_title": {
|
|
51546
51651
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.11.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": {
|
|
@@ -4706,6 +4706,74 @@
|
|
|
4706
4706
|
}
|
|
4707
4707
|
}
|
|
4708
4708
|
},
|
|
4709
|
+
"/organizations/{organization_id}/custom_roles": {
|
|
4710
|
+
"get": {
|
|
4711
|
+
"summary": "List custom repository roles in an organization",
|
|
4712
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
4713
|
+
"tags": [
|
|
4714
|
+
"orgs"
|
|
4715
|
+
],
|
|
4716
|
+
"operationId": "orgs/list-custom-roles",
|
|
4717
|
+
"externalDocs": {
|
|
4718
|
+
"description": "API method documentation",
|
|
4719
|
+
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/orgs#list-custom-repository-roles-in-an-organization"
|
|
4720
|
+
},
|
|
4721
|
+
"parameters": [
|
|
4722
|
+
{
|
|
4723
|
+
"name": "organization_id",
|
|
4724
|
+
"description": "The unique identifier of the organization.",
|
|
4725
|
+
"in": "path",
|
|
4726
|
+
"required": true,
|
|
4727
|
+
"schema": {
|
|
4728
|
+
"type": "string"
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
],
|
|
4732
|
+
"responses": {
|
|
4733
|
+
"200": {
|
|
4734
|
+
"description": "Response - list of custom role names",
|
|
4735
|
+
"content": {
|
|
4736
|
+
"application/json": {
|
|
4737
|
+
"schema": {
|
|
4738
|
+
"type": "object",
|
|
4739
|
+
"properties": {
|
|
4740
|
+
"total_count": {
|
|
4741
|
+
"description": "The number of custom roles in this organization",
|
|
4742
|
+
"example": 3,
|
|
4743
|
+
"type": "integer"
|
|
4744
|
+
},
|
|
4745
|
+
"custom_roles": {
|
|
4746
|
+
"type": "array",
|
|
4747
|
+
"items": {
|
|
4748
|
+
"$ref": "#/components/schemas/organization-custom-repository-role"
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4752
|
+
},
|
|
4753
|
+
"examples": {
|
|
4754
|
+
"default": {
|
|
4755
|
+
"$ref": "#/components/examples/organization-custom-repository-role-example"
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
},
|
|
4762
|
+
"x-github": {
|
|
4763
|
+
"githubCloudOnly": false,
|
|
4764
|
+
"enabledForGitHubApps": true,
|
|
4765
|
+
"category": "orgs",
|
|
4766
|
+
"subcategory": "custom_roles"
|
|
4767
|
+
},
|
|
4768
|
+
"x-octokit": {
|
|
4769
|
+
"diff": {
|
|
4770
|
+
"api.github.com": {
|
|
4771
|
+
"type": "changed"
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
},
|
|
4709
4777
|
"/orgs/{org}": {
|
|
4710
4778
|
"get": {
|
|
4711
4779
|
"summary": "Get an organization",
|
|
@@ -6080,7 +6148,7 @@
|
|
|
6080
6148
|
},
|
|
6081
6149
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
6082
6150
|
"get": {
|
|
6083
|
-
"summary": "List workflow runs",
|
|
6151
|
+
"summary": "List workflow runs for a workflow",
|
|
6084
6152
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.6/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
6085
6153
|
"tags": [
|
|
6086
6154
|
"actions"
|
|
@@ -11291,6 +11359,25 @@
|
|
|
11291
11359
|
"verifiable_password_authentication"
|
|
11292
11360
|
]
|
|
11293
11361
|
},
|
|
11362
|
+
"organization-custom-repository-role": {
|
|
11363
|
+
"title": "Organization Custom Repository Role",
|
|
11364
|
+
"description": "Custom repository roles created by organization administrators",
|
|
11365
|
+
"type": "object",
|
|
11366
|
+
"properties": {
|
|
11367
|
+
"id": {
|
|
11368
|
+
"description": "The unique identifier of the custom role.",
|
|
11369
|
+
"type": "integer"
|
|
11370
|
+
},
|
|
11371
|
+
"name": {
|
|
11372
|
+
"description": "The name of the custom role.",
|
|
11373
|
+
"type": "string"
|
|
11374
|
+
}
|
|
11375
|
+
},
|
|
11376
|
+
"required": [
|
|
11377
|
+
"id",
|
|
11378
|
+
"name"
|
|
11379
|
+
]
|
|
11380
|
+
},
|
|
11294
11381
|
"organization-full": {
|
|
11295
11382
|
"title": "Organization Full",
|
|
11296
11383
|
"description": "Organization Full",
|
|
@@ -15260,8 +15347,9 @@
|
|
|
15260
15347
|
},
|
|
15261
15348
|
"use_squash_pr_title_as_default": {
|
|
15262
15349
|
"type": "boolean",
|
|
15263
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
15264
|
-
"default": false
|
|
15350
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
15351
|
+
"default": false,
|
|
15352
|
+
"deprecated": true
|
|
15265
15353
|
},
|
|
15266
15354
|
"squash_merge_commit_title": {
|
|
15267
15355
|
"type": "string",
|
|
@@ -17323,8 +17411,9 @@
|
|
|
17323
17411
|
},
|
|
17324
17412
|
"use_squash_pr_title_as_default": {
|
|
17325
17413
|
"type": "boolean",
|
|
17326
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
17327
|
-
"default": false
|
|
17414
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
17415
|
+
"default": false,
|
|
17416
|
+
"deprecated": true
|
|
17328
17417
|
},
|
|
17329
17418
|
"squash_merge_commit_title": {
|
|
17330
17419
|
"type": "string",
|
|
@@ -18775,6 +18864,21 @@
|
|
|
18775
18864
|
"installed_version": "3.6.0"
|
|
18776
18865
|
}
|
|
18777
18866
|
},
|
|
18867
|
+
"organization-custom-repository-role-example": {
|
|
18868
|
+
"value": {
|
|
18869
|
+
"total_count": 2,
|
|
18870
|
+
"custom_roles": [
|
|
18871
|
+
{
|
|
18872
|
+
"id": 8030,
|
|
18873
|
+
"name": "Developer"
|
|
18874
|
+
},
|
|
18875
|
+
{
|
|
18876
|
+
"id": 8031,
|
|
18877
|
+
"name": "Designer"
|
|
18878
|
+
}
|
|
18879
|
+
]
|
|
18880
|
+
}
|
|
18881
|
+
},
|
|
18778
18882
|
"organization-full-default-response": {
|
|
18779
18883
|
"summary": "Default response",
|
|
18780
18884
|
"value": {
|