@octokit/openapi 6.2.1 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/generated/api.github.com.deref.json +7689 -7772
  2. package/generated/api.github.com.json +1344 -1295
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +50 -3
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
  7. package/generated/ghes-3.2.deref.json +73 -7
  8. package/generated/ghes-3.2.json +89 -28
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +31 -4
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
  12. package/generated/ghes-3.3.deref.json +76 -10
  13. package/generated/ghes-3.3.json +92 -31
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +97 -19
  17. package/generated/ghes-3.4.json +105 -40
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +71 -25
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -574
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +206 -272
  21. package/generated/ghes-3.5.deref.json +115 -52
  22. package/generated/ghes-3.5.json +131 -77
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +97 -4
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +294 -12
  26. package/generated/github.ae.deref.json +92 -119
  27. package/generated/github.ae.json +118 -95
  28. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.4.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -54010,7 +54010,7 @@
54010
54010
  "selected_repository_ids": {
54011
54011
  "type": "array",
54012
54012
  "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
54013
- "items": { "type": "string" }
54013
+ "items": { "type": "integer" }
54014
54014
  }
54015
54015
  },
54016
54016
  "required": ["visibility"]
@@ -54021,7 +54021,7 @@
54021
54021
  "encrypted_value": "c2VjcmV0",
54022
54022
  "key_id": "012345678912345678",
54023
54023
  "visibility": "selected",
54024
- "selected_repository_ids": ["1296269", "1296280"]
54024
+ "selected_repository_ids": [1296269, 1296280]
54025
54025
  }
54026
54026
  }
54027
54027
  }
@@ -54052,7 +54052,7 @@
54052
54052
  "category": "actions",
54053
54053
  "subcategory": "secrets"
54054
54054
  },
54055
- "x-octokit": {}
54055
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
54056
54056
  },
54057
54057
  "delete": {
54058
54058
  "summary": "Delete an organization secret",
@@ -109569,7 +109569,7 @@
109569
109569
  },
109570
109570
  "url_template": {
109571
109571
  "type": "string",
109572
- "description": "The URL must contain <num> for the reference number."
109572
+ "description": "The URL must contain `<num>` for the reference number."
109573
109573
  }
109574
109574
  },
109575
109575
  "required": ["key_prefix", "url_template"]
@@ -136213,7 +136213,6 @@
136213
136213
  "200": {
136214
136214
  "description": "Response",
136215
136215
  "content": {
136216
- "application/json+sarif": { "schema": { "type": "string" } },
136217
136216
  "application/json": {
136218
136217
  "schema": {
136219
136218
  "type": "object",
@@ -136319,7 +136318,7 @@
136319
136318
  },
136320
136319
  "examples": {
136321
136320
  "response": {
136322
- "summary": "Default response",
136321
+ "summary": "application/json response",
136323
136322
  "value": {
136324
136323
  "ref": "refs/heads/main",
136325
136324
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -136343,6 +136342,54 @@
136343
136342
  }
136344
136343
  }
136345
136344
  }
136345
+ },
136346
+ "application/json+sarif": {
136347
+ "schema": { "type": "object", "additionalProperties": true },
136348
+ "examples": {
136349
+ "response": {
136350
+ "summary": "application/json+sarif response",
136351
+ "value": {
136352
+ "runs": [
136353
+ {
136354
+ "tool": {
136355
+ "driver": {
136356
+ "name": "CodeQL",
136357
+ "organization": "GitHub",
136358
+ "semanticVersion": "1.0.0",
136359
+ "rules": [
136360
+ {
136361
+ "id": "js/unused-local-variable",
136362
+ "name": "js/unused-local-variable"
136363
+ }
136364
+ ]
136365
+ }
136366
+ },
136367
+ "results": [
136368
+ {
136369
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
136370
+ "message": { "text": "Unused variable foo." },
136371
+ "locations": [
136372
+ {
136373
+ "physicalLocation": {
136374
+ "artifactLocation": { "uri": "file1.js" },
136375
+ "region": { "startLine": 1 }
136376
+ }
136377
+ }
136378
+ ],
136379
+ "ruleId": "js/unused-local-variable",
136380
+ "properties": [
136381
+ { "github/alertNumber": 2 },
136382
+ {
136383
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
136384
+ }
136385
+ ]
136386
+ }
136387
+ ]
136388
+ }
136389
+ ]
136390
+ }
136391
+ }
136392
+ }
136346
136393
  }
136347
136394
  }
136348
136395
  },
@@ -136644,6 +136691,15 @@
136644
136691
  }
136645
136692
  },
136646
136693
  "required": ["commit_sha", "ref", "sarif"]
136694
+ },
136695
+ "examples": {
136696
+ "default": {
136697
+ "value": {
136698
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
136699
+ "ref": "refs/heads/master",
136700
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
136701
+ }
136702
+ }
136647
136703
  }
136648
136704
  }
136649
136705
  }
@@ -197121,7 +197177,7 @@
197121
197177
  "operationId": "issues/remove-assignees",
197122
197178
  "externalDocs": {
197123
197179
  "description": "API method documentation",
197124
- "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/issues#remove-assignees-from-an-issue"
197180
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
197125
197181
  },
197126
197182
  "parameters": [
197127
197183
  {
@@ -197147,6 +197203,7 @@
197147
197203
  }
197148
197204
  ],
197149
197205
  "requestBody": {
197206
+ "required": true,
197150
197207
  "content": {
197151
197208
  "application/json": {
197152
197209
  "schema": {
@@ -197157,7 +197214,8 @@
197157
197214
  "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
197158
197215
  "items": { "type": "string" }
197159
197216
  }
197160
- }
197217
+ },
197218
+ "required": ["assignees"]
197161
197219
  },
197162
197220
  "examples": {
197163
197221
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -198588,6 +198646,9 @@
198588
198646
  "allow_auto_merge": { "type": "boolean" },
198589
198647
  "delete_branch_on_merge": { "type": "boolean" },
198590
198648
  "allow_update_branch": { "type": "boolean" },
198649
+ "use_squash_pr_title_as_default": {
198650
+ "type": "boolean"
198651
+ },
198591
198652
  "allow_merge_commit": { "type": "boolean" },
198592
198653
  "subscribers_count": { "type": "integer" },
198593
198654
  "network_count": { "type": "integer" }
@@ -198618,6 +198679,11 @@
198618
198679
  "type": "boolean",
198619
198680
  "example": false
198620
198681
  },
198682
+ "use_squash_pr_title_as_default": {
198683
+ "type": "boolean",
198684
+ "description": "Whether a squash merge commit can use the pull request title as default.",
198685
+ "default": false
198686
+ },
198621
198687
  "allow_merge_commit": {
198622
198688
  "description": "Whether to allow merge commits for pull requests.",
198623
198689
  "default": true,
@@ -327961,7 +328027,7 @@
327961
328027
  "operationId": "dependabot/create-or-update-org-secret",
327962
328028
  "externalDocs": {
327963
328029
  "description": "API method documentation",
327964
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret"
328030
+ "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
327965
328031
  },
327966
328032
  "x-octokit": { "ghes-3.4": "removed" },
327967
328033
  "responses": { "501": { "description": "Not Implemented" } }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.4.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -8483,7 +8483,7 @@
8483
8483
  "selected_repository_ids": {
8484
8484
  "type": "array",
8485
8485
  "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
8486
- "items": { "type": "string" }
8486
+ "items": { "type": "integer" }
8487
8487
  }
8488
8488
  },
8489
8489
  "required": ["visibility"]
@@ -8494,7 +8494,7 @@
8494
8494
  "encrypted_value": "c2VjcmV0",
8495
8495
  "key_id": "012345678912345678",
8496
8496
  "visibility": "selected",
8497
- "selected_repository_ids": ["1296269", "1296280"]
8497
+ "selected_repository_ids": [1296269, 1296280]
8498
8498
  }
8499
8499
  }
8500
8500
  }
@@ -8519,7 +8519,7 @@
8519
8519
  "category": "actions",
8520
8520
  "subcategory": "secrets"
8521
8521
  },
8522
- "x-octokit": {}
8522
+ "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
8523
8523
  },
8524
8524
  "delete": {
8525
8525
  "summary": "Delete an organization secret",
@@ -15548,7 +15548,7 @@
15548
15548
  },
15549
15549
  "url_template": {
15550
15550
  "type": "string",
15551
- "description": "The URL must contain <num> for the reference number."
15551
+ "description": "The URL must contain `<num>` for the reference number."
15552
15552
  }
15553
15553
  },
15554
15554
  "required": ["key_prefix", "url_template"]
@@ -18960,7 +18960,6 @@
18960
18960
  "200": {
18961
18961
  "description": "Response",
18962
18962
  "content": {
18963
- "application/json+sarif": { "schema": { "type": "string" } },
18964
18963
  "application/json": {
18965
18964
  "schema": {
18966
18965
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -18970,6 +18969,14 @@
18970
18969
  "$ref": "#/components/examples/code-scanning-analysis-default"
18971
18970
  }
18972
18971
  }
18972
+ },
18973
+ "application/json+sarif": {
18974
+ "schema": { "type": "object", "additionalProperties": true },
18975
+ "examples": {
18976
+ "response": {
18977
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
18978
+ }
18979
+ }
18973
18980
  }
18974
18981
  }
18975
18982
  },
@@ -19089,6 +19096,15 @@
19089
19096
  }
19090
19097
  },
19091
19098
  "required": ["commit_sha", "ref", "sarif"]
19099
+ },
19100
+ "examples": {
19101
+ "default": {
19102
+ "value": {
19103
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
19104
+ "ref": "refs/heads/master",
19105
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
19106
+ }
19107
+ }
19092
19108
  }
19093
19109
  }
19094
19110
  }
@@ -21521,7 +21537,7 @@
21521
21537
  }
21522
21538
  },
21523
21539
  "deployment_branch_policy": {
21524
- "$ref": "#/components/schemas/deployment_branch_policy"
21540
+ "$ref": "#/components/schemas/deployment-branch-policy"
21525
21541
  }
21526
21542
  },
21527
21543
  "additionalProperties": false
@@ -24244,7 +24260,7 @@
24244
24260
  "operationId": "issues/remove-assignees",
24245
24261
  "externalDocs": {
24246
24262
  "description": "API method documentation",
24247
- "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/issues#remove-assignees-from-an-issue"
24263
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
24248
24264
  },
24249
24265
  "parameters": [
24250
24266
  { "$ref": "#/components/parameters/owner" },
@@ -24252,6 +24268,7 @@
24252
24268
  { "$ref": "#/components/parameters/issue-number" }
24253
24269
  ],
24254
24270
  "requestBody": {
24271
+ "required": true,
24255
24272
  "content": {
24256
24273
  "application/json": {
24257
24274
  "schema": {
@@ -24262,7 +24279,8 @@
24262
24279
  "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
24263
24280
  "items": { "type": "string" }
24264
24281
  }
24265
- }
24282
+ },
24283
+ "required": ["assignees"]
24266
24284
  },
24267
24285
  "examples": {
24268
24286
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -37425,7 +37443,7 @@
37425
37443
  "operationId": "dependabot/create-or-update-org-secret",
37426
37444
  "externalDocs": {
37427
37445
  "description": "API method documentation",
37428
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret"
37446
+ "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
37429
37447
  },
37430
37448
  "x-octokit": { "ghes-3.4.json": "removed" },
37431
37449
  "responses": { "501": { "description": "Not Implemented" } }
@@ -40688,7 +40706,7 @@
40688
40706
  ],
40689
40707
  "nullable": true
40690
40708
  },
40691
- "author_association": {
40709
+ "author-association": {
40692
40710
  "title": "author_association",
40693
40711
  "type": "string",
40694
40712
  "example": "OWNER",
@@ -40854,7 +40872,7 @@
40854
40872
  "$ref": "#/components/schemas/nullable-integration"
40855
40873
  },
40856
40874
  "author_association": {
40857
- "$ref": "#/components/schemas/author_association"
40875
+ "$ref": "#/components/schemas/author-association"
40858
40876
  },
40859
40877
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
40860
40878
  },
@@ -40920,7 +40938,7 @@
40920
40938
  },
40921
40939
  "issue_url": { "type": "string", "format": "uri" },
40922
40940
  "author_association": {
40923
- "$ref": "#/components/schemas/author_association"
40941
+ "$ref": "#/components/schemas/author-association"
40924
40942
  },
40925
40943
  "performed_via_github_app": {
40926
40944
  "$ref": "#/components/schemas/nullable-integration"
@@ -41395,7 +41413,7 @@
41395
41413
  "example": "2011-04-18T23:23:56Z"
41396
41414
  },
41397
41415
  "author_association": {
41398
- "$ref": "#/components/schemas/author_association"
41416
+ "$ref": "#/components/schemas/author-association"
41399
41417
  }
41400
41418
  },
41401
41419
  "required": [
@@ -47526,7 +47544,7 @@
47526
47544
  "created_at": { "type": "string", "format": "date-time" },
47527
47545
  "updated_at": { "type": "string", "format": "date-time" },
47528
47546
  "author_association": {
47529
- "$ref": "#/components/schemas/author_association"
47547
+ "$ref": "#/components/schemas/author-association"
47530
47548
  },
47531
47549
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
47532
47550
  },
@@ -47571,7 +47589,7 @@
47571
47589
  "properties": { "href": { "type": "string" } },
47572
47590
  "required": ["href"]
47573
47591
  },
47574
- "auto_merge": {
47592
+ "auto-merge": {
47575
47593
  "title": "Auto merge",
47576
47594
  "description": "The status of auto merging a pull request.",
47577
47595
  "type": "object",
@@ -47787,9 +47805,9 @@
47787
47805
  ]
47788
47806
  },
47789
47807
  "author_association": {
47790
- "$ref": "#/components/schemas/author_association"
47808
+ "$ref": "#/components/schemas/author-association"
47791
47809
  },
47792
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
47810
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
47793
47811
  "draft": {
47794
47812
  "description": "Indicates whether or not the pull request is a draft.",
47795
47813
  "example": false,
@@ -48513,7 +48531,7 @@
48513
48531
  "example": 30,
48514
48532
  "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
48515
48533
  },
48516
- "deployment_branch_policy": {
48534
+ "deployment-branch-policy": {
48517
48535
  "type": "object",
48518
48536
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
48519
48537
  "properties": {
@@ -48634,7 +48652,7 @@
48634
48652
  }
48635
48653
  },
48636
48654
  "deployment_branch_policy": {
48637
- "$ref": "#/components/schemas/deployment_branch_policy"
48655
+ "$ref": "#/components/schemas/deployment-branch-policy"
48638
48656
  }
48639
48657
  },
48640
48658
  "required": [
@@ -49151,7 +49169,7 @@
49151
49169
  "$ref": "#/components/schemas/nullable-integration"
49152
49170
  },
49153
49171
  "author_association": {
49154
- "$ref": "#/components/schemas/author_association"
49172
+ "$ref": "#/components/schemas/author-association"
49155
49173
  },
49156
49174
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
49157
49175
  },
@@ -49281,7 +49299,7 @@
49281
49299
  },
49282
49300
  "rename": { "$ref": "#/components/schemas/issue-event-rename" },
49283
49301
  "author_association": {
49284
- "$ref": "#/components/schemas/author_association"
49302
+ "$ref": "#/components/schemas/author-association"
49285
49303
  },
49286
49304
  "lock_reason": { "type": "string", "nullable": true },
49287
49305
  "performed_via_github_app": {
@@ -49984,7 +50002,7 @@
49984
50002
  },
49985
50003
  "issue_url": { "type": "string", "format": "uri" },
49986
50004
  "author_association": {
49987
- "$ref": "#/components/schemas/author_association"
50005
+ "$ref": "#/components/schemas/author-association"
49988
50006
  },
49989
50007
  "performed_via_github_app": {
49990
50008
  "$ref": "#/components/schemas/nullable-integration"
@@ -50199,7 +50217,7 @@
50199
50217
  "body_html": { "type": "string" },
50200
50218
  "body_text": { "type": "string" },
50201
50219
  "author_association": {
50202
- "$ref": "#/components/schemas/author_association"
50220
+ "$ref": "#/components/schemas/author-association"
50203
50221
  }
50204
50222
  },
50205
50223
  "required": [
@@ -50306,7 +50324,7 @@
50306
50324
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
50307
50325
  },
50308
50326
  "author_association": {
50309
- "$ref": "#/components/schemas/author_association"
50327
+ "$ref": "#/components/schemas/author-association"
50310
50328
  },
50311
50329
  "_links": {
50312
50330
  "type": "object",
@@ -51758,9 +51776,9 @@
51758
51776
  ]
51759
51777
  },
51760
51778
  "author_association": {
51761
- "$ref": "#/components/schemas/author_association"
51779
+ "$ref": "#/components/schemas/author-association"
51762
51780
  },
51763
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
51781
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
51764
51782
  "draft": {
51765
51783
  "description": "Indicates whether or not the pull request is a draft.",
51766
51784
  "example": false,
@@ -51915,7 +51933,7 @@
51915
51933
  "body_html": { "type": "string" },
51916
51934
  "body_text": { "type": "string" },
51917
51935
  "author_association": {
51918
- "$ref": "#/components/schemas/author_association"
51936
+ "$ref": "#/components/schemas/author-association"
51919
51937
  }
51920
51938
  },
51921
51939
  "required": [
@@ -51990,7 +52008,7 @@
51990
52008
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
51991
52009
  },
51992
52010
  "author_association": {
51993
- "$ref": "#/components/schemas/author_association"
52011
+ "$ref": "#/components/schemas/author-association"
51994
52012
  },
51995
52013
  "_links": {
51996
52014
  "type": "object",
@@ -52677,7 +52695,7 @@
52677
52695
  "body": { "type": "string" },
52678
52696
  "score": { "type": "number" },
52679
52697
  "author_association": {
52680
- "$ref": "#/components/schemas/author_association"
52698
+ "$ref": "#/components/schemas/author-association"
52681
52699
  },
52682
52700
  "draft": { "type": "boolean" },
52683
52701
  "repository": { "$ref": "#/components/schemas/repository" },
@@ -64024,7 +64042,7 @@
64024
64042
  ]
64025
64043
  },
64026
64044
  "code-scanning-analysis-default": {
64027
- "summary": "Default response",
64045
+ "summary": "application/json response",
64028
64046
  "value": {
64029
64047
  "ref": "refs/heads/main",
64030
64048
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -64043,6 +64061,49 @@
64043
64061
  "warning": ""
64044
64062
  }
64045
64063
  },
64064
+ "code-scanning-analysis-sarif": {
64065
+ "summary": "application/json+sarif response",
64066
+ "value": {
64067
+ "runs": [
64068
+ {
64069
+ "tool": {
64070
+ "driver": {
64071
+ "name": "CodeQL",
64072
+ "organization": "GitHub",
64073
+ "semanticVersion": "1.0.0",
64074
+ "rules": [
64075
+ {
64076
+ "id": "js/unused-local-variable",
64077
+ "name": "js/unused-local-variable"
64078
+ }
64079
+ ]
64080
+ }
64081
+ },
64082
+ "results": [
64083
+ {
64084
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
64085
+ "message": { "text": "Unused variable foo." },
64086
+ "locations": [
64087
+ {
64088
+ "physicalLocation": {
64089
+ "artifactLocation": { "uri": "file1.js" },
64090
+ "region": { "startLine": 1 }
64091
+ }
64092
+ }
64093
+ ],
64094
+ "ruleId": "js/unused-local-variable",
64095
+ "properties": [
64096
+ { "github/alertNumber": 2 },
64097
+ {
64098
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
64099
+ }
64100
+ ]
64101
+ }
64102
+ ]
64103
+ }
64104
+ ]
64105
+ }
64106
+ },
64046
64107
  "code-scanning-analysis-deletion": {
64047
64108
  "summary": "Default response",
64048
64109
  "value": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.4.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.4.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },