@octokit/openapi 7.0.0 → 7.1.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 +831 -48
- package/generated/api.github.com.json +456 -36
- 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 +1 -8
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -8
- package/generated/ghes-3.2.deref.json +618 -37
- package/generated/ghes-3.2.json +437 -31
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +618 -37
- package/generated/ghes-3.3.json +437 -31
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -8
- package/generated/ghes-3.4.deref.json +618 -37
- package/generated/ghes-3.4.json +437 -31
- 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 +1 -8
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -8
- package/generated/ghes-3.5.deref.json +620 -39
- package/generated/ghes-3.5.json +439 -33
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +0 -56
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -164
- package/generated/ghes-3.6-diff-to-api.github.com.json +1 -130
- package/generated/ghes-3.6.deref.json +622 -53
- package/generated/ghes-3.6.json +441 -47
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -8
- package/generated/github.ae-diff-to-api.github.com.json +1 -8
- package/generated/github.ae.deref.json +613 -32
- package/generated/github.ae.json +437 -31
- package/index.js +2 -0
- package/package.json +1 -1
|
@@ -17507,62 +17507,6 @@
|
|
|
17507
17507
|
}
|
|
17508
17508
|
}
|
|
17509
17509
|
},
|
|
17510
|
-
"/repos/{owner}/{repo}/actions/permissions/access": {
|
|
17511
|
-
"get": {
|
|
17512
|
-
"responses": {
|
|
17513
|
-
"changed": {
|
|
17514
|
-
"200": {
|
|
17515
|
-
"content": {
|
|
17516
|
-
"changed": {
|
|
17517
|
-
"application/json": {
|
|
17518
|
-
"schema_changed": {
|
|
17519
|
-
"properties_changed": {
|
|
17520
|
-
"changed": {
|
|
17521
|
-
"access_level": {
|
|
17522
|
-
"enum_changed": {
|
|
17523
|
-
"added": false,
|
|
17524
|
-
"removed": false,
|
|
17525
|
-
"values_removed": [
|
|
17526
|
-
"user"
|
|
17527
|
-
]
|
|
17528
|
-
}
|
|
17529
|
-
}
|
|
17530
|
-
}
|
|
17531
|
-
}
|
|
17532
|
-
}
|
|
17533
|
-
}
|
|
17534
|
-
}
|
|
17535
|
-
}
|
|
17536
|
-
}
|
|
17537
|
-
}
|
|
17538
|
-
}
|
|
17539
|
-
},
|
|
17540
|
-
"put": {
|
|
17541
|
-
"request_body": {
|
|
17542
|
-
"content_changed": {
|
|
17543
|
-
"changed": {
|
|
17544
|
-
"application/json": {
|
|
17545
|
-
"schema_changed": {
|
|
17546
|
-
"properties_changed": {
|
|
17547
|
-
"changed": {
|
|
17548
|
-
"access_level": {
|
|
17549
|
-
"enum_changed": {
|
|
17550
|
-
"added": false,
|
|
17551
|
-
"removed": false,
|
|
17552
|
-
"values_removed": [
|
|
17553
|
-
"user"
|
|
17554
|
-
]
|
|
17555
|
-
}
|
|
17556
|
-
}
|
|
17557
|
-
}
|
|
17558
|
-
}
|
|
17559
|
-
}
|
|
17560
|
-
}
|
|
17561
|
-
}
|
|
17562
|
-
}
|
|
17563
|
-
}
|
|
17564
|
-
}
|
|
17565
|
-
},
|
|
17566
17510
|
"/repos/{owner}/{repo}/actions/permissions/selected-actions": {
|
|
17567
17511
|
"get": {
|
|
17568
17512
|
"responses": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.1.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": {
|
|
@@ -19091,169 +19091,6 @@
|
|
|
19091
19091
|
}
|
|
19092
19092
|
}
|
|
19093
19093
|
},
|
|
19094
|
-
"/repos/{owner}/{repo}/actions/permissions/access": {
|
|
19095
|
-
"get": {
|
|
19096
|
-
"summary": "Get the level of access for workflows outside of the repository",
|
|
19097
|
-
"description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
|
|
19098
|
-
"tags": [
|
|
19099
|
-
"actions"
|
|
19100
|
-
],
|
|
19101
|
-
"operationId": "actions/get-workflow-access-to-repository",
|
|
19102
|
-
"externalDocs": {
|
|
19103
|
-
"description": "API method documentation",
|
|
19104
|
-
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-workflow-access-level-to-a-repository"
|
|
19105
|
-
},
|
|
19106
|
-
"parameters": [
|
|
19107
|
-
{
|
|
19108
|
-
"name": "owner",
|
|
19109
|
-
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
19110
|
-
"in": "path",
|
|
19111
|
-
"required": true,
|
|
19112
|
-
"schema": {
|
|
19113
|
-
"type": "string"
|
|
19114
|
-
}
|
|
19115
|
-
},
|
|
19116
|
-
{
|
|
19117
|
-
"name": "repo",
|
|
19118
|
-
"description": "The name of the repository. The name is not case sensitive.",
|
|
19119
|
-
"in": "path",
|
|
19120
|
-
"required": true,
|
|
19121
|
-
"schema": {
|
|
19122
|
-
"type": "string"
|
|
19123
|
-
}
|
|
19124
|
-
}
|
|
19125
|
-
],
|
|
19126
|
-
"responses": {
|
|
19127
|
-
"200": {
|
|
19128
|
-
"description": "Response",
|
|
19129
|
-
"content": {
|
|
19130
|
-
"application/json": {
|
|
19131
|
-
"schema": {
|
|
19132
|
-
"type": "object",
|
|
19133
|
-
"properties": {
|
|
19134
|
-
"access_level": {
|
|
19135
|
-
"type": "string",
|
|
19136
|
-
"description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository. `none` means access is only possible from workflows in this repository.",
|
|
19137
|
-
"enum": [
|
|
19138
|
-
"none",
|
|
19139
|
-
"organization",
|
|
19140
|
-
"enterprise"
|
|
19141
|
-
]
|
|
19142
|
-
}
|
|
19143
|
-
},
|
|
19144
|
-
"required": [
|
|
19145
|
-
"access_level"
|
|
19146
|
-
]
|
|
19147
|
-
},
|
|
19148
|
-
"examples": {
|
|
19149
|
-
"default": {
|
|
19150
|
-
"value": {
|
|
19151
|
-
"access_level": "organization"
|
|
19152
|
-
}
|
|
19153
|
-
}
|
|
19154
|
-
}
|
|
19155
|
-
}
|
|
19156
|
-
}
|
|
19157
|
-
}
|
|
19158
|
-
},
|
|
19159
|
-
"x-github": {
|
|
19160
|
-
"githubCloudOnly": false,
|
|
19161
|
-
"enabledForGitHubApps": true,
|
|
19162
|
-
"previews": [],
|
|
19163
|
-
"category": "actions",
|
|
19164
|
-
"subcategory": "permissions"
|
|
19165
|
-
},
|
|
19166
|
-
"x-octokit": {
|
|
19167
|
-
"diff": {
|
|
19168
|
-
"api.github.com": {
|
|
19169
|
-
"type": "changed"
|
|
19170
|
-
}
|
|
19171
|
-
}
|
|
19172
|
-
}
|
|
19173
|
-
},
|
|
19174
|
-
"put": {
|
|
19175
|
-
"summary": "Set the level of access for workflows outside of the repository",
|
|
19176
|
-
"description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
|
|
19177
|
-
"tags": [
|
|
19178
|
-
"actions"
|
|
19179
|
-
],
|
|
19180
|
-
"operationId": "actions/set-workflow-access-to-repository",
|
|
19181
|
-
"externalDocs": {
|
|
19182
|
-
"description": "API method documentation",
|
|
19183
|
-
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-workflow-access-to-a-repository"
|
|
19184
|
-
},
|
|
19185
|
-
"parameters": [
|
|
19186
|
-
{
|
|
19187
|
-
"name": "owner",
|
|
19188
|
-
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
19189
|
-
"in": "path",
|
|
19190
|
-
"required": true,
|
|
19191
|
-
"schema": {
|
|
19192
|
-
"type": "string"
|
|
19193
|
-
}
|
|
19194
|
-
},
|
|
19195
|
-
{
|
|
19196
|
-
"name": "repo",
|
|
19197
|
-
"description": "The name of the repository. The name is not case sensitive.",
|
|
19198
|
-
"in": "path",
|
|
19199
|
-
"required": true,
|
|
19200
|
-
"schema": {
|
|
19201
|
-
"type": "string"
|
|
19202
|
-
}
|
|
19203
|
-
}
|
|
19204
|
-
],
|
|
19205
|
-
"requestBody": {
|
|
19206
|
-
"required": true,
|
|
19207
|
-
"content": {
|
|
19208
|
-
"application/json": {
|
|
19209
|
-
"schema": {
|
|
19210
|
-
"type": "object",
|
|
19211
|
-
"properties": {
|
|
19212
|
-
"access_level": {
|
|
19213
|
-
"type": "string",
|
|
19214
|
-
"description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository. `none` means access is only possible from workflows in this repository.",
|
|
19215
|
-
"enum": [
|
|
19216
|
-
"none",
|
|
19217
|
-
"organization",
|
|
19218
|
-
"enterprise"
|
|
19219
|
-
]
|
|
19220
|
-
}
|
|
19221
|
-
},
|
|
19222
|
-
"required": [
|
|
19223
|
-
"access_level"
|
|
19224
|
-
]
|
|
19225
|
-
},
|
|
19226
|
-
"examples": {
|
|
19227
|
-
"default": {
|
|
19228
|
-
"value": {
|
|
19229
|
-
"access_level": "organization"
|
|
19230
|
-
}
|
|
19231
|
-
}
|
|
19232
|
-
}
|
|
19233
|
-
}
|
|
19234
|
-
}
|
|
19235
|
-
},
|
|
19236
|
-
"responses": {
|
|
19237
|
-
"204": {
|
|
19238
|
-
"description": "Response"
|
|
19239
|
-
}
|
|
19240
|
-
},
|
|
19241
|
-
"x-github": {
|
|
19242
|
-
"githubCloudOnly": false,
|
|
19243
|
-
"enabledForGitHubApps": true,
|
|
19244
|
-
"previews": [],
|
|
19245
|
-
"category": "actions",
|
|
19246
|
-
"subcategory": "permissions"
|
|
19247
|
-
},
|
|
19248
|
-
"x-octokit": {
|
|
19249
|
-
"diff": {
|
|
19250
|
-
"api.github.com": {
|
|
19251
|
-
"type": "changed"
|
|
19252
|
-
}
|
|
19253
|
-
}
|
|
19254
|
-
}
|
|
19255
|
-
}
|
|
19256
|
-
},
|
|
19257
19094
|
"/repos/{owner}/{repo}/actions/permissions/selected-actions": {
|
|
19258
19095
|
"get": {
|
|
19259
19096
|
"summary": "Get allowed actions for a repository",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.1.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": {
|
|
@@ -5185,113 +5185,6 @@
|
|
|
5185
5185
|
}
|
|
5186
5186
|
}
|
|
5187
5187
|
},
|
|
5188
|
-
"/repos/{owner}/{repo}/actions/permissions/access": {
|
|
5189
|
-
"get": {
|
|
5190
|
-
"summary": "Get the level of access for workflows outside of the repository",
|
|
5191
|
-
"description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
|
|
5192
|
-
"tags": [
|
|
5193
|
-
"actions"
|
|
5194
|
-
],
|
|
5195
|
-
"operationId": "actions/get-workflow-access-to-repository",
|
|
5196
|
-
"externalDocs": {
|
|
5197
|
-
"description": "API method documentation",
|
|
5198
|
-
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-workflow-access-level-to-a-repository"
|
|
5199
|
-
},
|
|
5200
|
-
"parameters": [
|
|
5201
|
-
{
|
|
5202
|
-
"$ref": "#/components/parameters/owner"
|
|
5203
|
-
},
|
|
5204
|
-
{
|
|
5205
|
-
"$ref": "#/components/parameters/repo"
|
|
5206
|
-
}
|
|
5207
|
-
],
|
|
5208
|
-
"responses": {
|
|
5209
|
-
"200": {
|
|
5210
|
-
"description": "Response",
|
|
5211
|
-
"content": {
|
|
5212
|
-
"application/json": {
|
|
5213
|
-
"schema": {
|
|
5214
|
-
"$ref": "#/components/schemas/actions-workflow-access-to-repository"
|
|
5215
|
-
},
|
|
5216
|
-
"examples": {
|
|
5217
|
-
"default": {
|
|
5218
|
-
"$ref": "#/components/examples/actions-workflow-access-to-repository"
|
|
5219
|
-
}
|
|
5220
|
-
}
|
|
5221
|
-
}
|
|
5222
|
-
}
|
|
5223
|
-
}
|
|
5224
|
-
},
|
|
5225
|
-
"x-github": {
|
|
5226
|
-
"githubCloudOnly": false,
|
|
5227
|
-
"enabledForGitHubApps": true,
|
|
5228
|
-
"previews": [],
|
|
5229
|
-
"category": "actions",
|
|
5230
|
-
"subcategory": "permissions"
|
|
5231
|
-
},
|
|
5232
|
-
"x-octokit": {
|
|
5233
|
-
"diff": {
|
|
5234
|
-
"api.github.com": {
|
|
5235
|
-
"type": "changed"
|
|
5236
|
-
}
|
|
5237
|
-
}
|
|
5238
|
-
}
|
|
5239
|
-
},
|
|
5240
|
-
"put": {
|
|
5241
|
-
"summary": "Set the level of access for workflows outside of the repository",
|
|
5242
|
-
"description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
|
|
5243
|
-
"tags": [
|
|
5244
|
-
"actions"
|
|
5245
|
-
],
|
|
5246
|
-
"operationId": "actions/set-workflow-access-to-repository",
|
|
5247
|
-
"externalDocs": {
|
|
5248
|
-
"description": "API method documentation",
|
|
5249
|
-
"url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-workflow-access-to-a-repository"
|
|
5250
|
-
},
|
|
5251
|
-
"parameters": [
|
|
5252
|
-
{
|
|
5253
|
-
"$ref": "#/components/parameters/owner"
|
|
5254
|
-
},
|
|
5255
|
-
{
|
|
5256
|
-
"$ref": "#/components/parameters/repo"
|
|
5257
|
-
}
|
|
5258
|
-
],
|
|
5259
|
-
"requestBody": {
|
|
5260
|
-
"required": true,
|
|
5261
|
-
"content": {
|
|
5262
|
-
"application/json": {
|
|
5263
|
-
"schema": {
|
|
5264
|
-
"$ref": "#/components/schemas/actions-workflow-access-to-repository"
|
|
5265
|
-
},
|
|
5266
|
-
"examples": {
|
|
5267
|
-
"default": {
|
|
5268
|
-
"$ref": "#/components/examples/actions-workflow-access-to-repository"
|
|
5269
|
-
}
|
|
5270
|
-
}
|
|
5271
|
-
}
|
|
5272
|
-
}
|
|
5273
|
-
},
|
|
5274
|
-
"responses": {
|
|
5275
|
-
"204": {
|
|
5276
|
-
"description": "Response"
|
|
5277
|
-
}
|
|
5278
|
-
},
|
|
5279
|
-
"x-github": {
|
|
5280
|
-
"githubCloudOnly": false,
|
|
5281
|
-
"enabledForGitHubApps": true,
|
|
5282
|
-
"previews": [],
|
|
5283
|
-
"category": "actions",
|
|
5284
|
-
"subcategory": "permissions"
|
|
5285
|
-
},
|
|
5286
|
-
"x-octokit": {
|
|
5287
|
-
"diff": {
|
|
5288
|
-
"api.github.com": {
|
|
5289
|
-
"type": "changed"
|
|
5290
|
-
}
|
|
5291
|
-
}
|
|
5292
|
-
}
|
|
5293
|
-
}
|
|
5294
|
-
},
|
|
5295
5188
|
"/repos/{owner}/{repo}/actions/permissions/selected-actions": {
|
|
5296
5189
|
"get": {
|
|
5297
5190
|
"summary": "Get allowed actions for a repository",
|
|
@@ -10395,23 +10288,6 @@
|
|
|
10395
10288
|
"repo_cache_size_limit_in_gb"
|
|
10396
10289
|
]
|
|
10397
10290
|
},
|
|
10398
|
-
"actions-workflow-access-to-repository": {
|
|
10399
|
-
"type": "object",
|
|
10400
|
-
"properties": {
|
|
10401
|
-
"access_level": {
|
|
10402
|
-
"type": "string",
|
|
10403
|
-
"description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository. `none` means access is only possible from workflows in this repository.",
|
|
10404
|
-
"enum": [
|
|
10405
|
-
"none",
|
|
10406
|
-
"organization",
|
|
10407
|
-
"enterprise"
|
|
10408
|
-
]
|
|
10409
|
-
}
|
|
10410
|
-
},
|
|
10411
|
-
"required": [
|
|
10412
|
-
"access_level"
|
|
10413
|
-
]
|
|
10414
|
-
},
|
|
10415
10291
|
"autolink": {
|
|
10416
10292
|
"title": "Autolink reference",
|
|
10417
10293
|
"description": "An autolink reference.",
|
|
@@ -16513,11 +16389,6 @@
|
|
|
16513
16389
|
"repo_cache_size_limit_in_gb": 14
|
|
16514
16390
|
}
|
|
16515
16391
|
},
|
|
16516
|
-
"actions-workflow-access-to-repository": {
|
|
16517
|
-
"value": {
|
|
16518
|
-
"access_level": "organization"
|
|
16519
|
-
}
|
|
16520
|
-
},
|
|
16521
16392
|
"autolink-items": {
|
|
16522
16393
|
"value": [
|
|
16523
16394
|
{
|