Skip to content

Commit 608513e

Browse files
committed
chore: update generated endpoints.json file
1 parent e9bde0c commit 608513e

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

scripts/update-endpoints/generated/endpoints.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13932,7 +13932,6 @@
1393213932
}
1393313933
],
1393413934
"responses": [
13935-
{ "code": 200, "description": "Response", "examples": null },
1393613935
{
1393713936
"code": 200,
1393813937
"description": "Response",
@@ -13942,6 +13941,15 @@
1394213941
}
1394313942
]
1394413943
},
13944+
{
13945+
"code": 200,
13946+
"description": "Response",
13947+
"examples": [
13948+
{
13949+
"data": "{\"runs\":[{\"tool\":{\"driver\":{\"name\":\"CodeQL\",\"organization\":\"GitHub\",\"semanticVersion\":\"1.0.0\",\"rules\":[{\"id\":\"js/unused-local-variable\",\"name\":\"js/unused-local-variable\"}]}},\"results\":[{\"guid\":\"326aa09f-9af8-13cf-9851-3d0e5183ec38\",\"message\":{\"text\":\"Unused variable foo.\"},\"locations\":[{\"physicalLocation\":{\"artifactLocation\":{\"uri\":\"file1.js\"},\"region\":{\"startLine\":1}}}],\"ruleId\":\"js/unused-local-variable\",\"properties\":[{\"github/alertNumber\":2},{\"github/alertUrl\":\"https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2\"}]}]}]}"
13950+
}
13951+
]
13952+
},
1394513953
{
1394613954
"code": 403,
1394713955
"description": "Response if GitHub Advanced Security is not enabled for this repository",
@@ -14428,11 +14436,11 @@
1442814436
},
1442914437
{
1443014438
"name": "sort",
14431-
"description": "The property by which to sort the results.",
14439+
"description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
1443214440
"in": "QUERY",
1443314441
"type": "string",
1443414442
"required": false,
14435-
"enum": ["created", "updated", "number"],
14443+
"enum": ["created", "number", "updated"],
1443614444
"allowNull": false,
1443714445
"mapToData": null,
1443814446
"validation": null,
@@ -43795,6 +43803,19 @@
4379543803
"validation": null,
4379643804
"alias": null,
4379743805
"deprecated": null
43806+
},
43807+
{
43808+
"name": "name",
43809+
"description": "When forking from an existing repository, a new name for the fork.",
43810+
"in": "BODY",
43811+
"type": "string",
43812+
"required": false,
43813+
"enum": null,
43814+
"allowNull": false,
43815+
"mapToData": null,
43816+
"validation": null,
43817+
"alias": null,
43818+
"deprecated": null
4379843819
}
4379943820
],
4380043821
"responses": [

0 commit comments

Comments
 (0)