본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

빌드 목록

원문 보기 위키 갱신

빌드 목록 (Build List)

Drone REST API의 빌드 목록 조회 엔드포인트를 설명하는 문서예요. 저장소의 최근 빌드 목록을 반환합니다.

출처: Drone CI Docs

본문

이름을 기준으로 저장소의 최근 빌드 목록을 반환해요. 이 API는 해당 저장소에 대한 읽기 권한을 필요로 한다는 점에 유의하세요.

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

응답 본문 예시:

[
  {
      "id": 100207,
      "repo_id": 296163,
      "number": 42,
      "status": "success",
      "event": "pull_request",
      "action": "sync",
      "link": "https://github.com/octoat/hello-world/compare/e3320539a4c0...9fc1ad6ebf12",
      "message": "updated README",
      "before": "e3320539a4c03ccfda992641646deb67d8bf98f3",
      "after": "9fc1ad6ebf12462f3f9773003e26b4c6f54a772e",
      "ref": "refs/heads/master",
      "source_repo": "spaceghost/hello-world",
      "source": "develop",
      "target": "master",
      "author_login": "octocat",
      "author_name": "The Octocat",
      "author_email": "octocat@github.com",
      "author_avatar": "http://www.gravatar.com/avatar/7194e8d48fa1d2b689f99443b767316c",
      "sender": "bradrydzewski",
      "started": 1564085874,
      "finished": 1564086343,
      "created": 1564085874,
      "updated": 1564085874,
      "version": 3
  }
]