Skip to content

Commit 72abbb7

Browse files
committed
build: endpoints cache updated
1 parent c331799 commit 72abbb7

File tree

1 file changed

+162
-109
lines changed

1 file changed

+162
-109
lines changed

scripts/update-endpoints/generated/endpoints.json

Lines changed: 162 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -3813,32 +3813,6 @@
38133813
"validation": null,
38143814
"alias": null,
38153815
"deprecated": null
3816-
},
3817-
{
3818-
"name": "per_page",
3819-
"description": "Results per page (max 100)",
3820-
"in": "QUERY",
3821-
"type": "integer",
3822-
"required": false,
3823-
"enum": null,
3824-
"allowNull": false,
3825-
"mapToData": null,
3826-
"validation": null,
3827-
"alias": null,
3828-
"deprecated": null
3829-
},
3830-
{
3831-
"name": "page",
3832-
"description": "Page number of the results to fetch.",
3833-
"in": "QUERY",
3834-
"type": "integer",
3835-
"required": false,
3836-
"enum": null,
3837-
"allowNull": false,
3838-
"mapToData": null,
3839-
"validation": null,
3840-
"alias": null,
3841-
"deprecated": null
38423816
}
38433817
],
38443818
"responses": [
@@ -4024,32 +3998,6 @@
40243998
"validation": null,
40253999
"alias": null,
40264000
"deprecated": null
4027-
},
4028-
{
4029-
"name": "per_page",
4030-
"description": "Results per page (max 100)",
4031-
"in": "QUERY",
4032-
"type": "integer",
4033-
"required": false,
4034-
"enum": null,
4035-
"allowNull": false,
4036-
"mapToData": null,
4037-
"validation": null,
4038-
"alias": null,
4039-
"deprecated": null
4040-
},
4041-
{
4042-
"name": "page",
4043-
"description": "Page number of the results to fetch.",
4044-
"in": "QUERY",
4045-
"type": "integer",
4046-
"required": false,
4047-
"enum": null,
4048-
"allowNull": false,
4049-
"mapToData": null,
4050-
"validation": null,
4051-
"alias": null,
4052-
"deprecated": null
40534001
}
40544002
],
40554003
"responses": [
@@ -11482,32 +11430,6 @@
1148211430
"validation": null,
1148311431
"alias": null,
1148411432
"deprecated": null
11485-
},
11486-
{
11487-
"name": "per_page",
11488-
"description": "Results per page (max 100)",
11489-
"in": "QUERY",
11490-
"type": "integer",
11491-
"required": false,
11492-
"enum": null,
11493-
"allowNull": false,
11494-
"mapToData": null,
11495-
"validation": null,
11496-
"alias": null,
11497-
"deprecated": null
11498-
},
11499-
{
11500-
"name": "page",
11501-
"description": "Page number of the results to fetch.",
11502-
"in": "QUERY",
11503-
"type": "integer",
11504-
"required": false,
11505-
"enum": null,
11506-
"allowNull": false,
11507-
"mapToData": null,
11508-
"validation": null,
11509-
"alias": null,
11510-
"deprecated": null
1151111433
}
1151211434
],
1151311435
"responses": [
@@ -12881,6 +12803,59 @@
1288112803
],
1288212804
"renamed": null
1288312805
},
12806+
{
12807+
"name": "List downloads for the self-hosted runner application",
12808+
"scope": "actions",
12809+
"id": "listDownloadsForSelfHostedRunnerApplication",
12810+
"method": "GET",
12811+
"url": "/repos/{owner}/{repo}/actions/runners/downloads",
12812+
"isDeprecated": false,
12813+
"isLegacy": false,
12814+
"description": "Lists binaries for the self-hosted runner application that you can download and run. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.",
12815+
"documentationUrl": "https://developer.github.com/v3/actions/self_hosted_runners/#list-downloads-for-the-self-hosted-runner-application",
12816+
"previews": [],
12817+
"headers": [],
12818+
"parameters": [
12819+
{
12820+
"name": "owner",
12821+
"description": "owner parameter",
12822+
"in": "PATH",
12823+
"type": "string",
12824+
"required": true,
12825+
"enum": null,
12826+
"allowNull": false,
12827+
"mapToData": null,
12828+
"validation": null,
12829+
"alias": null,
12830+
"deprecated": null
12831+
},
12832+
{
12833+
"name": "repo",
12834+
"description": "repo parameter",
12835+
"in": "PATH",
12836+
"type": "string",
12837+
"required": true,
12838+
"enum": null,
12839+
"allowNull": false,
12840+
"mapToData": null,
12841+
"validation": null,
12842+
"alias": null,
12843+
"deprecated": null
12844+
}
12845+
],
12846+
"responses": [
12847+
{
12848+
"code": 200,
12849+
"description": "response",
12850+
"examples": [
12851+
{
12852+
"data": "[{\"os\":\"osx\",\"architecture\":\"x64\",\"download_url\":\"https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gz\",\"filename\":\"actions-runner-osx-x64-2.164.0.tar.gz\"},{\"os\":\"linux\",\"architecture\":\"x64\",\"download_url\":\"https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-x64-2.164.0.tar.gz\",\"filename\":\"actions-runner-linux-x64-2.164.0.tar.gz\"},{\"os\":\"linux\",\"architecture\":\"arm\",\"download_url\":\"https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-arm-2.164.0.tar.gz\",\"filename\":\"actions-runner-linux-arm-2.164.0.tar.gz\"},{\"os\":\"win\",\"architecture\":\"x64\",\"download_url\":\"https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-win-x64-2.164.0.zip\",\"filename\":\"actions-runner-win-x64-2.164.0.zip\"},{\"os\":\"linux\",\"architecture\":\"arm64\",\"download_url\":\"https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-arm64-2.164.0.tar.gz\",\"filename\":\"actions-runner-linux-arm64-2.164.0.tar.gz\"}]"
12853+
}
12854+
]
12855+
}
12856+
],
12857+
"renamed": null
12858+
},
1288412859
{
1288512860
"name": "Create a registration token",
1288612861
"scope": "actions",
@@ -13117,7 +13092,7 @@
1311713092
"url": "/repos/{owner}/{repo}/actions/runs",
1311813093
"isDeprecated": false,
1311913094
"isLegacy": false,
13120-
"description": "Lists all workflow runs for a repository. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.",
13095+
"description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.",
1312113096
"documentationUrl": "https://developer.github.com/v3/actions/workflow_runs/#list-repository-workflow-runs",
1312213097
"previews": [],
1312313098
"headers": [],
@@ -13148,6 +13123,58 @@
1314813123
"alias": null,
1314913124
"deprecated": null
1315013125
},
13126+
{
13127+
"name": "actor",
13128+
"description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.",
13129+
"in": "QUERY",
13130+
"type": "string",
13131+
"required": false,
13132+
"enum": null,
13133+
"allowNull": false,
13134+
"mapToData": null,
13135+
"validation": null,
13136+
"alias": null,
13137+
"deprecated": null
13138+
},
13139+
{
13140+
"name": "branch",
13141+
"description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.",
13142+
"in": "QUERY",
13143+
"type": "string",
13144+
"required": false,
13145+
"enum": null,
13146+
"allowNull": false,
13147+
"mapToData": null,
13148+
"validation": null,
13149+
"alias": null,
13150+
"deprecated": null
13151+
},
13152+
{
13153+
"name": "event",
13154+
"description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)\" in the GitHub Help documentation.",
13155+
"in": "QUERY",
13156+
"type": "string",
13157+
"required": false,
13158+
"enum": null,
13159+
"allowNull": false,
13160+
"mapToData": null,
13161+
"validation": null,
13162+
"alias": null,
13163+
"deprecated": null
13164+
},
13165+
{
13166+
"name": "status",
13167+
"description": "Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in \"[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run).\"",
13168+
"in": "QUERY",
13169+
"type": "string",
13170+
"required": false,
13171+
"enum": ["completed", "status", "conclusion"],
13172+
"allowNull": false,
13173+
"mapToData": null,
13174+
"validation": null,
13175+
"alias": null,
13176+
"deprecated": null
13177+
},
1315113178
{
1315213179
"name": "per_page",
1315313180
"description": "Results per page (max 100)",
@@ -13339,7 +13366,7 @@
1333913366
"description": "response",
1334013367
"examples": [
1334113368
{
13342-
"data": "[{\"total_count\":2,\"artifacts\":[{\"id\":11,\"node_id\":\"MDg6QXJ0aWZhY3QxMQ==\",\"name\":\"Rails\",\"size_in_bytes\":556,\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/5/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"},{\"id\":13,\"node_id\":\"MDg6QXJ0aWZhY3QxMw==\",\"name\":\"\",\"size_in_bytes\":453,\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/5/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"}]}]"
13369+
"data": "{\"total_count\":2,\"artifacts\":[{\"id\":11,\"node_id\":\"MDg6QXJ0aWZhY3QxMQ==\",\"name\":\"Rails\",\"size_in_bytes\":556,\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/5/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"},{\"id\":13,\"node_id\":\"MDg6QXJ0aWZhY3QxMw==\",\"name\":\"\",\"size_in_bytes\":453,\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/5/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"}]}"
1334313370
}
1334413371
]
1334513372
}
@@ -13487,7 +13514,7 @@
1348713514
"description": "response",
1348813515
"examples": [
1348913516
{
13490-
"data": "[{\"total_count\":1,\"workflow_jobs\":[{\"id\":399444496,\"run_id\":29679449,\"run_url\":\"https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449\",\"node_id\":\"MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==\",\"head_sha\":\"f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0\",\"url\":\"https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496\",\"html_url\":\"https://github.com/octo-org/octo-repo/runs/399444496\",\"status\":\"completed\",\"conclusion\":\"success\",\"started_at\":\"2020-01-20T17:42:40Z\",\"completed_at\":\"2020-01-20T17:44:39Z\",\"name\":\"build\",\"steps\":[{\"name\":\"Set up job\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":1,\"started_at\":\"2020-01-20T09:42:40.000-08:00\",\"completed_at\":\"2020-01-20T09:42:41.000-08:00\"},{\"name\":\"Run actions/checkout@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":2,\"started_at\":\"2020-01-20T09:42:41.000-08:00\",\"completed_at\":\"2020-01-20T09:42:45.000-08:00\"},{\"name\":\"Set up Ruby\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":3,\"started_at\":\"2020-01-20T09:42:45.000-08:00\",\"completed_at\":\"2020-01-20T09:42:45.000-08:00\"},{\"name\":\"Run actions/cache@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":4,\"started_at\":\"2020-01-20T09:42:45.000-08:00\",\"completed_at\":\"2020-01-20T09:42:48.000-08:00\"},{\"name\":\"Install Bundler\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":5,\"started_at\":\"2020-01-20T09:42:48.000-08:00\",\"completed_at\":\"2020-01-20T09:42:52.000-08:00\"},{\"name\":\"Install Gems\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":6,\"started_at\":\"2020-01-20T09:42:52.000-08:00\",\"completed_at\":\"2020-01-20T09:42:53.000-08:00\"},{\"name\":\"Run Tests\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":7,\"started_at\":\"2020-01-20T09:42:53.000-08:00\",\"completed_at\":\"2020-01-20T09:42:59.000-08:00\"},{\"name\":\"Deploy to Heroku\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":8,\"started_at\":\"2020-01-20T09:42:59.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"},{\"name\":\"Post actions/cache@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":16,\"started_at\":\"2020-01-20T09:44:39.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"},{\"name\":\"Complete job\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":17,\"started_at\":\"2020-01-20T09:44:39.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"}],\"check_run_url\":\"https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496\"}]}]"
13517+
"data": "{\"total_count\":1,\"jobs\":[{\"id\":399444496,\"run_id\":29679449,\"run_url\":\"https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449\",\"node_id\":\"MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==\",\"head_sha\":\"f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0\",\"url\":\"https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496\",\"html_url\":\"https://github.com/octo-org/octo-repo/runs/399444496\",\"status\":\"completed\",\"conclusion\":\"success\",\"started_at\":\"2020-01-20T17:42:40Z\",\"completed_at\":\"2020-01-20T17:44:39Z\",\"name\":\"build\",\"steps\":[{\"name\":\"Set up job\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":1,\"started_at\":\"2020-01-20T09:42:40.000-08:00\",\"completed_at\":\"2020-01-20T09:42:41.000-08:00\"},{\"name\":\"Run actions/checkout@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":2,\"started_at\":\"2020-01-20T09:42:41.000-08:00\",\"completed_at\":\"2020-01-20T09:42:45.000-08:00\"},{\"name\":\"Set up Ruby\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":3,\"started_at\":\"2020-01-20T09:42:45.000-08:00\",\"completed_at\":\"2020-01-20T09:42:45.000-08:00\"},{\"name\":\"Run actions/cache@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":4,\"started_at\":\"2020-01-20T09:42:45.000-08:00\",\"completed_at\":\"2020-01-20T09:42:48.000-08:00\"},{\"name\":\"Install Bundler\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":5,\"started_at\":\"2020-01-20T09:42:48.000-08:00\",\"completed_at\":\"2020-01-20T09:42:52.000-08:00\"},{\"name\":\"Install Gems\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":6,\"started_at\":\"2020-01-20T09:42:52.000-08:00\",\"completed_at\":\"2020-01-20T09:42:53.000-08:00\"},{\"name\":\"Run Tests\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":7,\"started_at\":\"2020-01-20T09:42:53.000-08:00\",\"completed_at\":\"2020-01-20T09:42:59.000-08:00\"},{\"name\":\"Deploy to Heroku\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":8,\"started_at\":\"2020-01-20T09:42:59.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"},{\"name\":\"Post actions/cache@v2\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":16,\"started_at\":\"2020-01-20T09:44:39.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"},{\"name\":\"Complete job\",\"status\":\"completed\",\"conclusion\":\"success\",\"number\":17,\"started_at\":\"2020-01-20T09:44:39.000-08:00\",\"completed_at\":\"2020-01-20T09:44:39.000-08:00\"}],\"check_run_url\":\"https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496\"}]}"
1349113518
}
1349213519
]
1349313520
}
@@ -13704,7 +13731,7 @@
1370413731
"description": "response",
1370513732
"examples": [
1370613733
{
13707-
"data": "[{\"total_count\":2,\"secrets\":[{\"name\":\"GH_TOKEN\",\"created_at\":\"2019-08-10T14:59:22Z\",\"updated_at\":\"2020-01-10T14:59:22Z\"},{\"name\":\"GIST_ID\",\"created_at\":\"2020-01-10T10:59:22Z\",\"updated_at\":\"2020-01-11T11:59:22Z\"}]}]"
13734+
"data": "{\"total_count\":2,\"secrets\":[{\"name\":\"GH_TOKEN\",\"created_at\":\"2019-08-10T14:59:22Z\",\"updated_at\":\"2020-01-10T14:59:22Z\"},{\"name\":\"GIST_ID\",\"created_at\":\"2020-01-10T10:59:22Z\",\"updated_at\":\"2020-01-11T11:59:22Z\"}]}"
1370813735
}
1370913736
]
1371013737
}
@@ -14147,7 +14174,7 @@
1414714174
"url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs",
1414814175
"isDeprecated": false,
1414914176
"isLegacy": false,
14150-
"description": "List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint.",
14177+
"description": "List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint.",
1415114178
"documentationUrl": "https://developer.github.com/v3/actions/workflow_runs/#list-workflow-runs",
1415214179
"previews": [],
1415314180
"headers": [],
@@ -14191,6 +14218,58 @@
1419114218
"alias": null,
1419214219
"deprecated": null
1419314220
},
14221+
{
14222+
"name": "actor",
14223+
"description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.",
14224+
"in": "QUERY",
14225+
"type": "string",
14226+
"required": false,
14227+
"enum": null,
14228+
"allowNull": false,
14229+
"mapToData": null,
14230+
"validation": null,
14231+
"alias": null,
14232+
"deprecated": null
14233+
},
14234+
{
14235+
"name": "branch",
14236+
"description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.",
14237+
"in": "QUERY",
14238+
"type": "string",
14239+
"required": false,
14240+
"enum": null,
14241+
"allowNull": false,
14242+
"mapToData": null,
14243+
"validation": null,
14244+
"alias": null,
14245+
"deprecated": null
14246+
},
14247+
{
14248+
"name": "event",
14249+
"description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)\" in the GitHub Help documentation.",
14250+
"in": "QUERY",
14251+
"type": "string",
14252+
"required": false,
14253+
"enum": null,
14254+
"allowNull": false,
14255+
"mapToData": null,
14256+
"validation": null,
14257+
"alias": null,
14258+
"deprecated": null
14259+
},
14260+
{
14261+
"name": "status",
14262+
"description": "Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in \"[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run).\"",
14263+
"in": "QUERY",
14264+
"type": "string",
14265+
"required": false,
14266+
"enum": ["completed", "status", "conclusion"],
14267+
"allowNull": false,
14268+
"mapToData": null,
14269+
"validation": null,
14270+
"alias": null,
14271+
"deprecated": null
14272+
},
1419414273
{
1419514274
"name": "per_page",
1419614275
"description": "Results per page (max 100)",
@@ -26881,32 +26960,6 @@
2688126960
"validation": null,
2688226961
"alias": null,
2688326962
"deprecated": null
26884-
},
26885-
{
26886-
"name": "per_page",
26887-
"description": "Results per page (max 100)",
26888-
"in": "QUERY",
26889-
"type": "integer",
26890-
"required": false,
26891-
"enum": null,
26892-
"allowNull": false,
26893-
"mapToData": null,
26894-
"validation": null,
26895-
"alias": null,
26896-
"deprecated": null
26897-
},
26898-
{
26899-
"name": "page",
26900-
"description": "Page number of the results to fetch.",
26901-
"in": "QUERY",
26902-
"type": "integer",
26903-
"required": false,
26904-
"enum": null,
26905-
"allowNull": false,
26906-
"mapToData": null,
26907-
"validation": null,
26908-
"alias": null,
26909-
"deprecated": null
2691026963
}
2691126964
],
2691226965
"responses": [

0 commit comments

Comments
 (0)