repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint.curl --location --request GET 'https://api.github.com/repos///actions/runs//artifacts'
{
"artifacts": [
{
"archive_download_url": "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip",
"created_at": "2019-08-24T14:15:22Z",
"expired": true,
"expires_at": "2019-08-24T14:15:22Z",
"id": 5,
"name": "AdventureWorks.Framework",
"node_id": "MDEwOkNoZWNrU3VpdGU1",
"size_in_bytes": 12345,
"updated_at": "2019-08-24T14:15:22Z",
"url": "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
}
],
"total_count": 0
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通