Zum Hauptinhalt springen

List Registries belonging to a Project

GET /v2/projects/{projectId}/registries/
v2
GET
container-list-registries

Request

  • projectIdstring (uuid)
    required

    ID of the Project to get Registries for.

Responses

Response-Header

  • X-Pagination-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

OK

  • Array[
  • *object
    • credentialsobject
      • usernamestring
        required

        Your registry username.

      • validboolean
        required

        Status of the credentials.

    • descriptionstring
      required
    • idstring (uuid)
      required
    • projectIdstring (uuid)
      required
    • uristring
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/registries?hasCredentials=true&limit=50