@octokit/openapi 7.9.1 → 7.12.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 +2592 -690
- package/generated/api.github.com.json +567 -30
- 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 +763 -130
- package/generated/ghes-3.2.json +53 -10
- 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 +768 -135
- package/generated/ghes-3.3.json +53 -10
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +18 -2
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +18 -2
- package/generated/ghes-3.4.deref.json +768 -130
- package/generated/ghes-3.4.json +55 -12
- 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 +773 -135
- package/generated/ghes-3.5.json +55 -12
- 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 +141 -20
- package/generated/ghes-3.6-diff-to-api.github.com.json +126 -6
- package/generated/ghes-3.6.deref.json +1254 -421
- package/generated/ghes-3.6.json +160 -23
- 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 +24 -6
- package/generated/github.ae-diff-to-api.github.com.json +24 -6
- package/generated/github.ae.deref.json +1019 -290
- package/generated/github.ae.json +145 -16
- 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.12.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"
|
|
@@ -28353,6 +28379,22 @@
|
|
|
28353
28379
|
"default": "all"
|
|
28354
28380
|
}
|
|
28355
28381
|
},
|
|
28382
|
+
{
|
|
28383
|
+
"name": "permission",
|
|
28384
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
28385
|
+
"in": "query",
|
|
28386
|
+
"required": false,
|
|
28387
|
+
"schema": {
|
|
28388
|
+
"type": "string",
|
|
28389
|
+
"enum": [
|
|
28390
|
+
"pull",
|
|
28391
|
+
"triage",
|
|
28392
|
+
"push",
|
|
28393
|
+
"maintain",
|
|
28394
|
+
"admin"
|
|
28395
|
+
]
|
|
28396
|
+
}
|
|
28397
|
+
},
|
|
28356
28398
|
{
|
|
28357
28399
|
"$ref": "#/components/parameters/per-page"
|
|
28358
28400
|
},
|
|
@@ -29916,6 +29958,7 @@
|
|
|
29916
29958
|
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
|
|
29917
29959
|
"in": "path",
|
|
29918
29960
|
"required": true,
|
|
29961
|
+
"x-multi-segment": true,
|
|
29919
29962
|
"schema": {
|
|
29920
29963
|
"type": "string"
|
|
29921
29964
|
}
|
|
@@ -30057,7 +30100,7 @@
|
|
|
30057
30100
|
},
|
|
30058
30101
|
"put": {
|
|
30059
30102
|
"summary": "Create or update file contents",
|
|
30060
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
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.",
|
|
30061
30104
|
"tags": [
|
|
30062
30105
|
"repos"
|
|
30063
30106
|
],
|
|
@@ -30276,7 +30319,7 @@
|
|
|
30276
30319
|
},
|
|
30277
30320
|
"sha": {
|
|
30278
30321
|
"type": "string",
|
|
30279
|
-
"description": "The blob SHA of the file being
|
|
30322
|
+
"description": "The blob SHA of the file being deleted."
|
|
30280
30323
|
},
|
|
30281
30324
|
"branch": {
|
|
30282
30325
|
"type": "string",
|
|
@@ -33268,7 +33311,7 @@
|
|
|
33268
33311
|
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
|
|
33269
33312
|
"get": {
|
|
33270
33313
|
"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.",
|
|
33314
|
+
"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
33315
|
"tags": [
|
|
33273
33316
|
"git"
|
|
33274
33317
|
],
|
|
@@ -33341,7 +33384,7 @@
|
|
|
33341
33384
|
"/repos/{owner}/{repo}/hooks": {
|
|
33342
33385
|
"get": {
|
|
33343
33386
|
"summary": "List repository webhooks",
|
|
33344
|
-
"description": "",
|
|
33387
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
33345
33388
|
"tags": [
|
|
33346
33389
|
"repos"
|
|
33347
33390
|
],
|
|
@@ -83151,7 +83194,7 @@
|
|
|
83151
83194
|
}
|
|
83152
83195
|
]
|
|
83153
83196
|
},
|
|
83154
|
-
"organization-custom-repository-role-example
|
|
83197
|
+
"organization-custom-repository-role-example": {
|
|
83155
83198
|
"value": {
|
|
83156
83199
|
"total_count": 2,
|
|
83157
83200
|
"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.12.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",
|
|
@@ -37810,6 +37911,22 @@
|
|
|
37810
37911
|
"default": "all"
|
|
37811
37912
|
}
|
|
37812
37913
|
},
|
|
37914
|
+
{
|
|
37915
|
+
"name": "permission",
|
|
37916
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
37917
|
+
"in": "query",
|
|
37918
|
+
"required": false,
|
|
37919
|
+
"schema": {
|
|
37920
|
+
"type": "string",
|
|
37921
|
+
"enum": [
|
|
37922
|
+
"pull",
|
|
37923
|
+
"triage",
|
|
37924
|
+
"push",
|
|
37925
|
+
"maintain",
|
|
37926
|
+
"admin"
|
|
37927
|
+
]
|
|
37928
|
+
}
|
|
37929
|
+
},
|
|
37813
37930
|
{
|
|
37814
37931
|
"name": "per_page",
|
|
37815
37932
|
"description": "The number of results per page (max 100).",
|
|
@@ -39910,8 +40027,9 @@
|
|
|
39910
40027
|
},
|
|
39911
40028
|
"use_squash_pr_title_as_default": {
|
|
39912
40029
|
"type": "boolean",
|
|
39913
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
39914
|
-
"default": false
|
|
40030
|
+
"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.",
|
|
40031
|
+
"default": false,
|
|
40032
|
+
"deprecated": true
|
|
39915
40033
|
},
|
|
39916
40034
|
"squash_merge_commit_title": {
|
|
39917
40035
|
"type": "string",
|
|
@@ -41348,8 +41466,9 @@
|
|
|
41348
41466
|
},
|
|
41349
41467
|
"use_squash_pr_title_as_default": {
|
|
41350
41468
|
"type": "boolean",
|
|
41351
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
41352
|
-
"default": false
|
|
41469
|
+
"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.",
|
|
41470
|
+
"default": false,
|
|
41471
|
+
"deprecated": true
|
|
41353
41472
|
},
|
|
41354
41473
|
"squash_merge_commit_title": {
|
|
41355
41474
|
"type": "string",
|
|
@@ -42541,8 +42660,9 @@
|
|
|
42541
42660
|
},
|
|
42542
42661
|
"use_squash_pr_title_as_default": {
|
|
42543
42662
|
"type": "boolean",
|
|
42544
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
42545
|
-
"default": false
|
|
42663
|
+
"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.",
|
|
42664
|
+
"default": false,
|
|
42665
|
+
"deprecated": true
|
|
42546
42666
|
},
|
|
42547
42667
|
"squash_merge_commit_title": {
|
|
42548
42668
|
"type": "string",
|
|
@@ -51539,8 +51659,9 @@
|
|
|
51539
51659
|
},
|
|
51540
51660
|
"use_squash_pr_title_as_default": {
|
|
51541
51661
|
"type": "boolean",
|
|
51542
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
51543
|
-
"default": false
|
|
51662
|
+
"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.",
|
|
51663
|
+
"default": false,
|
|
51664
|
+
"deprecated": true
|
|
51544
51665
|
},
|
|
51545
51666
|
"squash_merge_commit_title": {
|
|
51546
51667
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.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"
|
|
@@ -6522,6 +6590,22 @@
|
|
|
6522
6590
|
"default": "all"
|
|
6523
6591
|
}
|
|
6524
6592
|
},
|
|
6593
|
+
{
|
|
6594
|
+
"name": "permission",
|
|
6595
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
6596
|
+
"in": "query",
|
|
6597
|
+
"required": false,
|
|
6598
|
+
"schema": {
|
|
6599
|
+
"type": "string",
|
|
6600
|
+
"enum": [
|
|
6601
|
+
"pull",
|
|
6602
|
+
"triage",
|
|
6603
|
+
"push",
|
|
6604
|
+
"maintain",
|
|
6605
|
+
"admin"
|
|
6606
|
+
]
|
|
6607
|
+
}
|
|
6608
|
+
},
|
|
6525
6609
|
{
|
|
6526
6610
|
"$ref": "#/components/parameters/per-page"
|
|
6527
6611
|
},
|
|
@@ -11291,6 +11375,25 @@
|
|
|
11291
11375
|
"verifiable_password_authentication"
|
|
11292
11376
|
]
|
|
11293
11377
|
},
|
|
11378
|
+
"organization-custom-repository-role": {
|
|
11379
|
+
"title": "Organization Custom Repository Role",
|
|
11380
|
+
"description": "Custom repository roles created by organization administrators",
|
|
11381
|
+
"type": "object",
|
|
11382
|
+
"properties": {
|
|
11383
|
+
"id": {
|
|
11384
|
+
"description": "The unique identifier of the custom role.",
|
|
11385
|
+
"type": "integer"
|
|
11386
|
+
},
|
|
11387
|
+
"name": {
|
|
11388
|
+
"description": "The name of the custom role.",
|
|
11389
|
+
"type": "string"
|
|
11390
|
+
}
|
|
11391
|
+
},
|
|
11392
|
+
"required": [
|
|
11393
|
+
"id",
|
|
11394
|
+
"name"
|
|
11395
|
+
]
|
|
11396
|
+
},
|
|
11294
11397
|
"organization-full": {
|
|
11295
11398
|
"title": "Organization Full",
|
|
11296
11399
|
"description": "Organization Full",
|
|
@@ -15260,8 +15363,9 @@
|
|
|
15260
15363
|
},
|
|
15261
15364
|
"use_squash_pr_title_as_default": {
|
|
15262
15365
|
"type": "boolean",
|
|
15263
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
15264
|
-
"default": false
|
|
15366
|
+
"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.",
|
|
15367
|
+
"default": false,
|
|
15368
|
+
"deprecated": true
|
|
15265
15369
|
},
|
|
15266
15370
|
"squash_merge_commit_title": {
|
|
15267
15371
|
"type": "string",
|
|
@@ -17323,8 +17427,9 @@
|
|
|
17323
17427
|
},
|
|
17324
17428
|
"use_squash_pr_title_as_default": {
|
|
17325
17429
|
"type": "boolean",
|
|
17326
|
-
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
17327
|
-
"default": false
|
|
17430
|
+
"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.",
|
|
17431
|
+
"default": false,
|
|
17432
|
+
"deprecated": true
|
|
17328
17433
|
},
|
|
17329
17434
|
"squash_merge_commit_title": {
|
|
17330
17435
|
"type": "string",
|
|
@@ -18775,6 +18880,21 @@
|
|
|
18775
18880
|
"installed_version": "3.6.0"
|
|
18776
18881
|
}
|
|
18777
18882
|
},
|
|
18883
|
+
"organization-custom-repository-role-example": {
|
|
18884
|
+
"value": {
|
|
18885
|
+
"total_count": 2,
|
|
18886
|
+
"custom_roles": [
|
|
18887
|
+
{
|
|
18888
|
+
"id": 8030,
|
|
18889
|
+
"name": "Developer"
|
|
18890
|
+
},
|
|
18891
|
+
{
|
|
18892
|
+
"id": 8031,
|
|
18893
|
+
"name": "Designer"
|
|
18894
|
+
}
|
|
18895
|
+
]
|
|
18896
|
+
}
|
|
18897
|
+
},
|
|
18778
18898
|
"organization-full-default-response": {
|
|
18779
18899
|
"summary": "Default response",
|
|
18780
18900
|
"value": {
|