# readInternalApiserverV1alpha1StorageVersion

From **Kubernetes**.

`GET /apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}`

read the specified StorageVersion

## Parameters

### `name`

- Location: path
- Required: true
- Type: `string`
- uniqueItems: `true`

name of the StorageVersion

### `pretty`

- Location: query
- Required: false
- Type: `string`
- uniqueItems: `true`

If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).

## Responses

### `200`

OK

### `application/cbor`

- Type: `object`

Storage version of a specific resource.

```json
{"description":"Storage version of a specific resource.","properties":{"apiVersion":{"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"metadata is the standard object metadata. The name is \u003cgroup\u003e.\u003cresource\u003e."},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"}],"default":{},"description":"spec is an empty spec. It is here to comply with Kubernetes API style."},"status":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"}],"default":{},"description":"status on the version the API server instance can decode from and encode objects to when persisting objects in the backend."}},"required":["metadata"],"type":"object","x-kubernetes-group-version-kind":[{"group":"internal.apiserver.k8s.io","kind":"StorageVersion","version":"v1alpha1"}]}
```

### `application/json`

- Type: `object`

Storage version of a specific resource.

```json
{"description":"Storage version of a specific resource.","properties":{"apiVersion":{"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"metadata is the standard object metadata. The name is \u003cgroup\u003e.\u003cresource\u003e."},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"}],"default":{},"description":"spec is an empty spec. It is here to comply with Kubernetes API style."},"status":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"}],"default":{},"description":"status on the version the API server instance can decode from and encode objects to when persisting objects in the backend."}},"required":["metadata"],"type":"object","x-kubernetes-group-version-kind":[{"group":"internal.apiserver.k8s.io","kind":"StorageVersion","version":"v1alpha1"}]}
```

### `application/vnd.kubernetes.protobuf`

- Type: `object`

Storage version of a specific resource.

```json
{"description":"Storage version of a specific resource.","properties":{"apiVersion":{"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"metadata is the standard object metadata. The name is \u003cgroup\u003e.\u003cresource\u003e."},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"}],"default":{},"description":"spec is an empty spec. It is here to comply with Kubernetes API style."},"status":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"}],"default":{},"description":"status on the version the API server instance can decode from and encode objects to when persisting objects in the backend."}},"required":["metadata"],"type":"object","x-kubernetes-group-version-kind":[{"group":"internal.apiserver.k8s.io","kind":"StorageVersion","version":"v1alpha1"}]}
```

### `application/yaml`

- Type: `object`

Storage version of a specific resource.

```json
{"description":"Storage version of a specific resource.","properties":{"apiVersion":{"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"allOf":[{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"}],"default":{},"description":"metadata is the standard object metadata. The name is \u003cgroup\u003e.\u003cresource\u003e."},"spec":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"}],"default":{},"description":"spec is an empty spec. It is here to comply with Kubernetes API style."},"status":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"}],"default":{},"description":"status on the version the API server instance can decode from and encode objects to when persisting objects in the backend."}},"required":["metadata"],"type":"object","x-kubernetes-group-version-kind":[{"group":"internal.apiserver.k8s.io","kind":"StorageVersion","version":"v1alpha1"}]}
```

### `401`

Unauthorized

## Request examples

### cURL

```shell
curl --request GET \
  --url '/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}'
```
