|
10792 | 10792 | ], |
10793 | 10793 | "renamed": null |
10794 | 10794 | }, |
| 10795 | + { |
| 10796 | + "name": "List artifacts for a repository", |
| 10797 | + "scope": "actions", |
| 10798 | + "id": "listArtifactsForRepo", |
| 10799 | + "method": "GET", |
| 10800 | + "url": "/repos/{owner}/{repo}/actions/artifacts", |
| 10801 | + "isDeprecated": false, |
| 10802 | + "isLegacy": false, |
| 10803 | + "description": "Lists all artifacts 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.", |
| 10804 | + "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository", |
| 10805 | + "previews": [], |
| 10806 | + "headers": [], |
| 10807 | + "parameters": [ |
| 10808 | + { |
| 10809 | + "name": "owner", |
| 10810 | + "description": "owner parameter", |
| 10811 | + "in": "PATH", |
| 10812 | + "type": "string", |
| 10813 | + "required": true, |
| 10814 | + "enum": null, |
| 10815 | + "allowNull": false, |
| 10816 | + "mapToData": null, |
| 10817 | + "validation": null, |
| 10818 | + "alias": null, |
| 10819 | + "deprecated": null |
| 10820 | + }, |
| 10821 | + { |
| 10822 | + "name": "repo", |
| 10823 | + "description": "repo parameter", |
| 10824 | + "in": "PATH", |
| 10825 | + "type": "string", |
| 10826 | + "required": true, |
| 10827 | + "enum": null, |
| 10828 | + "allowNull": false, |
| 10829 | + "mapToData": null, |
| 10830 | + "validation": null, |
| 10831 | + "alias": null, |
| 10832 | + "deprecated": null |
| 10833 | + }, |
| 10834 | + { |
| 10835 | + "name": "per_page", |
| 10836 | + "description": "Results per page (max 100)", |
| 10837 | + "in": "QUERY", |
| 10838 | + "type": "integer", |
| 10839 | + "required": false, |
| 10840 | + "enum": null, |
| 10841 | + "allowNull": false, |
| 10842 | + "mapToData": null, |
| 10843 | + "validation": null, |
| 10844 | + "alias": null, |
| 10845 | + "deprecated": null |
| 10846 | + }, |
| 10847 | + { |
| 10848 | + "name": "page", |
| 10849 | + "description": "Page number of the results to fetch.", |
| 10850 | + "in": "QUERY", |
| 10851 | + "type": "integer", |
| 10852 | + "required": false, |
| 10853 | + "enum": null, |
| 10854 | + "allowNull": false, |
| 10855 | + "mapToData": null, |
| 10856 | + "validation": null, |
| 10857 | + "alias": null, |
| 10858 | + "deprecated": null |
| 10859 | + } |
| 10860 | + ], |
| 10861 | + "responses": [ |
| 10862 | + { |
| 10863 | + "code": 200, |
| 10864 | + "description": "response", |
| 10865 | + "examples": [ |
| 10866 | + { |
| 10867 | + "data": "{\"total_count\":2,\"artifacts\":[{\"id\":11,\"node_id\":\"MDg6QXJ0aWZhY3QxMQ==\",\"name\":\"Rails\",\"size_in_bytes\":556,\"url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11\",\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/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,\"url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13\",\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"}]}" |
| 10868 | + } |
| 10869 | + ] |
| 10870 | + } |
| 10871 | + ], |
| 10872 | + "renamed": null |
| 10873 | + }, |
10795 | 10874 | { |
10796 | 10875 | "name": "Get an artifact", |
10797 | 10876 | "scope": "actions", |
|
10851 | 10930 | "description": "response", |
10852 | 10931 | "examples": [ |
10853 | 10932 | { |
10854 | | - "data": "{\"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\"}" |
| 10933 | + "data": "{\"id\":11,\"node_id\":\"MDg6QXJ0aWZhY3QxMQ==\",\"name\":\"Rails\",\"size_in_bytes\":556,\"url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11\",\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"}" |
10855 | 10934 | } |
10856 | 10935 | ] |
10857 | 10936 | } |
|
11773 | 11852 | "description": "response", |
11774 | 11853 | "examples": [ |
11775 | 11854 | { |
11776 | | - "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\"}]}" |
| 11855 | + "data": "{\"total_count\":2,\"artifacts\":[{\"id\":11,\"node_id\":\"MDg6QXJ0aWZhY3QxMQ==\",\"name\":\"Rails\",\"size_in_bytes\":556,\"url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11\",\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/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,\"url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13\",\"archive_download_url\":\"https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13/zip\",\"expired\":\"false\",\"created_at\":\"2020-01-10T14:59:22Z\",\"expires_at\":\"2020-01-21T14:59:22Z\"}]}" |
11777 | 11856 | } |
11778 | 11857 | ] |
11779 | 11858 | } |
|
12249 | 12328 | "validation": null, |
12250 | 12329 | "alias": null, |
12251 | 12330 | "deprecated": null |
12252 | | - }, |
12253 | | - { |
12254 | | - "name": "per_page", |
12255 | | - "description": "Results per page (max 100)", |
12256 | | - "in": "QUERY", |
12257 | | - "type": "integer", |
12258 | | - "required": false, |
12259 | | - "enum": null, |
12260 | | - "allowNull": false, |
12261 | | - "mapToData": null, |
12262 | | - "validation": null, |
12263 | | - "alias": null, |
12264 | | - "deprecated": null |
12265 | | - }, |
12266 | | - { |
12267 | | - "name": "page", |
12268 | | - "description": "Page number of the results to fetch.", |
12269 | | - "in": "QUERY", |
12270 | | - "type": "integer", |
12271 | | - "required": false, |
12272 | | - "enum": null, |
12273 | | - "allowNull": false, |
12274 | | - "mapToData": null, |
12275 | | - "validation": null, |
12276 | | - "alias": null, |
12277 | | - "deprecated": null |
12278 | 12331 | } |
12279 | 12332 | ], |
12280 | 12333 | "responses": [ |
|
0 commit comments