@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" },
@@ -8842,7 +8842,7 @@
8842
8842
  "operationId": "actions/create-or-update-org-secret",
8843
8843
  "externalDocs": {
8844
8844
  "description": "API method documentation",
8845
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/actions#create-or-update-an-organization-secret"
8845
+ "url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
8846
8846
  },
8847
8847
  "parameters": [
8848
8848
  { "$ref": "#/components/parameters/org" },
@@ -8857,7 +8857,7 @@
8857
8857
  "properties": {
8858
8858
  "encrypted_value": {
8859
8859
  "type": "string",
8860
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.4/rest/reference/actions#get-an-organization-public-key) endpoint.",
8860
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.",
8861
8861
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
8862
8862
  },
8863
8863
  "key_id": {
@@ -8871,8 +8871,10 @@
8871
8871
  },
8872
8872
  "selected_repository_ids": {
8873
8873
  "type": "array",
8874
- "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.4/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.4/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.4/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
8875
- "items": { "type": "string" }
8874
+ "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/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
8875
+ "items": {
8876
+ "anyOf": [{ "type": "integer" }, { "type": "string" }]
8877
+ }
8876
8878
  }
8877
8879
  },
8878
8880
  "required": ["visibility"]
@@ -8883,7 +8885,7 @@
8883
8885
  "encrypted_value": "c2VjcmV0",
8884
8886
  "key_id": "012345678912345678",
8885
8887
  "visibility": "selected",
8886
- "selected_repository_ids": ["1296269", "1296280"]
8888
+ "selected_repository_ids": [1296269, 1296280]
8887
8889
  }
8888
8890
  }
8889
8891
  }
@@ -9282,7 +9284,7 @@
9282
9284
  "operationId": "dependabot/create-or-update-org-secret",
9283
9285
  "externalDocs": {
9284
9286
  "description": "API method documentation",
9285
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#create-or-update-an-organization-secret"
9287
+ "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
9286
9288
  },
9287
9289
  "parameters": [
9288
9290
  { "$ref": "#/components/parameters/org" },
@@ -9297,7 +9299,7 @@
9297
9299
  "properties": {
9298
9300
  "encrypted_value": {
9299
9301
  "type": "string",
9300
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
9302
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
9301
9303
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
9302
9304
  },
9303
9305
  "key_id": {
@@ -9311,8 +9313,10 @@
9311
9313
  },
9312
9314
  "selected_repository_ids": {
9313
9315
  "type": "array",
9314
- "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.4/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.4/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
9315
- "items": { "type": "string" }
9316
+ "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/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
9317
+ "items": {
9318
+ "anyOf": [{ "type": "string" }, { "type": "integer" }]
9319
+ }
9316
9320
  }
9317
9321
  },
9318
9322
  "required": ["visibility"]
@@ -16778,7 +16782,7 @@
16778
16782
  },
16779
16783
  "url_template": {
16780
16784
  "type": "string",
16781
- "description": "The URL must contain <num> for the reference number."
16785
+ "description": "The URL must contain `<num>` for the reference number."
16782
16786
  }
16783
16787
  },
16784
16788
  "required": ["key_prefix", "url_template"]
@@ -19904,7 +19908,7 @@
19904
19908
  "operationId": "code-scanning/list-alerts-for-repo",
19905
19909
  "externalDocs": {
19906
19910
  "description": "API method documentation",
19907
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
19911
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
19908
19912
  },
19909
19913
  "parameters": [
19910
19914
  { "$ref": "#/components/parameters/owner" },
@@ -19917,13 +19921,13 @@
19917
19921
  { "$ref": "#/components/parameters/direction" },
19918
19922
  {
19919
19923
  "name": "sort",
19920
- "description": "The property by which to sort the results.",
19924
+ "description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
19921
19925
  "in": "query",
19922
19926
  "required": false,
19923
19927
  "schema": {
19924
19928
  "type": "string",
19925
- "enum": ["created", "updated", "number"],
19926
- "default": "number"
19929
+ "enum": ["created", "number", "updated"],
19930
+ "default": "created"
19927
19931
  }
19928
19932
  },
19929
19933
  {
@@ -20250,7 +20254,6 @@
20250
20254
  "200": {
20251
20255
  "description": "Response",
20252
20256
  "content": {
20253
- "application/json+sarif": { "schema": { "type": "string" } },
20254
20257
  "application/json": {
20255
20258
  "schema": {
20256
20259
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -20260,6 +20263,14 @@
20260
20263
  "$ref": "#/components/examples/code-scanning-analysis-default"
20261
20264
  }
20262
20265
  }
20266
+ },
20267
+ "application/json+sarif": {
20268
+ "schema": { "type": "object", "additionalProperties": true },
20269
+ "examples": {
20270
+ "response": {
20271
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
20272
+ }
20273
+ }
20263
20274
  }
20264
20275
  }
20265
20276
  },
@@ -20379,6 +20390,15 @@
20379
20390
  }
20380
20391
  },
20381
20392
  "required": ["commit_sha", "ref", "sarif"]
20393
+ },
20394
+ "examples": {
20395
+ "default": {
20396
+ "value": {
20397
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
20398
+ "ref": "refs/heads/master",
20399
+ "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"
20400
+ }
20401
+ }
20382
20402
  }
20383
20403
  }
20384
20404
  }
@@ -22935,7 +22955,7 @@
22935
22955
  }
22936
22956
  },
22937
22957
  "deployment_branch_policy": {
22938
- "$ref": "#/components/schemas/deployment_branch_policy"
22958
+ "$ref": "#/components/schemas/deployment-branch-policy"
22939
22959
  }
22940
22960
  },
22941
22961
  "additionalProperties": false
@@ -25658,7 +25678,7 @@
25658
25678
  "operationId": "issues/remove-assignees",
25659
25679
  "externalDocs": {
25660
25680
  "description": "API method documentation",
25661
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/issues#remove-assignees-from-an-issue"
25681
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
25662
25682
  },
25663
25683
  "parameters": [
25664
25684
  { "$ref": "#/components/parameters/owner" },
@@ -25666,6 +25686,7 @@
25666
25686
  { "$ref": "#/components/parameters/issue-number" }
25667
25687
  ],
25668
25688
  "requestBody": {
25689
+ "required": true,
25669
25690
  "content": {
25670
25691
  "application/json": {
25671
25692
  "schema": {
@@ -25676,7 +25697,8 @@
25676
25697
  "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._",
25677
25698
  "items": { "type": "string" }
25678
25699
  }
25679
- }
25700
+ },
25701
+ "required": ["assignees"]
25680
25702
  },
25681
25703
  "examples": {
25682
25704
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -42413,7 +42435,7 @@
42413
42435
  ],
42414
42436
  "nullable": true
42415
42437
  },
42416
- "author_association": {
42438
+ "author-association": {
42417
42439
  "title": "author_association",
42418
42440
  "type": "string",
42419
42441
  "example": "OWNER",
@@ -42579,7 +42601,7 @@
42579
42601
  "$ref": "#/components/schemas/nullable-integration"
42580
42602
  },
42581
42603
  "author_association": {
42582
- "$ref": "#/components/schemas/author_association"
42604
+ "$ref": "#/components/schemas/author-association"
42583
42605
  },
42584
42606
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
42585
42607
  },
@@ -42645,7 +42667,7 @@
42645
42667
  },
42646
42668
  "issue_url": { "type": "string", "format": "uri" },
42647
42669
  "author_association": {
42648
- "$ref": "#/components/schemas/author_association"
42670
+ "$ref": "#/components/schemas/author-association"
42649
42671
  },
42650
42672
  "performed_via_github_app": {
42651
42673
  "$ref": "#/components/schemas/nullable-integration"
@@ -43120,7 +43142,7 @@
43120
43142
  "example": "2011-04-18T23:23:56Z"
43121
43143
  },
43122
43144
  "author_association": {
43123
- "$ref": "#/components/schemas/author_association"
43145
+ "$ref": "#/components/schemas/author-association"
43124
43146
  }
43125
43147
  },
43126
43148
  "required": [
@@ -49091,7 +49113,7 @@
49091
49113
  "created_at": { "type": "string", "format": "date-time" },
49092
49114
  "updated_at": { "type": "string", "format": "date-time" },
49093
49115
  "author_association": {
49094
- "$ref": "#/components/schemas/author_association"
49116
+ "$ref": "#/components/schemas/author-association"
49095
49117
  },
49096
49118
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
49097
49119
  },
@@ -49136,7 +49158,7 @@
49136
49158
  "properties": { "href": { "type": "string" } },
49137
49159
  "required": ["href"]
49138
49160
  },
49139
- "auto_merge": {
49161
+ "auto-merge": {
49140
49162
  "title": "Auto merge",
49141
49163
  "description": "The status of auto merging a pull request.",
49142
49164
  "type": "object",
@@ -49352,9 +49374,9 @@
49352
49374
  ]
49353
49375
  },
49354
49376
  "author_association": {
49355
- "$ref": "#/components/schemas/author_association"
49377
+ "$ref": "#/components/schemas/author-association"
49356
49378
  },
49357
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
49379
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
49358
49380
  "draft": {
49359
49381
  "description": "Indicates whether or not the pull request is a draft.",
49360
49382
  "example": false,
@@ -50063,7 +50085,7 @@
50063
50085
  "example": 30,
50064
50086
  "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)."
50065
50087
  },
50066
- "deployment_branch_policy": {
50088
+ "deployment-branch-policy": {
50067
50089
  "type": "object",
50068
50090
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
50069
50091
  "properties": {
@@ -50184,7 +50206,7 @@
50184
50206
  }
50185
50207
  },
50186
50208
  "deployment_branch_policy": {
50187
- "$ref": "#/components/schemas/deployment_branch_policy"
50209
+ "$ref": "#/components/schemas/deployment-branch-policy"
50188
50210
  }
50189
50211
  },
50190
50212
  "required": [
@@ -50701,7 +50723,7 @@
50701
50723
  "$ref": "#/components/schemas/nullable-integration"
50702
50724
  },
50703
50725
  "author_association": {
50704
- "$ref": "#/components/schemas/author_association"
50726
+ "$ref": "#/components/schemas/author-association"
50705
50727
  },
50706
50728
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
50707
50729
  },
@@ -50831,7 +50853,7 @@
50831
50853
  },
50832
50854
  "rename": { "$ref": "#/components/schemas/issue-event-rename" },
50833
50855
  "author_association": {
50834
- "$ref": "#/components/schemas/author_association"
50856
+ "$ref": "#/components/schemas/author-association"
50835
50857
  },
50836
50858
  "lock_reason": { "type": "string", "nullable": true },
50837
50859
  "performed_via_github_app": {
@@ -51534,7 +51556,7 @@
51534
51556
  },
51535
51557
  "issue_url": { "type": "string", "format": "uri" },
51536
51558
  "author_association": {
51537
- "$ref": "#/components/schemas/author_association"
51559
+ "$ref": "#/components/schemas/author-association"
51538
51560
  },
51539
51561
  "performed_via_github_app": {
51540
51562
  "$ref": "#/components/schemas/nullable-integration"
@@ -51749,7 +51771,7 @@
51749
51771
  "body_html": { "type": "string" },
51750
51772
  "body_text": { "type": "string" },
51751
51773
  "author_association": {
51752
- "$ref": "#/components/schemas/author_association"
51774
+ "$ref": "#/components/schemas/author-association"
51753
51775
  }
51754
51776
  },
51755
51777
  "required": [
@@ -51856,7 +51878,7 @@
51856
51878
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
51857
51879
  },
51858
51880
  "author_association": {
51859
- "$ref": "#/components/schemas/author_association"
51881
+ "$ref": "#/components/schemas/author-association"
51860
51882
  },
51861
51883
  "_links": {
51862
51884
  "type": "object",
@@ -53308,9 +53330,9 @@
53308
53330
  ]
53309
53331
  },
53310
53332
  "author_association": {
53311
- "$ref": "#/components/schemas/author_association"
53333
+ "$ref": "#/components/schemas/author-association"
53312
53334
  },
53313
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
53335
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
53314
53336
  "draft": {
53315
53337
  "description": "Indicates whether or not the pull request is a draft.",
53316
53338
  "example": false,
@@ -53465,7 +53487,7 @@
53465
53487
  "body_html": { "type": "string" },
53466
53488
  "body_text": { "type": "string" },
53467
53489
  "author_association": {
53468
- "$ref": "#/components/schemas/author_association"
53490
+ "$ref": "#/components/schemas/author-association"
53469
53491
  }
53470
53492
  },
53471
53493
  "required": [
@@ -53540,7 +53562,7 @@
53540
53562
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
53541
53563
  },
53542
53564
  "author_association": {
53543
- "$ref": "#/components/schemas/author_association"
53565
+ "$ref": "#/components/schemas/author-association"
53544
53566
  },
53545
53567
  "_links": {
53546
53568
  "type": "object",
@@ -54221,7 +54243,7 @@
54221
54243
  "body": { "type": "string" },
54222
54244
  "score": { "type": "number" },
54223
54245
  "author_association": {
54224
- "$ref": "#/components/schemas/author_association"
54246
+ "$ref": "#/components/schemas/author-association"
54225
54247
  },
54226
54248
  "draft": { "type": "boolean" },
54227
54249
  "repository": { "$ref": "#/components/schemas/repository" },
@@ -66125,7 +66147,7 @@
66125
66147
  ]
66126
66148
  },
66127
66149
  "code-scanning-analysis-default": {
66128
- "summary": "Default response",
66150
+ "summary": "application/json response",
66129
66151
  "value": {
66130
66152
  "ref": "refs/heads/main",
66131
66153
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -66144,6 +66166,49 @@
66144
66166
  "warning": ""
66145
66167
  }
66146
66168
  },
66169
+ "code-scanning-analysis-sarif": {
66170
+ "summary": "application/json+sarif response",
66171
+ "value": {
66172
+ "runs": [
66173
+ {
66174
+ "tool": {
66175
+ "driver": {
66176
+ "name": "CodeQL",
66177
+ "organization": "GitHub",
66178
+ "semanticVersion": "1.0.0",
66179
+ "rules": [
66180
+ {
66181
+ "id": "js/unused-local-variable",
66182
+ "name": "js/unused-local-variable"
66183
+ }
66184
+ ]
66185
+ }
66186
+ },
66187
+ "results": [
66188
+ {
66189
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
66190
+ "message": { "text": "Unused variable foo." },
66191
+ "locations": [
66192
+ {
66193
+ "physicalLocation": {
66194
+ "artifactLocation": { "uri": "file1.js" },
66195
+ "region": { "startLine": 1 }
66196
+ }
66197
+ }
66198
+ ],
66199
+ "ruleId": "js/unused-local-variable",
66200
+ "properties": [
66201
+ { "github/alertNumber": 2 },
66202
+ {
66203
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
66204
+ }
66205
+ ]
66206
+ }
66207
+ ]
66208
+ }
66209
+ ]
66210
+ }
66211
+ },
66147
66212
  "code-scanning-analysis-deletion": {
66148
66213
  "summary": "Default response",
66149
66214
  "value": {
@@ -9806,6 +9806,65 @@
9806
9806
  }
9807
9807
  }
9808
9808
  },
9809
+ "/repos/{owner}/{repo}/autolinks": {
9810
+ "get": {
9811
+ "responses": {
9812
+ "changed": {
9813
+ "200": {
9814
+ "content": {
9815
+ "changed": {
9816
+ "application/json": {
9817
+ "schema_changed": {
9818
+ "items_changed": {
9819
+ "properties_changed": {
9820
+ "removed": ["is_alphanumeric"]
9821
+ }
9822
+ }
9823
+ }
9824
+ }
9825
+ }
9826
+ }
9827
+ }
9828
+ }
9829
+ }
9830
+ },
9831
+ "post": {
9832
+ "responses": {
9833
+ "changed": {
9834
+ "201": {
9835
+ "content": {
9836
+ "changed": {
9837
+ "application/json": {
9838
+ "schema_changed": {
9839
+ "properties_changed": { "removed": ["is_alphanumeric"] }
9840
+ }
9841
+ }
9842
+ }
9843
+ }
9844
+ }
9845
+ }
9846
+ }
9847
+ }
9848
+ },
9849
+ "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
9850
+ "get": {
9851
+ "responses": {
9852
+ "changed": {
9853
+ "200": {
9854
+ "content": {
9855
+ "changed": {
9856
+ "application/json": {
9857
+ "schema_changed": {
9858
+ "properties_changed": { "removed": ["is_alphanumeric"] }
9859
+ }
9860
+ }
9861
+ }
9862
+ }
9863
+ }
9864
+ }
9865
+ }
9866
+ }
9867
+ },
9809
9868
  "/repos/{owner}/{repo}/check-suites": {
9810
9869
  "post": {
9811
9870
  "responses": {
@@ -9974,29 +10033,6 @@
9974
10033
  }
9975
10034
  }
9976
10035
  },
9977
- "/repos/{owner}/{repo}/code-scanning/alerts": {
9978
- "get": {
9979
- "responses": {
9980
- "changed": {
9981
- "200": {
9982
- "content": {
9983
- "changed": {
9984
- "application/json": {
9985
- "schema_changed": {
9986
- "items_changed": {
9987
- "properties_changed": {
9988
- "removed": ["dismissed_comment"]
9989
- }
9990
- }
9991
- }
9992
- }
9993
- }
9994
- }
9995
- }
9996
- }
9997
- }
9998
- }
9999
- },
10000
10036
  "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
10001
10037
  "get": {
10002
10038
  "responses": {
@@ -10392,6 +10428,17 @@
10392
10428
  }
10393
10429
  },
10394
10430
  "post": {
10431
+ "request_body": {
10432
+ "content_changed": {
10433
+ "changed": {
10434
+ "application/json": {
10435
+ "schema_changed": {
10436
+ "properties_changed": { "removed": ["name"] }
10437
+ }
10438
+ }
10439
+ }
10440
+ }
10441
+ },
10395
10442
  "responses": {
10396
10443
  "changed": {
10397
10444
  "202": {
@@ -12466,10 +12513,10 @@
12466
12513
  "/marketplace_listing/stubbed/accounts/{account_id}": ["get"],
12467
12514
  "/marketplace_listing/stubbed/plans": ["get"],
12468
12515
  "/marketplace_listing/stubbed/plans/{plan_id}/accounts": ["get"],
12469
- "/orgs/{org_id}/codespaces": ["get"],
12470
12516
  "/orgs/{org}/actions/oidc/customization/sub": ["get", "put"],
12471
12517
  "/orgs/{org}/blocks": ["get"],
12472
12518
  "/orgs/{org}/blocks/{username}": ["get", "put", "delete"],
12519
+ "/orgs/{org}/codespaces": ["get"],
12473
12520
  "/orgs/{org}/credential-authorizations": ["get"],
12474
12521
  "/orgs/{org}/credential-authorizations/{credential_id}": ["delete"],
12475
12522
  "/orgs/{org}/external-group/{group_id}": ["get"],
@@ -12531,7 +12578,6 @@
12531
12578
  "put",
12532
12579
  "delete"
12533
12580
  ],
12534
- "/repos/{owner}/{repo}/community/code_of_conduct": ["get"],
12535
12581
  "/repos/{owner}/{repo}/community/profile": ["get"],
12536
12582
  "/repos/{owner}/{repo}/dependency-graph/compare/{basehead}": ["get"],
12537
12583
  "/repos/{owner}/{repo}/dependency-graph/snapshots": ["post"],