# io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion

From **Kubernetes**.

An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.

- Type: `object`

## Properties

### `apiServerID`

- Required: true
- Type: `string`

apiServerID is the ID of the reporting API server.

### `decodableVersions`

- Required: true
- Type: `array`

decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

### `encodingVersion`

- Required: true
- Type: `string`

encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).

### `servedVersions`

- Required: false
- Type: `array`

servedVersions lists all versions the API server can serve. DecodableVersions must include all ServedVersions.

## JSON Schema

```json
{"description":"An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.","properties":{"apiServerID":{"description":"apiServerID is the ID of the reporting API server.","type":"string"},"decodableVersions":{"description":"decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.","items":{"type":"string"},"type":"array","x-kubernetes-list-type":"set"},"encodingVersion":{"description":"encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).","type":"string"},"servedVersions":{"description":"servedVersions lists all versions the API server can serve. DecodableVersions must include all ServedVersions.","items":{"type":"string"},"type":"array","x-kubernetes-list-type":"set"}},"required":["apiServerID","encodingVersion","decodableVersions"],"type":"object"}
```
