Skip to content

Latest commit

 

History

History
executable file
·
45 lines (41 loc) · 1 KB

repo_list.md

File metadata and controls

executable file
·
45 lines (41 loc) · 1 KB

+++ date = "2000-01-01T00:00:00+00:02" title = "Repo List" description = "Endpoint to list repositories" +++

Returns repositories which are registered to Drone.

GET /api/user/repos

Example Response Body:

[
  {
      "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
  }
]