Repository Management

List user's repositories

Get a list of repositories accessibly by the authenticated user

get/repos

Request

  • Base URL
    https://api.diversion.dev/v0
  • Auth
    • OAuth 2
      Implicithttps://auth.diversion.dev/oauth2/authorize
      Scopescoreapi/read
    • or OAuth 2
      Implicithttps://auth.diversion.dev/oauth2/authorize
      Scopescoreapi/write
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

ownedboolean

If specified, filters repositories by ownership of the authenticated user. True would mean only repos they own will be returned. False would mean only repos they collaborate on will be returned.

Response

Success

object'Repo' required

Example response

{
  "items": [
    {
      "repo_name": "repo-name",
      "repo_id": "example_id"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.