ビルドリスト

Updated 2 years ago by Admin

名前に基づいて、リポジトリの最近のビルドを返します。このAPIには、リポジトリへの読み取りアクセスが必要であることに注意してください。

GET /api/repos/{owner}/{repo}/builds

レスポンス本文の例:

1   [
2 {
3 "id": 100207,
4 "repo_id": 296163,
5 "number": 42,
6 "status": "success",
7 "event": "pull_request",
8 "action": "sync",
9 "link": "https://github.com/octoat/hello-world/compare/e3320539a4c0...9fc1ad6ebf12",
10 "message": "updated README",
11 "before": "e3320539a4c03ccfda992641646deb67d8bf98f3",
12 "after": "9fc1ad6ebf12462f3f9773003e26b4c6f54a772e",
13 "ref": "refs/heads/master",
14 "source_repo": "spaceghost/hello-world",
15 "source": "develop",
16 "target": "master",
17 "author_login": "octocat",
18 "author_name": "The Octocat",
19 "author_email": "octocat@github.com",
20 "author_avatar": "http://www.gravatar.com/avatar/7194e8d48fa1d2b689f99443b767316c",
21 "sender": "bradrydzewski",
22 "started": 1564085874,
23 "finished": 1564086343,
24 "created": 1564085874,
25 "updated": 1564085874,
26 "version": 3
27 }
28 ]


How did we do?