read Apiextensions V1Custom Resource Definition
GET {{baseUrl}}/apis/apiextensions.k8s.io/v1/customresourcedefinitions/:name?exact=<boolean>&export=<boolean>&pretty=<string>
read the specified CustomResourceDefinition
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
exact | string | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | |
export | string | Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. | |
pretty | string | If 'true', then the output is pretty printed. |
RESPONSES
status: OK
{"spec":{"group":"proident aute laboris sint","names":{"plural":"non aliqua exercitation qui elit","kind":"nulla nostrud ipsum","categories":["ex dolor","eu"],"listKind":"laboris et labore","shortNames":["nisi aute non reprehenderit","consectetur Duis"],"singular":"ad enim Excepteur"},"scope":"enim U","versions":[{"name":"adipi","served":false,"storage":true,"additionalPrinterColumns":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"schema":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subresources":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"fugiat nisi","served":false,"storage":true,"additionalPrinterColumns":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"schema":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"subresources":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"conversion":{"strategy":"ut Ut quis","webhook":{"conversionReviewVersions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"clientConfig":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"preserveUnknownFields":true},"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"nisi ullamco est","creationTimestamp":"2020-07-30T15:16:50.818Z","deletionGracePeriodSeconds":17995887,"deletionTimestamp":"1955-09-29T15:40:19.728Z","finalizers":["sunt non nostrud et Ut","elit ipsum"],"generateName":"qui aliquip in velit","generation":15099102,"labels":{},"managedFields":[{"apiVersion":"ipsum","fieldsType":"occaecat ut cupidatat Lorem","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"ullamco in do id","operation":"in nulla amet","time":"1953-07-20T19:33:37.626Z"},{"apiVersion":"enim nisi reprehenderi","fieldsType":"sunt quis dolor","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"magna Ut","operation":"ad aliquip Lorem ","time":"2000-01-04T10:47:17.092Z"}],"name":"Ut nisi aliqua Duis","namespace":"laboris Duis et","ownerReferences":[{"apiVersion":"commodo amet ex irure nulla","kind":"Excepteur","name":"labore ipsum","uid":"dolor nostrud tempor","blockOwnerDeletion":true,"controller":true},{"apiVersion":"rep","kind":"voluptate eu ipsum","name":"occaecat sunt eiusmod esse do","uid":"ea dolore dolor id","blockOwnerDeletion":false,"controller":true}],"resourceVersion":"aute minim occaecat","selfLink":"ullamco","uid":"exercitation sit"},"status":{"acceptedNames":{"plural":"amet nisi Duis in do","kind":"culpa eiusmod","categories":["deserunt Excepteur minim","adipisicing c"],"listKind":"consequat","shortNames":["fugiat commodo c","aliquip ipsum mollit ad"],"singular":"ad minim aute velit do"},"storedVersions":["reprehenderit pariatur","laborum in"],"conditions":[{"type":"culpa ad dolor cillum","status":"dolor est","lastTransitionTime":"1956-03-06T06:29:51.080Z","message":"labore eu sed pariatur","reason":"id"},{"type":"p","status":"ipsum in","lastTransitionTime":"1993-09-13T16:22:05.951Z","message":"d","reason":"sit labore voluptate"}]}}