@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
package/generated/ghes-3.5.json
CHANGED
|
@@ -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" },
|
|
@@ -9218,7 +9218,7 @@
|
|
|
9218
9218
|
"operationId": "actions/create-or-update-org-secret",
|
|
9219
9219
|
"externalDocs": {
|
|
9220
9220
|
"description": "API method documentation",
|
|
9221
|
-
"url": "https://docs.github.com/
|
|
9221
|
+
"url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
|
|
9222
9222
|
},
|
|
9223
9223
|
"parameters": [
|
|
9224
9224
|
{ "$ref": "#/components/parameters/org" },
|
|
@@ -9233,7 +9233,7 @@
|
|
|
9233
9233
|
"properties": {
|
|
9234
9234
|
"encrypted_value": {
|
|
9235
9235
|
"type": "string",
|
|
9236
|
-
"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/
|
|
9236
|
+
"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.",
|
|
9237
9237
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
9238
9238
|
},
|
|
9239
9239
|
"key_id": {
|
|
@@ -9247,8 +9247,10 @@
|
|
|
9247
9247
|
},
|
|
9248
9248
|
"selected_repository_ids": {
|
|
9249
9249
|
"type": "array",
|
|
9250
|
-
"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/
|
|
9251
|
-
"items": {
|
|
9250
|
+
"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.",
|
|
9251
|
+
"items": {
|
|
9252
|
+
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
|
9253
|
+
}
|
|
9252
9254
|
}
|
|
9253
9255
|
},
|
|
9254
9256
|
"required": ["visibility"]
|
|
@@ -9259,7 +9261,7 @@
|
|
|
9259
9261
|
"encrypted_value": "c2VjcmV0",
|
|
9260
9262
|
"key_id": "012345678912345678",
|
|
9261
9263
|
"visibility": "selected",
|
|
9262
|
-
"selected_repository_ids": [
|
|
9264
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
9263
9265
|
}
|
|
9264
9266
|
}
|
|
9265
9267
|
}
|
|
@@ -9739,7 +9741,7 @@
|
|
|
9739
9741
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
9740
9742
|
"externalDocs": {
|
|
9741
9743
|
"description": "API method documentation",
|
|
9742
|
-
"url": "https://docs.github.com/
|
|
9744
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
9743
9745
|
},
|
|
9744
9746
|
"parameters": [
|
|
9745
9747
|
{ "$ref": "#/components/parameters/org" },
|
|
@@ -9754,7 +9756,7 @@
|
|
|
9754
9756
|
"properties": {
|
|
9755
9757
|
"encrypted_value": {
|
|
9756
9758
|
"type": "string",
|
|
9757
|
-
"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/
|
|
9759
|
+
"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.",
|
|
9758
9760
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
9759
9761
|
},
|
|
9760
9762
|
"key_id": {
|
|
@@ -9768,8 +9770,10 @@
|
|
|
9768
9770
|
},
|
|
9769
9771
|
"selected_repository_ids": {
|
|
9770
9772
|
"type": "array",
|
|
9771
|
-
"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/
|
|
9772
|
-
"items": {
|
|
9773
|
+
"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.",
|
|
9774
|
+
"items": {
|
|
9775
|
+
"anyOf": [{ "type": "string" }, { "type": "integer" }]
|
|
9776
|
+
}
|
|
9773
9777
|
}
|
|
9774
9778
|
},
|
|
9775
9779
|
"required": ["visibility"]
|
|
@@ -17639,7 +17643,9 @@
|
|
|
17639
17643
|
"category": "repos",
|
|
17640
17644
|
"subcategory": "autolinks"
|
|
17641
17645
|
},
|
|
17642
|
-
"x-octokit": {
|
|
17646
|
+
"x-octokit": {
|
|
17647
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
17648
|
+
}
|
|
17643
17649
|
},
|
|
17644
17650
|
"post": {
|
|
17645
17651
|
"summary": "Create an autolink reference for a repository",
|
|
@@ -17667,7 +17673,7 @@
|
|
|
17667
17673
|
},
|
|
17668
17674
|
"url_template": {
|
|
17669
17675
|
"type": "string",
|
|
17670
|
-
"description": "The URL must contain
|
|
17676
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
17671
17677
|
}
|
|
17672
17678
|
},
|
|
17673
17679
|
"required": ["key_prefix", "url_template"]
|
|
@@ -17709,7 +17715,9 @@
|
|
|
17709
17715
|
"category": "repos",
|
|
17710
17716
|
"subcategory": "autolinks"
|
|
17711
17717
|
},
|
|
17712
|
-
"x-octokit": {
|
|
17718
|
+
"x-octokit": {
|
|
17719
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
17720
|
+
}
|
|
17713
17721
|
}
|
|
17714
17722
|
},
|
|
17715
17723
|
"/repos/{owner}/{repo}/autolinks/{autolink_id}": {
|
|
@@ -17747,7 +17755,9 @@
|
|
|
17747
17755
|
"category": "repos",
|
|
17748
17756
|
"subcategory": "autolinks"
|
|
17749
17757
|
},
|
|
17750
|
-
"x-octokit": {
|
|
17758
|
+
"x-octokit": {
|
|
17759
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
17760
|
+
}
|
|
17751
17761
|
},
|
|
17752
17762
|
"delete": {
|
|
17753
17763
|
"summary": "Delete an autolink reference from a repository",
|
|
@@ -20799,7 +20809,7 @@
|
|
|
20799
20809
|
"operationId": "code-scanning/list-alerts-for-repo",
|
|
20800
20810
|
"externalDocs": {
|
|
20801
20811
|
"description": "API method documentation",
|
|
20802
|
-
"url": "https://docs.github.com/
|
|
20812
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
|
|
20803
20813
|
},
|
|
20804
20814
|
"parameters": [
|
|
20805
20815
|
{ "$ref": "#/components/parameters/owner" },
|
|
@@ -20812,13 +20822,13 @@
|
|
|
20812
20822
|
{ "$ref": "#/components/parameters/direction" },
|
|
20813
20823
|
{
|
|
20814
20824
|
"name": "sort",
|
|
20815
|
-
"description": "The property by which to sort the results.",
|
|
20825
|
+
"description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
|
|
20816
20826
|
"in": "query",
|
|
20817
20827
|
"required": false,
|
|
20818
20828
|
"schema": {
|
|
20819
20829
|
"type": "string",
|
|
20820
|
-
"enum": ["created", "
|
|
20821
|
-
"default": "
|
|
20830
|
+
"enum": ["created", "number", "updated"],
|
|
20831
|
+
"default": "created"
|
|
20822
20832
|
}
|
|
20823
20833
|
},
|
|
20824
20834
|
{
|
|
@@ -20863,9 +20873,7 @@
|
|
|
20863
20873
|
"category": "code-scanning",
|
|
20864
20874
|
"subcategory": null
|
|
20865
20875
|
},
|
|
20866
|
-
"x-octokit": {
|
|
20867
|
-
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
20868
|
-
}
|
|
20876
|
+
"x-octokit": {}
|
|
20869
20877
|
}
|
|
20870
20878
|
},
|
|
20871
20879
|
"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
|
|
@@ -21150,7 +21158,6 @@
|
|
|
21150
21158
|
"200": {
|
|
21151
21159
|
"description": "Response",
|
|
21152
21160
|
"content": {
|
|
21153
|
-
"application/json+sarif": { "schema": { "type": "string" } },
|
|
21154
21161
|
"application/json": {
|
|
21155
21162
|
"schema": {
|
|
21156
21163
|
"$ref": "#/components/schemas/code-scanning-analysis"
|
|
@@ -21160,6 +21167,14 @@
|
|
|
21160
21167
|
"$ref": "#/components/examples/code-scanning-analysis-default"
|
|
21161
21168
|
}
|
|
21162
21169
|
}
|
|
21170
|
+
},
|
|
21171
|
+
"application/json+sarif": {
|
|
21172
|
+
"schema": { "type": "object", "additionalProperties": true },
|
|
21173
|
+
"examples": {
|
|
21174
|
+
"response": {
|
|
21175
|
+
"$ref": "#/components/examples/code-scanning-analysis-sarif"
|
|
21176
|
+
}
|
|
21177
|
+
}
|
|
21163
21178
|
}
|
|
21164
21179
|
}
|
|
21165
21180
|
},
|
|
@@ -21279,6 +21294,15 @@
|
|
|
21279
21294
|
}
|
|
21280
21295
|
},
|
|
21281
21296
|
"required": ["commit_sha", "ref", "sarif"]
|
|
21297
|
+
},
|
|
21298
|
+
"examples": {
|
|
21299
|
+
"default": {
|
|
21300
|
+
"value": {
|
|
21301
|
+
"commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
|
|
21302
|
+
"ref": "refs/heads/master",
|
|
21303
|
+
"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"
|
|
21304
|
+
}
|
|
21305
|
+
}
|
|
21282
21306
|
}
|
|
21283
21307
|
}
|
|
21284
21308
|
}
|
|
@@ -23894,7 +23918,7 @@
|
|
|
23894
23918
|
}
|
|
23895
23919
|
},
|
|
23896
23920
|
"deployment_branch_policy": {
|
|
23897
|
-
"$ref": "#/components/schemas/
|
|
23921
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
23898
23922
|
}
|
|
23899
23923
|
},
|
|
23900
23924
|
"additionalProperties": false
|
|
@@ -26641,7 +26665,7 @@
|
|
|
26641
26665
|
"operationId": "issues/remove-assignees",
|
|
26642
26666
|
"externalDocs": {
|
|
26643
26667
|
"description": "API method documentation",
|
|
26644
|
-
"url": "https://docs.github.com/
|
|
26668
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
26645
26669
|
},
|
|
26646
26670
|
"parameters": [
|
|
26647
26671
|
{ "$ref": "#/components/parameters/owner" },
|
|
@@ -26649,6 +26673,7 @@
|
|
|
26649
26673
|
{ "$ref": "#/components/parameters/issue-number" }
|
|
26650
26674
|
],
|
|
26651
26675
|
"requestBody": {
|
|
26676
|
+
"required": true,
|
|
26652
26677
|
"content": {
|
|
26653
26678
|
"application/json": {
|
|
26654
26679
|
"schema": {
|
|
@@ -26659,7 +26684,8 @@
|
|
|
26659
26684
|
"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._",
|
|
26660
26685
|
"items": { "type": "string" }
|
|
26661
26686
|
}
|
|
26662
|
-
}
|
|
26687
|
+
},
|
|
26688
|
+
"required": ["assignees"]
|
|
26663
26689
|
},
|
|
26664
26690
|
"examples": {
|
|
26665
26691
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -33088,7 +33114,7 @@
|
|
|
33088
33114
|
"parameters": [
|
|
33089
33115
|
{ "$ref": "#/components/parameters/owner" },
|
|
33090
33116
|
{ "$ref": "#/components/parameters/repo" },
|
|
33091
|
-
{ "$ref": "#/components/parameters/
|
|
33117
|
+
{ "$ref": "#/components/parameters/tag-protection-id" }
|
|
33092
33118
|
],
|
|
33093
33119
|
"responses": {
|
|
33094
33120
|
"204": { "description": "Response" },
|
|
@@ -40182,20 +40208,6 @@
|
|
|
40182
40208
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
40183
40209
|
}
|
|
40184
40210
|
},
|
|
40185
|
-
"/orgs/{org_id}/codespaces": {
|
|
40186
|
-
"get": {
|
|
40187
|
-
"summary": "List codespaces for the organization",
|
|
40188
|
-
"description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
|
|
40189
|
-
"tags": ["codespaces"],
|
|
40190
|
-
"operationId": "codespaces/list-in-organization",
|
|
40191
|
-
"externalDocs": {
|
|
40192
|
-
"description": "API method documentation",
|
|
40193
|
-
"url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
|
|
40194
|
-
},
|
|
40195
|
-
"x-octokit": { "api.github.com.json": "removed" },
|
|
40196
|
-
"responses": { "501": { "description": "Not Implemented" } }
|
|
40197
|
-
}
|
|
40198
|
-
},
|
|
40199
40211
|
"/orgs/{org}/actions/oidc/customization/sub": {
|
|
40200
40212
|
"get": {
|
|
40201
40213
|
"summary": "Get the customization template for an OIDC subject claim for an organization",
|
|
@@ -40274,6 +40286,20 @@
|
|
|
40274
40286
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
40275
40287
|
}
|
|
40276
40288
|
},
|
|
40289
|
+
"/orgs/{org}/codespaces": {
|
|
40290
|
+
"get": {
|
|
40291
|
+
"summary": "List codespaces for the organization",
|
|
40292
|
+
"description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
|
|
40293
|
+
"tags": ["codespaces"],
|
|
40294
|
+
"operationId": "codespaces/list-in-organization",
|
|
40295
|
+
"externalDocs": {
|
|
40296
|
+
"description": "API method documentation",
|
|
40297
|
+
"url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
|
|
40298
|
+
},
|
|
40299
|
+
"x-octokit": { "api.github.com.json": "removed" },
|
|
40300
|
+
"responses": { "501": { "description": "Not Implemented" } }
|
|
40301
|
+
}
|
|
40302
|
+
},
|
|
40277
40303
|
"/orgs/{org}/credential-authorizations": {
|
|
40278
40304
|
"get": {
|
|
40279
40305
|
"summary": "List SAML SSO authorizations for an organization",
|
|
@@ -41040,21 +41066,6 @@
|
|
|
41040
41066
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
41041
41067
|
}
|
|
41042
41068
|
},
|
|
41043
|
-
"/repos/{owner}/{repo}/community/code_of_conduct": {
|
|
41044
|
-
"get": {
|
|
41045
|
-
"summary": "Get the code of conduct for a repository",
|
|
41046
|
-
"description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
|
|
41047
|
-
"tags": ["codes-of-conduct"],
|
|
41048
|
-
"operationId": "codes-of-conduct/get-for-repo",
|
|
41049
|
-
"externalDocs": {
|
|
41050
|
-
"description": "API method documentation",
|
|
41051
|
-
"url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
|
|
41052
|
-
},
|
|
41053
|
-
"deprecated": true,
|
|
41054
|
-
"x-octokit": { "api.github.com.json": "removed" },
|
|
41055
|
-
"responses": { "501": { "description": "Not Implemented" } }
|
|
41056
|
-
}
|
|
41057
|
-
},
|
|
41058
41069
|
"/repos/{owner}/{repo}/community/profile": {
|
|
41059
41070
|
"get": {
|
|
41060
41071
|
"summary": "Get community profile metrics",
|
|
@@ -45652,7 +45663,7 @@
|
|
|
45652
45663
|
],
|
|
45653
45664
|
"nullable": true
|
|
45654
45665
|
},
|
|
45655
|
-
"
|
|
45666
|
+
"author-association": {
|
|
45656
45667
|
"title": "author_association",
|
|
45657
45668
|
"type": "string",
|
|
45658
45669
|
"example": "OWNER",
|
|
@@ -45818,7 +45829,7 @@
|
|
|
45818
45829
|
"$ref": "#/components/schemas/nullable-integration"
|
|
45819
45830
|
},
|
|
45820
45831
|
"author_association": {
|
|
45821
|
-
"$ref": "#/components/schemas/
|
|
45832
|
+
"$ref": "#/components/schemas/author-association"
|
|
45822
45833
|
},
|
|
45823
45834
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
45824
45835
|
},
|
|
@@ -45884,7 +45895,7 @@
|
|
|
45884
45895
|
},
|
|
45885
45896
|
"issue_url": { "type": "string", "format": "uri" },
|
|
45886
45897
|
"author_association": {
|
|
45887
|
-
"$ref": "#/components/schemas/
|
|
45898
|
+
"$ref": "#/components/schemas/author-association"
|
|
45888
45899
|
},
|
|
45889
45900
|
"performed_via_github_app": {
|
|
45890
45901
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -46359,7 +46370,7 @@
|
|
|
46359
46370
|
"example": "2011-04-18T23:23:56Z"
|
|
46360
46371
|
},
|
|
46361
46372
|
"author_association": {
|
|
46362
|
-
"$ref": "#/components/schemas/
|
|
46373
|
+
"$ref": "#/components/schemas/author-association"
|
|
46363
46374
|
}
|
|
46364
46375
|
},
|
|
46365
46376
|
"required": [
|
|
@@ -52560,7 +52571,7 @@
|
|
|
52560
52571
|
"created_at": { "type": "string", "format": "date-time" },
|
|
52561
52572
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
52562
52573
|
"author_association": {
|
|
52563
|
-
"$ref": "#/components/schemas/
|
|
52574
|
+
"$ref": "#/components/schemas/author-association"
|
|
52564
52575
|
},
|
|
52565
52576
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
52566
52577
|
},
|
|
@@ -52605,7 +52616,7 @@
|
|
|
52605
52616
|
"properties": { "href": { "type": "string" } },
|
|
52606
52617
|
"required": ["href"]
|
|
52607
52618
|
},
|
|
52608
|
-
"
|
|
52619
|
+
"auto-merge": {
|
|
52609
52620
|
"title": "Auto merge",
|
|
52610
52621
|
"description": "The status of auto merging a pull request.",
|
|
52611
52622
|
"type": "object",
|
|
@@ -52821,9 +52832,9 @@
|
|
|
52821
52832
|
]
|
|
52822
52833
|
},
|
|
52823
52834
|
"author_association": {
|
|
52824
|
-
"$ref": "#/components/schemas/
|
|
52835
|
+
"$ref": "#/components/schemas/author-association"
|
|
52825
52836
|
},
|
|
52826
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
52837
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
52827
52838
|
"draft": {
|
|
52828
52839
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
52829
52840
|
"example": false,
|
|
@@ -53532,7 +53543,7 @@
|
|
|
53532
53543
|
"example": 30,
|
|
53533
53544
|
"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)."
|
|
53534
53545
|
},
|
|
53535
|
-
"
|
|
53546
|
+
"deployment-branch-policy": {
|
|
53536
53547
|
"type": "object",
|
|
53537
53548
|
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
|
|
53538
53549
|
"properties": {
|
|
@@ -53653,7 +53664,7 @@
|
|
|
53653
53664
|
}
|
|
53654
53665
|
},
|
|
53655
53666
|
"deployment_branch_policy": {
|
|
53656
|
-
"$ref": "#/components/schemas/
|
|
53667
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
53657
53668
|
}
|
|
53658
53669
|
},
|
|
53659
53670
|
"required": [
|
|
@@ -54170,7 +54181,7 @@
|
|
|
54170
54181
|
"$ref": "#/components/schemas/nullable-integration"
|
|
54171
54182
|
},
|
|
54172
54183
|
"author_association": {
|
|
54173
|
-
"$ref": "#/components/schemas/
|
|
54184
|
+
"$ref": "#/components/schemas/author-association"
|
|
54174
54185
|
},
|
|
54175
54186
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
54176
54187
|
},
|
|
@@ -54300,7 +54311,7 @@
|
|
|
54300
54311
|
},
|
|
54301
54312
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
54302
54313
|
"author_association": {
|
|
54303
|
-
"$ref": "#/components/schemas/
|
|
54314
|
+
"$ref": "#/components/schemas/author-association"
|
|
54304
54315
|
},
|
|
54305
54316
|
"lock_reason": { "type": "string", "nullable": true },
|
|
54306
54317
|
"performed_via_github_app": {
|
|
@@ -55003,7 +55014,7 @@
|
|
|
55003
55014
|
},
|
|
55004
55015
|
"issue_url": { "type": "string", "format": "uri" },
|
|
55005
55016
|
"author_association": {
|
|
55006
|
-
"$ref": "#/components/schemas/
|
|
55017
|
+
"$ref": "#/components/schemas/author-association"
|
|
55007
55018
|
},
|
|
55008
55019
|
"performed_via_github_app": {
|
|
55009
55020
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -55218,7 +55229,7 @@
|
|
|
55218
55229
|
"body_html": { "type": "string" },
|
|
55219
55230
|
"body_text": { "type": "string" },
|
|
55220
55231
|
"author_association": {
|
|
55221
|
-
"$ref": "#/components/schemas/
|
|
55232
|
+
"$ref": "#/components/schemas/author-association"
|
|
55222
55233
|
}
|
|
55223
55234
|
},
|
|
55224
55235
|
"required": [
|
|
@@ -55325,7 +55336,7 @@
|
|
|
55325
55336
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
55326
55337
|
},
|
|
55327
55338
|
"author_association": {
|
|
55328
|
-
"$ref": "#/components/schemas/
|
|
55339
|
+
"$ref": "#/components/schemas/author-association"
|
|
55329
55340
|
},
|
|
55330
55341
|
"_links": {
|
|
55331
55342
|
"type": "object",
|
|
@@ -56777,9 +56788,9 @@
|
|
|
56777
56788
|
]
|
|
56778
56789
|
},
|
|
56779
56790
|
"author_association": {
|
|
56780
|
-
"$ref": "#/components/schemas/
|
|
56791
|
+
"$ref": "#/components/schemas/author-association"
|
|
56781
56792
|
},
|
|
56782
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
56793
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
56783
56794
|
"draft": {
|
|
56784
56795
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
56785
56796
|
"example": false,
|
|
@@ -56934,7 +56945,7 @@
|
|
|
56934
56945
|
"body_html": { "type": "string" },
|
|
56935
56946
|
"body_text": { "type": "string" },
|
|
56936
56947
|
"author_association": {
|
|
56937
|
-
"$ref": "#/components/schemas/
|
|
56948
|
+
"$ref": "#/components/schemas/author-association"
|
|
56938
56949
|
}
|
|
56939
56950
|
},
|
|
56940
56951
|
"required": [
|
|
@@ -57009,7 +57020,7 @@
|
|
|
57009
57020
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
57010
57021
|
},
|
|
57011
57022
|
"author_association": {
|
|
57012
|
-
"$ref": "#/components/schemas/
|
|
57023
|
+
"$ref": "#/components/schemas/author-association"
|
|
57013
57024
|
},
|
|
57014
57025
|
"_links": {
|
|
57015
57026
|
"type": "object",
|
|
@@ -57707,7 +57718,7 @@
|
|
|
57707
57718
|
"body": { "type": "string" },
|
|
57708
57719
|
"score": { "type": "number" },
|
|
57709
57720
|
"author_association": {
|
|
57710
|
-
"$ref": "#/components/schemas/
|
|
57721
|
+
"$ref": "#/components/schemas/author-association"
|
|
57711
57722
|
},
|
|
57712
57723
|
"draft": { "type": "boolean" },
|
|
57713
57724
|
"repository": { "$ref": "#/components/schemas/repository" },
|
|
@@ -70024,7 +70035,7 @@
|
|
|
70024
70035
|
]
|
|
70025
70036
|
},
|
|
70026
70037
|
"code-scanning-analysis-default": {
|
|
70027
|
-
"summary": "
|
|
70038
|
+
"summary": "application/json response",
|
|
70028
70039
|
"value": {
|
|
70029
70040
|
"ref": "refs/heads/main",
|
|
70030
70041
|
"commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
|
|
@@ -70043,6 +70054,49 @@
|
|
|
70043
70054
|
"warning": ""
|
|
70044
70055
|
}
|
|
70045
70056
|
},
|
|
70057
|
+
"code-scanning-analysis-sarif": {
|
|
70058
|
+
"summary": "application/json+sarif response",
|
|
70059
|
+
"value": {
|
|
70060
|
+
"runs": [
|
|
70061
|
+
{
|
|
70062
|
+
"tool": {
|
|
70063
|
+
"driver": {
|
|
70064
|
+
"name": "CodeQL",
|
|
70065
|
+
"organization": "GitHub",
|
|
70066
|
+
"semanticVersion": "1.0.0",
|
|
70067
|
+
"rules": [
|
|
70068
|
+
{
|
|
70069
|
+
"id": "js/unused-local-variable",
|
|
70070
|
+
"name": "js/unused-local-variable"
|
|
70071
|
+
}
|
|
70072
|
+
]
|
|
70073
|
+
}
|
|
70074
|
+
},
|
|
70075
|
+
"results": [
|
|
70076
|
+
{
|
|
70077
|
+
"guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
|
|
70078
|
+
"message": { "text": "Unused variable foo." },
|
|
70079
|
+
"locations": [
|
|
70080
|
+
{
|
|
70081
|
+
"physicalLocation": {
|
|
70082
|
+
"artifactLocation": { "uri": "file1.js" },
|
|
70083
|
+
"region": { "startLine": 1 }
|
|
70084
|
+
}
|
|
70085
|
+
}
|
|
70086
|
+
],
|
|
70087
|
+
"ruleId": "js/unused-local-variable",
|
|
70088
|
+
"properties": [
|
|
70089
|
+
{ "github/alertNumber": 2 },
|
|
70090
|
+
{
|
|
70091
|
+
"github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
|
|
70092
|
+
}
|
|
70093
|
+
]
|
|
70094
|
+
}
|
|
70095
|
+
]
|
|
70096
|
+
}
|
|
70097
|
+
]
|
|
70098
|
+
}
|
|
70099
|
+
},
|
|
70046
70100
|
"code-scanning-analysis-deletion": {
|
|
70047
70101
|
"summary": "Default response",
|
|
70048
70102
|
"value": {
|
|
@@ -80126,7 +80180,7 @@
|
|
|
80126
80180
|
"required": true,
|
|
80127
80181
|
"schema": { "type": "integer" }
|
|
80128
80182
|
},
|
|
80129
|
-
"
|
|
80183
|
+
"tag-protection-id": {
|
|
80130
80184
|
"name": "tag_protection_id",
|
|
80131
80185
|
"description": "The unique identifier of the tag protection.",
|
|
80132
80186
|
"in": "path",
|