---
title: "List returns list of repos"
method: GET
path: "/api/v1/repositories"
tags: ["RepositoryService"]
---

# List returns list of repos

`GET /api/v1/repositories`

## Query parameters

- `repo` string

## Response `200`

(empty)

- V1alpha1RepositoryList — RepositoryList is a collection of Repositories.
  - `items` V1alpha1Repository[]
    - `connectionState` V1alpha1ConnectionState
      - `attemptedAt` V1Time — Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false
        - `nanos` integer — Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.
        - `seconds` string, int64 — Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
      - `message` string
      - `status` string
    - `enableLfs` boolean
    - `insecure` boolean
    - `insecureIgnoreHostKey` boolean
    - `password` string
    - `repo` string
    - `sshPrivateKey` string
    - `tlsClientCertData` string
    - `tlsClientCertKey` string
    - `username` string
  - `metadata` V1ListMeta — ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
    - `continue` string — continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
    - `resourceVersion` string
    - `selfLink` string

---

[API](https://skmtc.net/devtron-labs/apis/consolidate-services.md) · [All operations](https://skmtc.net/devtron-labs/apis/consolidate-services/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devtron-labs/consolidate-services/revisions/778bfc291d1e/schema)
