---
title: "List all docker registries"
method: POST
path: "/docker_registries/list"
tags: ["docker_registry"]
---

# List all docker registries

`POST /docker_registries/list`

List all docker registries

## Request body

- DockerRegistryListMetadata — All api calls that return a list will have this metadata block as input
  - `filter` string — The filter in FIQL syntax used for the results.
  - `kind` string — The kind name
  - `sort_order` string — The sort order in which results are returned
  - `offset` integer — Offset from the start of the entity list
  - `length` integer — The number of records to retrieve relative to the offset
  - `sort_attribute` string — The attribute to perform sort on

## Response `200`

Success

- DockerRegistryListIntentResponse — Response object for intentful operation of docker_registrys
  - `entities` DockerRegistryIntentResource[]
    - `status` DockerRegistryDefStatus — Docker registry
      - `state` string — The state of the entity
      - `message_list` MessageResource[]
        - `message` string, required — If state is ERROR, a message describing the error.
        - `reason` string, required — If state is ERROR, a machine-readable snake-cased string.
        - `details` object — Custom key-value details relevant to the status.
      - `name` string, required — Name of the docker registry
      - `resources` DockerRegistryResources, required — Docker registry resources
        - `username` string, required — User name of the docker registry
        - `is_enabled` boolean — Flag to indicate whether the docker registry is enabled or not. If unset, defaults to False.
        - `certificate` string — Certificate required for the private docker registry
        - `url` string, required — URL of the docker registry
        - `password` string, required — Password of the user for the docker registry
        - `is_system_default` boolean — Flag to indicate whether the docker registry is a system default
    - `spec` DockerRegistry — Docker registry spec
      - `name` string, required — Name of the docker registry
      - `resources` DockerRegistryResources, required — Docker registry resources
        - `username` string, required — User name of the docker registry
        - `is_enabled` boolean — Flag to indicate whether the docker registry is enabled or not. If unset, defaults to False.
        - `certificate` string — Certificate required for the private docker registry
        - `url` string, required — URL of the docker registry
        - `password` string, required — Password of the user for the docker registry
        - `is_system_default` boolean — Flag to indicate whether the docker registry is a system default
    - `api_version` string
    - `metadata` DockerRegistryMetadata, required — The docker_registry kind metadata
      - `last_update_time` string, date-time — UTC date and time in RFC-3339 format when docker_registry was last updated
      - `kind` string, required — The kind name
      - `uuid` string, UUID — docker_registry uuid
      - `spec_version` integer — Version number of the latest spec.
      - `creation_time` string, date-time — UTC date and time in RFC-3339 format when docker_registry was created
      - `spec_hash` string — Hash of the spec. This will be returned from server.
      - `should_force_translate` boolean — Applied on Prism Central only. Indicate whether force to translate the spec of the fanout request to fit the target cluster API schema.
      - `owner_reference` UserReference — The reference to a user
        - `kind` string, required — The kind name
        - `name` string
        - `uuid` string, UUID, required
      - `categories` object — Categories for the docker_registry
      - `name` string — docker_registry name
  - `api_version` string, required
  - `metadata` DockerRegistryListMetadataOutput, required — All api calls that return a list will have this metadata block
    - `filter` string — The filter used for the results
    - `kind` string — The kind name
    - `sort_order` string — The sort order in which results are returned
    - `offset` integer — Offset from the start of the entity list
    - `total_matches` integer — Total matches found
    - `length` integer — The number of records retrieved relative to the offset
    - `sort_attribute` string — The attribute to perform sort on

## Other responses

- `default` — Internal Error

---

[API](https://skmtc.net/nutanix/apis/nutanix-intentful-api.md) · [All operations](https://skmtc.net/nutanix/apis/nutanix-intentful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nutanix/nutanix-intentful-api/versions/40395083ab31/schema)
