@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.
- package/generated/api.github.com.deref.json +7689 -7772
- package/generated/api.github.com.json +1344 -1295
- 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 +50 -3
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
- package/generated/ghes-3.2.deref.json +73 -7
- package/generated/ghes-3.2.json +89 -28
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +31 -4
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
- package/generated/ghes-3.3.deref.json +76 -10
- package/generated/ghes-3.3.json +92 -31
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +97 -19
- package/generated/ghes-3.4.json +105 -40
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +71 -25
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -574
- package/generated/ghes-3.5-diff-to-api.github.com.json +206 -272
- package/generated/ghes-3.5.deref.json +115 -52
- package/generated/ghes-3.5.json +131 -77
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +97 -4
- package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
- package/generated/github.ae-diff-to-api.github.com.json +294 -12
- package/generated/github.ae.deref.json +92 -119
- package/generated/github.ae.json +118 -95
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
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" },
|
|
@@ -55064,7 +55064,7 @@
|
|
|
55064
55064
|
"operationId": "actions/create-or-update-org-secret",
|
|
55065
55065
|
"externalDocs": {
|
|
55066
55066
|
"description": "API method documentation",
|
|
55067
|
-
"url": "https://docs.github.com/
|
|
55067
|
+
"url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
|
|
55068
55068
|
},
|
|
55069
55069
|
"parameters": [
|
|
55070
55070
|
{
|
|
@@ -55091,7 +55091,7 @@
|
|
|
55091
55091
|
"properties": {
|
|
55092
55092
|
"encrypted_value": {
|
|
55093
55093
|
"type": "string",
|
|
55094
|
-
"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/
|
|
55094
|
+
"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.",
|
|
55095
55095
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
55096
55096
|
},
|
|
55097
55097
|
"key_id": {
|
|
@@ -55105,8 +55105,10 @@
|
|
|
55105
55105
|
},
|
|
55106
55106
|
"selected_repository_ids": {
|
|
55107
55107
|
"type": "array",
|
|
55108
|
-
"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/
|
|
55109
|
-
"items": {
|
|
55108
|
+
"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.",
|
|
55109
|
+
"items": {
|
|
55110
|
+
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
|
55111
|
+
}
|
|
55110
55112
|
}
|
|
55111
55113
|
},
|
|
55112
55114
|
"required": ["visibility"]
|
|
@@ -55117,7 +55119,7 @@
|
|
|
55117
55119
|
"encrypted_value": "c2VjcmV0",
|
|
55118
55120
|
"key_id": "012345678912345678",
|
|
55119
55121
|
"visibility": "selected",
|
|
55120
|
-
"selected_repository_ids": [
|
|
55122
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
55121
55123
|
}
|
|
55122
55124
|
}
|
|
55123
55125
|
}
|
|
@@ -57386,7 +57388,7 @@
|
|
|
57386
57388
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
57387
57389
|
"externalDocs": {
|
|
57388
57390
|
"description": "API method documentation",
|
|
57389
|
-
"url": "https://docs.github.com/
|
|
57391
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
57390
57392
|
},
|
|
57391
57393
|
"parameters": [
|
|
57392
57394
|
{
|
|
@@ -57413,7 +57415,7 @@
|
|
|
57413
57415
|
"properties": {
|
|
57414
57416
|
"encrypted_value": {
|
|
57415
57417
|
"type": "string",
|
|
57416
|
-
"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/
|
|
57418
|
+
"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.",
|
|
57417
57419
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
57418
57420
|
},
|
|
57419
57421
|
"key_id": {
|
|
@@ -57427,8 +57429,10 @@
|
|
|
57427
57429
|
},
|
|
57428
57430
|
"selected_repository_ids": {
|
|
57429
57431
|
"type": "array",
|
|
57430
|
-
"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/
|
|
57431
|
-
"items": {
|
|
57432
|
+
"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.",
|
|
57433
|
+
"items": {
|
|
57434
|
+
"anyOf": [{ "type": "string" }, { "type": "integer" }]
|
|
57435
|
+
}
|
|
57432
57436
|
}
|
|
57433
57437
|
},
|
|
57434
57438
|
"required": ["visibility"]
|
|
@@ -117245,7 +117249,7 @@
|
|
|
117245
117249
|
},
|
|
117246
117250
|
"url_template": {
|
|
117247
117251
|
"type": "string",
|
|
117248
|
-
"description": "The URL must contain
|
|
117252
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
117249
117253
|
}
|
|
117250
117254
|
},
|
|
117251
117255
|
"required": ["key_prefix", "url_template"]
|
|
@@ -145439,7 +145443,7 @@
|
|
|
145439
145443
|
"operationId": "code-scanning/list-alerts-for-repo",
|
|
145440
145444
|
"externalDocs": {
|
|
145441
145445
|
"description": "API method documentation",
|
|
145442
|
-
"url": "https://docs.github.com/
|
|
145446
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
|
|
145443
145447
|
},
|
|
145444
145448
|
"parameters": [
|
|
145445
145449
|
{
|
|
@@ -145512,13 +145516,13 @@
|
|
|
145512
145516
|
},
|
|
145513
145517
|
{
|
|
145514
145518
|
"name": "sort",
|
|
145515
|
-
"description": "The property by which to sort the results.",
|
|
145519
|
+
"description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
|
|
145516
145520
|
"in": "query",
|
|
145517
145521
|
"required": false,
|
|
145518
145522
|
"schema": {
|
|
145519
145523
|
"type": "string",
|
|
145520
|
-
"enum": ["created", "
|
|
145521
|
-
"default": "
|
|
145524
|
+
"enum": ["created", "number", "updated"],
|
|
145525
|
+
"default": "created"
|
|
145522
145526
|
}
|
|
145523
145527
|
},
|
|
145524
145528
|
{
|
|
@@ -145711,6 +145715,12 @@
|
|
|
145711
145715
|
"used in tests"
|
|
145712
145716
|
]
|
|
145713
145717
|
},
|
|
145718
|
+
"dismissed_comment": {
|
|
145719
|
+
"type": "string",
|
|
145720
|
+
"description": "The dismissal comment associated with the dismissal of the alert.",
|
|
145721
|
+
"nullable": true,
|
|
145722
|
+
"maxLength": 280
|
|
145723
|
+
},
|
|
145714
145724
|
"rule": {
|
|
145715
145725
|
"type": "object",
|
|
145716
145726
|
"properties": {
|
|
@@ -145843,6 +145853,7 @@
|
|
|
145843
145853
|
"dismissed_by": null,
|
|
145844
145854
|
"dismissed_at": null,
|
|
145845
145855
|
"dismissed_reason": null,
|
|
145856
|
+
"dismissed_comment": null,
|
|
145846
145857
|
"rule": {
|
|
145847
145858
|
"id": "js/zipslip",
|
|
145848
145859
|
"severity": "error",
|
|
@@ -145904,6 +145915,7 @@
|
|
|
145904
145915
|
},
|
|
145905
145916
|
"dismissed_at": "2020-02-14T12:29:18Z",
|
|
145906
145917
|
"dismissed_reason": "false positive",
|
|
145918
|
+
"dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.",
|
|
145907
145919
|
"rule": {
|
|
145908
145920
|
"id": "js/zipslip",
|
|
145909
145921
|
"severity": "error",
|
|
@@ -147578,7 +147590,6 @@
|
|
|
147578
147590
|
"200": {
|
|
147579
147591
|
"description": "Response",
|
|
147580
147592
|
"content": {
|
|
147581
|
-
"application/json+sarif": { "schema": { "type": "string" } },
|
|
147582
147593
|
"application/json": {
|
|
147583
147594
|
"schema": {
|
|
147584
147595
|
"type": "object",
|
|
@@ -147684,7 +147695,7 @@
|
|
|
147684
147695
|
},
|
|
147685
147696
|
"examples": {
|
|
147686
147697
|
"response": {
|
|
147687
|
-
"summary": "
|
|
147698
|
+
"summary": "application/json response",
|
|
147688
147699
|
"value": {
|
|
147689
147700
|
"ref": "refs/heads/main",
|
|
147690
147701
|
"commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
|
|
@@ -147708,6 +147719,54 @@
|
|
|
147708
147719
|
}
|
|
147709
147720
|
}
|
|
147710
147721
|
}
|
|
147722
|
+
},
|
|
147723
|
+
"application/json+sarif": {
|
|
147724
|
+
"schema": { "type": "object", "additionalProperties": true },
|
|
147725
|
+
"examples": {
|
|
147726
|
+
"response": {
|
|
147727
|
+
"summary": "application/json+sarif response",
|
|
147728
|
+
"value": {
|
|
147729
|
+
"runs": [
|
|
147730
|
+
{
|
|
147731
|
+
"tool": {
|
|
147732
|
+
"driver": {
|
|
147733
|
+
"name": "CodeQL",
|
|
147734
|
+
"organization": "GitHub",
|
|
147735
|
+
"semanticVersion": "1.0.0",
|
|
147736
|
+
"rules": [
|
|
147737
|
+
{
|
|
147738
|
+
"id": "js/unused-local-variable",
|
|
147739
|
+
"name": "js/unused-local-variable"
|
|
147740
|
+
}
|
|
147741
|
+
]
|
|
147742
|
+
}
|
|
147743
|
+
},
|
|
147744
|
+
"results": [
|
|
147745
|
+
{
|
|
147746
|
+
"guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
|
|
147747
|
+
"message": { "text": "Unused variable foo." },
|
|
147748
|
+
"locations": [
|
|
147749
|
+
{
|
|
147750
|
+
"physicalLocation": {
|
|
147751
|
+
"artifactLocation": { "uri": "file1.js" },
|
|
147752
|
+
"region": { "startLine": 1 }
|
|
147753
|
+
}
|
|
147754
|
+
}
|
|
147755
|
+
],
|
|
147756
|
+
"ruleId": "js/unused-local-variable",
|
|
147757
|
+
"properties": [
|
|
147758
|
+
{ "github/alertNumber": 2 },
|
|
147759
|
+
{
|
|
147760
|
+
"github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
|
|
147761
|
+
}
|
|
147762
|
+
]
|
|
147763
|
+
}
|
|
147764
|
+
]
|
|
147765
|
+
}
|
|
147766
|
+
]
|
|
147767
|
+
}
|
|
147768
|
+
}
|
|
147769
|
+
}
|
|
147711
147770
|
}
|
|
147712
147771
|
}
|
|
147713
147772
|
},
|
|
@@ -148009,6 +148068,15 @@
|
|
|
148009
148068
|
}
|
|
148010
148069
|
},
|
|
148011
148070
|
"required": ["commit_sha", "ref", "sarif"]
|
|
148071
|
+
},
|
|
148072
|
+
"examples": {
|
|
148073
|
+
"default": {
|
|
148074
|
+
"value": {
|
|
148075
|
+
"commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
|
|
148076
|
+
"ref": "refs/heads/master",
|
|
148077
|
+
"sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsM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aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
|
|
148078
|
+
}
|
|
148079
|
+
}
|
|
148012
148080
|
}
|
|
148013
148081
|
}
|
|
148014
148082
|
}
|
|
@@ -208637,7 +208705,7 @@
|
|
|
208637
208705
|
"operationId": "issues/remove-assignees",
|
|
208638
208706
|
"externalDocs": {
|
|
208639
208707
|
"description": "API method documentation",
|
|
208640
|
-
"url": "https://docs.github.com/
|
|
208708
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
208641
208709
|
},
|
|
208642
208710
|
"parameters": [
|
|
208643
208711
|
{
|
|
@@ -208663,6 +208731,7 @@
|
|
|
208663
208731
|
}
|
|
208664
208732
|
],
|
|
208665
208733
|
"requestBody": {
|
|
208734
|
+
"required": true,
|
|
208666
208735
|
"content": {
|
|
208667
208736
|
"application/json": {
|
|
208668
208737
|
"schema": {
|
|
@@ -208673,7 +208742,8 @@
|
|
|
208673
208742
|
"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._",
|
|
208674
208743
|
"items": { "type": "string" }
|
|
208675
208744
|
}
|
|
208676
|
-
}
|
|
208745
|
+
},
|
|
208746
|
+
"required": ["assignees"]
|
|
208677
208747
|
},
|
|
208678
208748
|
"examples": {
|
|
208679
208749
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -210104,6 +210174,9 @@
|
|
|
210104
210174
|
"allow_auto_merge": { "type": "boolean" },
|
|
210105
210175
|
"delete_branch_on_merge": { "type": "boolean" },
|
|
210106
210176
|
"allow_update_branch": { "type": "boolean" },
|
|
210177
|
+
"use_squash_pr_title_as_default": {
|
|
210178
|
+
"type": "boolean"
|
|
210179
|
+
},
|
|
210107
210180
|
"allow_merge_commit": { "type": "boolean" },
|
|
210108
210181
|
"subscribers_count": { "type": "integer" },
|
|
210109
210182
|
"network_count": { "type": "integer" }
|
|
@@ -210134,6 +210207,11 @@
|
|
|
210134
210207
|
"type": "boolean",
|
|
210135
210208
|
"example": false
|
|
210136
210209
|
},
|
|
210210
|
+
"use_squash_pr_title_as_default": {
|
|
210211
|
+
"type": "boolean",
|
|
210212
|
+
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
210213
|
+
"default": false
|
|
210214
|
+
},
|
|
210137
210215
|
"allow_merge_commit": {
|
|
210138
210216
|
"description": "Whether to allow merge commits for pull requests.",
|
|
210139
210217
|
"default": true,
|