Skip to content

Files

Latest commit

 

History

History
59 lines (43 loc) · 1.23 KB

api-organization-validateProxyCacheConfig.adoc

File metadata and controls

59 lines (43 loc) · 1.23 KB

validateProxyCacheConfig

POST /api/v1/organization/{orgname}/validateproxycache

Authorizations: 

Path parameters

Type Name Description Schema

path

orgname
required

string

Request body schema (application/json)

Proxy cache configuration for an organization

Name Description Schema

upstream_registry
required

Name of the upstream registry that is to be cached

string

Responses

HTTP Code Description Schema

202

Successful creation

400

Bad Request

401

Session required

403

Unauthorized access

404

Not found

Example command

$ curl -X POST "https://<quay-server.example.com>/api/v1/organization/{orgname}/validateproxycache" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
        "upstream_registry": "<upstream_registry>"
      }'