Zum Hauptinhalt springen

List Registries belonging to a Project

GET/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-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

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&page=1