Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

KubeVirt DataSources API

Operations for managing DataSource resources. A DataSource references an existing DataVolume or VolumeSnapshot as a source for cloning into new DataVolumes.

KubeVirt DataSources API is one of 8 APIs that KubeVirt publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include DataSources. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a GitHub repository, and 1 JSON Schema.

This API exposes 4 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 1.59.0.

Requests are made against a single base URL, https://{kubernetes-api-server}.

4 operations 2 paths 3 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.59.0
Server
https://{kubernetes-api-server}
License
Resource Areas
1

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

DataSources 4

Operations for managing DataSource resources. A DataSource references an existing DataVolume or VolumeSnapshot as a source for cloning into new DataVolumes.

GET
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources
KubeVirt List DataSources in a namespace
listNamespacedDataSource 3 params → 200401
POST
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources
KubeVirt Create a DataSource
createNamespacedDataSource 1 param body → 201400401
GET
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}
KubeVirt Get a DataSource
readNamespacedDataSource 2 params → 200401404
DELETE
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}
KubeVirt Delete a DataSource
deleteNamespacedDataSource 2 params → 200401404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ObjectMeta (7 properties), DataSource (5 properties), DataSourceList (3 properties). Each schema is shown below with its type and property counts.

ObjectMeta
object
Standard Kubernetes object metadata.
7 properties 1 required
DataSource
object
A CDI DataSource referencing a DataVolume or VolumeSnapshot as a reusable source for cloning into new DataVolumes.
5 properties 4 required
DataSourceList
object
List of DataSource resources.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kubevirt-datasources-api-openapi.yml Raw ↑

Other APIs KubeVirt publishes across the network.

KubeVirt DataVolumes API
KubeVirt StorageProfiles API
KubeVirt VirtualMachineInstanceMigrations API
KubeVirt VirtualMachineInstances API
KubeVirt VirtualMachines API
KubeVirt VMConsole API
KubeVirt VMLifecycle API