ves-io-schema-container_registry-API-List

Examples of listing container_registry

Usecase:

List container_registry

Request using vesctl:

vesctl configuration list container_registry --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: example
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 3ad06e9f-62f8-43ba-80ae-ebfd5acbca50

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build243329498_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/container_registrys'

curl response

HTTP/1.1 200 OK
Content-Length: 459
Content-Type: application/json
Date: Fri, 23 Sep 2022 13:11:46 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "example",
      "uid": "3ad06e9f-62f8-43ba-80ae-ebfd5acbca50",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}