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

저장소 목록

원문 보기 위키 갱신

저장소 목록 (Repo List)

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

출처: Drone CI Docs

본문

Drone에 등록된 저장소를 반환해요.

GET /api/user/repos

응답 본문 예시:

[
  {
      "id": 42,
      "uid": "16607898",
      "user_id": 2,
      "namespace": "octocat",
      "name": "octocat",
      "slug": "octocat/hello-world",
      "scm": "git",
      "git_http_url": "https://github.com/octocat/hello-world.git",
      "git_ssh_url": "git@github.com:octocat/hello-world.git",
      "link": "https://github.com/octocat/hello-world",
      "default_branch": "master",
      "private": false,
      "visibility": "public",
      "active": true,
      "config_path": ".drone.yml",
      "trusted": false,
      "protected": false,
      "ignore_forks": false,
      "ignore_pull_requests": false,
      "timeout": 60,
      "counter": 185,
      "synced": 1542160374,
      "created": 1542160374,
      "updated": 1542160374,
      "version": 187
  }
]