List admin endpoints.
List can be filtered by port.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create admin endpoint.
Allow access to a specified port for all specified IPs.
A successful response.
Port is invalid.
Unauthorized: authentication failed.
Permission denied.
Port already exists.
Internal Lightbits error.
An unexpected error response.
Get admin endpoint.
Get an endpoint corresponding to a specified port.
A successful response.
Port is invalid.
Unauthorized: authentication failed.
Permission denied.
Port does not have a corresponding endpoint.
Internal Lightbits error.
An unexpected error response.
Delete admin endpoint.
Delete endpoint corresponding to a specified port.
A successful response.
Port is invalid.
Unauthorized: authentication failed.
Permission denied.
Port does not have a corresponding endpoint.
There is a user operation in progress on the port.
Etag mismatch.
Internal Lightbits error.
Temporary state that does not currently allow deletion (Creating/Updating).
An unexpected error response.
Update admin endpoint.
Update list of ips that may access the specified port.
A successful response.
Port is invalid.
Unauthorized: authentication failed.
Permission denied.
Port does not have a corresponding endpoint.
There is a user operation in progress on the port.
Etag mismatch.
Internal Lightbits error.
Temporary state; cannot be updated now (Creating/Updating).
An unexpected error response.
Get cluster-federation service credentials
Gets the cluster-federation service credentials. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Authentication required / Authentication failed
An unexpected error response.
List clusters.
List clusters attached to the cluster-federation. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Authentication required / Authentication failed
An unexpected error response.
Attach a new cluster.
Attaches a new cluster to the system. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the cluster-federation service.
An unexpected error response.
Detach an existing cluster.
Detaches an existing cluster from the system. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the cluster-federation service.
An unexpected error response.
List workflows
List the running and completed workflows. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the cluster-federation service.
An unexpected error response.
Get a specific workflow
Gets a specific workflow by its ID. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Invalid argument.
Authentication required / Authentication failed
Internal error in the cluster-federation service.
An unexpected error response.
Login to the cluster federation.
Login to the cluster federation service. This API is currently unavailable. It is reserved for future support of cluster federation functionality.
A successful response.
Authentication required / Authentication failed
Internal error in the cluster-federation service.
An unexpected error response.
Retrieve cluster information.
Cluster information - e.g., cluster UUID and SubsystemNQN - is exposed via this API.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Retrieve cluster information.
Cluster information for tenants - e.g., cluster UUID and SubsystemNQN - is exposed via this API.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Get all Lightbits events from cluster.
API to pull the events from the aggregated cluster event log.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Project not found.
Internal Lightbits error.
Unimplemented capability. Specify only a single parameter to filter events: componentType, ProjectName, or Severity.
An unexpected error response.
Retrieve server logs and other information.
Retrieve all server logs. This command will trigger a dedicated Lightbits script that will package all server logs and information them into a tarball file then fetch the tarball file.
A successful response.(streaming responses)
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Get all Lightbits events from cluster.
API to pull the events from the aggregated cluster event log.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Project not found.
Internal Lightbits error.
Unimplemented capability. Specify only a single parameter to filter events: componentType, ProjectName, or Severity.
An unexpected error response.
Product Version.
Get product version information.
A successful response.
An unexpected error response.
Federated Authentication Operations
Listing IdP configurations.
Listing IdP configurations.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Create an IdP configuration.
Create a configuration for a remote Identity Provider (IdP) that could be used to authorize access to the Lightbits cluster. Currently only a single IdP configuration is supported.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Update an IdP configuration.
Update an IdP configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
IdP configuration with the specified name was not found.
An unexpected error response.
Get an IdP configuration.
Get an IdP configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
IdP configuration with the specified name was not found.
An unexpected error response.
Delete an IdP configuration.
Delete an IdP configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
IdP configuration with the specified name was not found.
An unexpected error response.
List all authorization map entries.
List all map entries between a clientID/claim/group and an access right (scope and role).
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Create an authorization map entry.
Create an authorization map entry that maps a clientID/claim/group to an access right (scope and role).
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Get an authorization map entry.
Get an authorization map entry that maps a clientID/claim/group to an access right (scope and role).
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Auth map entry not found.
An unexpected error response.
Delete an authorization map entry.
Delete an authorization map entry that maps a clientID/claim/group to an access right (scope and role).
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Auth map entry not found.
An unexpected error response.
update an authorization map entry.
Update an authorization map entry that maps a clientID/claim/group to an access right (scope and role).
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Auth map entry not found.
An unexpected error response.
Disable Federated Authentication.
Disable Federated Authentication.
A successful response.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Enable Federated Authentication.
Enable Federated Authentication.
A successful response.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Listing idp-client-configurations.
Listing idp-client-configurations.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Create an idp-client-configuration.
Create an idp-client-configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Get an idp-client-configuration.
Get an idp-client-configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
idp-client-configuration with the specified name was not found.
An unexpected error response.
Delete an idp-client-configuration.
Delete an idp-client-configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
idp-client-configuration with the specified name was not found.
An unexpected error response.
Update an idp-client-configuration.
Update an idp-client-configuration.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
idp-client-configuration with the specified name was not found.
An unexpected error response.
Rotate the cluster root encryption key (Mock).
Rotate the Cluster Level Encryption Key (KEK). After the rotation, all of the DEKs will be encrypted with the new KEK and the new KEK will be stored securely in the cluster.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Rotation is already in progress.
Last rotation occurred less than the defined interval period between rotations
Precondition failed.
System internal error.
Unimplemented capability.
An unexpected error response.
Get cluster root encryption key.
Securely export the Cluster-Level Encryption Key (KEK). As a security measure, the exported key in the response will be encrypted.
A successful response.
Unauthorized: authentication failed.
Unimplemented capability.
An unexpected error response.
Enable Cluster level encryption.
Enables cluster-level encryption. Once enabled, each volume will be encrypted with a Data Encryption Key (DEK), which is in turn encrypted by a Key Encryption Key (KEK). In the body, users can select the KeyStore type: tpm or file. Note: cluster encryption cannot be disabled once enabled.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Encryption is already enabled or enabling.
Precondition failed.
System internal error.
Unimplemented capability.
An unexpected error response.
In-band Authentication Operations
Disable In-Band cluster authentication (Beta).
Disables NVMe-oF In Band Authentication. Hosts can connect to a Lightbits cluster without establishing trust (the default Lightbits cluster configuration). In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Enable In-Band cluster authentication (Beta).
Enables NVMe-oF In-Band Authentication. This allows a Lightbits cluster to selectively restrict the set of NVMe hosts (clients) that are allowed to connect to the NVMe target (Lightbits cluster), and also (optionally), restrict the set NVMe targets that a given NVMe host will trust and connect to. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Unauthorized: authentication failed.
Permission denied.
An unexpected error response.
Return a list of trusted hosts configurations.
Return a list of trusted hosts configurations. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Failed to find host name/project.
An unexpected error response.
Get secrets of a host.
Get a trusted host secrets required for authentication and connection. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Failed to find host name/project.
An unexpected error response.
Set the secrets for a host.
Set hosts secrets for a trusted host to allow trusted connectivity between a Lightbits cluster and hosts, as part of In-Band Authentication support. Specifying a host secret is mandatory for trusted connect of this host to the Lightbits cluster, Specifying a target secret - either explicitly or by using auto-gen mode - is optional, allowing only a trusted Lightbits cluster to connect to the host, If no target secret is specified, the target secret type will be set to disable. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Failed to find host name/project.
An unexpected error response.
Return a list of trusted hosts configurations.
Return a list of trusted hosts configurations. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Failed to find host name/project.
An unexpected error response.
Create a trusted host resource.
Create a trusted host resource with configuration parameters needed for authentication and NVMe connectivity. When In-Band Authentication is enabled, only trusted hosts can connect to a Lightbits cluster. For each trusted host, an associated Lightbits resource must be created using this command. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Host with the provided host name and project name already exists.
An unexpected error response.
Get a host.
Get a trusted host configuration. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Failed to find host name/project.
An unexpected error response.
Delete a trusted host.
Delete a trusted host configuration. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Failed to find host name/project .
An unexpected error response.
Update a host.
Update a trusted host configuration, optionally modifying labels. In-Band Authentication functionality and its APIs are under development, available for evaluation purposes only. They should not be used in production clusters.
A successful response.
Invalid arguments.
Unauthorized: authentication failed.
Permission denied.
Failed to find host name/project.
An unexpected error response.
Upgrade Operations
Upgrade cluster.
Upgrades servers in the cluster one by one. Only servers that do not cause loss of service are upgraded. The progress and status of the upgrade operation can be monitored by be polling the server object.
A successful response.
Invalid UUID or URI.
Unauthorized: authentication failed.
Permission denied.
One of the provided UUIDs is not found.
Internal Lightbits error.
An unexpected error response.
Upgrade server.
Upgrades server given by UUID with a package pointed by URI. Since upgrading a server is a long operation, the status of the upgrade shall be fetched from server object
A successful response.
Invalid UUID or URI.
Unauthorized: authentication failed.
Permission denied.
UUID not found
There is a user operation in progress on the server.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
List all cluster configuration parameters values.
List all cluster configuration parameters values.
A successful response.
Invalid argument.
Internal Lightbits error.
An unexpected error response.
Update Cluster Config value.
Update Cluster Config value.
A successful response.
Invalid argument.
Cluster configuration parameter was not found.
Internal Lightbits error.
An unexpected error response.
Get a specific cluster configuration parameter's value.
Get a specific cluster configuration parameter's value.
A successful response.
Invalid argument.
Cluster configuration parameter was not found.
Internal Lightbits error.
An unexpected error response.
List feature flags.
List feature flags.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Get feature flag status.
Get feature flag status enable/disable corresponding to the given feature flag name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Disable feature flag.
Disable feature flag status corresponding to the given feature flag name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
Unimplemented capability.
An unexpected error response.
Enable feature flag.
Enable feature flag status corresponding to the given feature flag name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Host Operations
Get a list of connected hosts.
List all hosts connected to a cluster, or only connected hosts associated with a volume.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided volume UUID is not found.
Internal Lightbits error.
An unexpected error response.
Get connected host information.
Get connected host information given by hostNQN.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Provided host NQN is not found.
Internal Lightbits error.
An unexpected error response.
Get list of nodes.
List Nodes. An option to filter is done by the following parameters: 1. Name - e.g., api/v2/nodes?Name= 2. UUID - e.g., api/v2/nodes?UUID= 3. FailureDomain - e.g., api/v2/nodes?FailureDomain=
A successful response.
Invalid argument, or several mutually exclusive arguments are provided.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Replace Node.
The request is identified by the UUID of the replaced node (referred to as SrcNodeUUID). The required parameters in the body are:
- TargetNodeUUID - the UUID of the target node that replaces the src Node. The command will succeed only if srcNode is Inactive, and targetNode is Unattached. Users should disable the server of the srcNode (that will make the node Inactive), and assure that targetNode is Unattached (possibly as a new node without assigned PGs or by replacing its PG to another node).
A successful response.
Invalid argument provided. Source and target nodes are not in the correct states.
Unauthorized: authentication failed.
Permission denied.
One of the provided UUIDs is not found.
There is a user operation in progress on one of the nodes.
Etag mismatch.
Too many commands in progress.
Internal Lightbits error.
An unexpected error response.
Get node information.
Get node information identified by the UUID of the node.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Node UUID is not found.
Internal Lightbits error.
An unexpected error response.
Retrieve a list of NVMe devices, with optional filtering selections.
A request to list NVMe devices is exposed via this API. The list of NVMe devices can be filtered by the following parameters: 1. ServerUUID - e.g., api/v2/nvmeDevices?ServerUUID= 2. NodeUUID - e.g., api/v2/nvmeDevices?NodeUUID=.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Add NVMe device to a node.
Add NVMe device identified by its serial number to a node identified by its UUID. If the NVMe device is already used by another node, or cannot be attached to the node, the command fails.
A successful response.
Empty serial or empty node UUID is provided, the device is already attached to another node, the number of node's managed devices reached the maximum, the node is not listed as the server's node for the server that device belongs to, or the node is not active.
Unauthorized: authentication failed.
Permission denied.
Serial or node UUID not found.
There is a user operation in progress on the device
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
Retrieve a specific NVMe device with a filtering option.
Request NVMe device information according to it's serial number. Example usage: api/v2/nvmeDevices/15eb21c0-35ae-478d-b.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Serial is not found.
Internal Lightbits error.
An unexpected error response.
Update NVMe device on a node.
Update NVMe device defined by serial number on a server defined by server UUID.
A successful response.
Empty serial or empty server UUID is provided, the device is already attached to another node, the number of node's managed devices reached the maximum, node is not listed as server's node for the server that the device belongs to, or node is not active.
Unauthorized: authentication failed.
Permission denied.
Serial or server UUID not found.
There is a user operation in progress on the device.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
Policy Operations
List policies.
A request to list policies. The result can be filtered by either name or UUID.
A successful response.
Invalid argument.
Returned when the policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
Create a policy.
A policy is a set of user-defined rules that should be applied to one or more objects in the system.
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, invalid argument is provided name contains illegal characters.
One of the given projects was not found.
Policy with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get policy.
A request to get policy by either name or UUID.
A successful response.
Invalid argument.
Returned when the policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
Delete policy.
Delete policy information by provided policy UUID.
A successful response.
Invalid argument.
The given policy to delete was not found.
Internal Lightbits error.
An unexpected error response.
Update a policy.
Updates user pre-defined policy by overriding the existing properties with the given arguments.
A successful response.
Provided invalid argument(s) with one of the following reasons: mandatory argument is missing, mutually exclusive arguments were provided invalid argument is provided.
The given policy was not found or the request is not supported.
Internal Lightbits error.
An unexpected error response.
List resource policies.
A request to list resource policies. The result can be filtered by either name or UUID.
A successful response.
Invalid argument.
Returned when the resource policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
Create a resource policy.
A resource policy.
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, name contains illegal characters.
Returned when the resource policy with a given resource UUID is not found.
Resource with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get resource policy.
Get resource policy information by provided UUID/name
A successful response.
Invalid argument.
Returned when the resource policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
Delete resource policy.
Delete resource policy information by provided UUID/name.
A successful response.
Invalid argument.
Returned when the resource policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
Update a resource policy.
Update resource policy enable the change of the following attributes: retentionTime schedulePolicy description
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, name contains illegal characters, invalid argument value.
Returned when the resource policy UUID/name is not found.
Internal Lightbits error.
An unexpected error response.
List projects.
list all projects.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create project.
A project has a name, a description, and a default QOS rate limit policy.
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, name contains illegal characters.
Unauthorized: authentication failed.
Permission denied.
Resource with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get project.
Get project by name
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided project name is not found.
Internal Lightbits error.
An unexpected error response.
Delete project.
Deletes project with provided name.
A successful response.
Provided invalid name or the project is not allowed to be deleted.
Unauthorized: authentication failed.
Permission denied.
Project with provided name is not found.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
Update Project Default Policy.
Update project's default resource policy.
A successful response.
Mandatory argument is missing.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Access Control Operations
List credentials.
List credentials.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create credential.
A credential has a name and description.
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, name contains illegal characters, size is not a positive integer, replica count is outside of a valid range, ACL or IP-ACL is invalid.
Unauthorized: authentication failed.
Permission denied.
Resource with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get credential.
Get credential by ID.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided credential ID is not found.
Internal Lightbits error.
An unexpected error response.
Delete credential.
Deletes credential with provided ID.
A successful response.
Provided invalid name or the credential is not allowed to be deleted.
Unauthorized: authentication failed.
Permission denied.
Credential with provided ID is not found.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
List all roles defined in a project.
List roles
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Get role.
Get role by name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided role name is not found.
Internal Lightbits error.
An unexpected error response.
List snapshots.
List can be filtered by UUID/Name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create snapshot.
Create a snapshot from a volume.
A successful response.
Provided invalid argument with one of the following reasons: mandatory argument is missing, name contains illegal characters.
Unauthorized: authentication failed.
Permission denied.
Returned when the snapshot with the given source-volume UUID is not found.
Resource with the provided name already exists.
Internal Lightbits error.
Unimplemented capability (updating capacity).
An unexpected error response.
List changed LBAs between a volume's snapshots.
List changed LBAs between a volume's snapshots (optionally list all snapshots LBAs).
A successful response.
Invalid arguments. Snapshot UUIDs are identical or they are no on same chain or offset-lba exceeds snapshot size.
Unauthorized: authentication failed.
Permission denied.
Failed to find snapshot UUID or base snapshot UUID or project name.
Internal Lightbits error.
An unexpected error response.
Get snapshot.
Get snapshot by UUID/Name.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Snapshot with UUID/Name not found.
Internal Lightbits error.
An unexpected error response.
Delete snapshot.
Deletes snapshot with provided UUID. Deletion of a snapshot is a long operation. The status of deletion can be queried with a GET operation on the snapshot. As long as the operation runs, the snapshot state is Deleting. When the operation has completed, GET snapshot will return a NotFound error response.
A successful response.
Provided invalid UUID or a snapshot state does not allow deletion (Deleting/Failed).
Snapshot with provided UUID is not found.
There is a user operation in progress on the snapshot
Etag mismatch.
Internal Lightbits error.
Snapshot is in a temporary state that does not currently allow deletion (Creating/Updating and volume Updating).
An unexpected error response.
Volume Operations
List volumes.
List can be filtered by failure domain. List can be partially returned by given offset UUID and size of the list. If offset is not provided, list is returned from the start. If offset UUID is provided, list starts from the next volume after the provided offset UUID. If limit is provided, length of the returned list is bounded by the limit. If limit is not provided, list is returned until the end. projectName is mandatory unless you are the admin. List can also be filtered by a specific source snapshot.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create volume.
A volume has a user-defined name, capacity, and a string-based Access Control List (ACL). User can also select to enable compression and define IP-ACL (IP address-based control list).
A successful response.
An invalid argument was provided, due to one of the following reasons: a mandatory argument is missing, name contains illegal characters, size is not a positive integer, replica count is outside of a valid range, ACL or IP-ACL are invalid.
Unauthorized: authentication failed.
Permission denied.
A volume with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get volume information.
Get volume information by provided UUID
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided volume UUID is not found.
Internal Lightbits error.
An unexpected error response.
Delete volume.
Deletes a volume according to the provided UUID or Name. Deletion of a volume is a long operation. The status of deletion can be queried by a GET operation on the volume. As long as the operation runs, the volume state is Deleting. Once the operation has completed, GET volume returns a NotFound error response.
A successful response.
Provided invalid UUID, Name, or volume state does not allow deletion (Deleting/Failed).
Unauthorized: authentication failed.
Permission denied.
Volume with provided UUID or Name is not found.
There is a user operation in progress on the volume
Etag mismatch.
Internal Lightbits error.
Volume is in a temporary state that does not currently allow deletion (Creating/Updating).
An unexpected error response.
Update volume.
Update volume enables the change of the following attributes: size compression ACL list IP-ACL list QoS labels.
A successful response.
Invalid argument or a volume is in a state that cannot be updated (Deleting/Failed).
Unauthorized: authentication failed.
Permission denied.
Returned when the volume with given UUID is not found.
There is a user operation in progress on the volume.
Etag mismatch.
Internal Lightbits error.
Unimplemented capability (updating capacity).
Volume is in temporary state and cannot be updated now (Creating/Updating).
An unexpected error response.
Roll back a volume to a previous snapshot.
Roll back a volume to a previous snapshot.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Volume or snapshot UUID not found.
Internal Lightbits error.
Cannot roll volume back. Volume is deleting.
An unexpected error response.
List volumes.
List can be filtered by failure domain. List can be partially returned by given offset UUID and size of the list. If offset is not provided, list is returned from the start. If offset UUID is provided, list starts from the next volume after the provided offset UUID. If limit is provided, length of the returned list is bounded by the limit. If limit is not provided, list is returned until the end. projectName is mandatory unless you are the admin. List can also be filtered by a specific source snapshot.
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create volume.
A volume has a user-defined name, capacity, and a string-based Access Control List (ACL). User can also select to enable compression and define IP-ACL (IP address-based control list).
A successful response.
An invalid argument was provided, due to one of the following reasons: a mandatory argument is missing, name contains illegal characters, size is not a positive integer, replica count is outside of a valid range, ACL or IP-ACL are invalid.
Unauthorized: authentication failed.
Permission denied.
A volume with the provided name already exists.
Internal Lightbits error.
An unexpected error response.
Get volume information.
Get volume information by provided UUID
A successful response.
Invalid argument.
Unauthorized: authentication failed.
Permission denied.
Provided volume UUID is not found.
Internal Lightbits error.
An unexpected error response.
Delete volume.
Deletes a volume according to the provided UUID or Name. Deletion of a volume is a long operation. The status of deletion can be queried by a GET operation on the volume. As long as the operation runs, the volume state is Deleting. Once the operation has completed, GET volume returns a NotFound error response.
A successful response.
Provided invalid UUID, Name, or volume state does not allow deletion (Deleting/Failed).
Unauthorized: authentication failed.
Permission denied.
Volume with provided UUID or Name is not found.
There is a user operation in progress on the volume
Etag mismatch.
Internal Lightbits error.
Volume is in a temporary state that does not currently allow deletion (Creating/Updating).
An unexpected error response.
Update volume.
Update volume enables the change of the following attributes: size compression ACL list IP-ACL list QoS labels.
A successful response.
Invalid argument or a volume is in a state that cannot be updated (Deleting/Failed).
Unauthorized: authentication failed.
Permission denied.
Returned when the volume with given UUID is not found.
There is a user operation in progress on the volume.
Etag mismatch.
Internal Lightbits error.
Unimplemented capability (updating capacity).
Volume is in temporary state and cannot be updated now (Creating/Updating).
An unexpected error response.
Retrieve servers list with optional filtering parameters.
Retrieve servers list. The results can be filtered by supplying the following filters: 1. Name - e.g., /api/v2/servers?Name= 2. UUID - e.g., /api/v2/servers?UUID=.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Internal Lightbits error.
An unexpected error response.
Create Server.
A request to create a new server. The required parameters for operation are: 1. serverEndpoints - URL list of the new server IP addresses as well as etcd ports for peer communication e.g.: http://10.0.0.1:2380.
A successful response.
Multiple endpoints provided.
Unauthorized: authentication failed.
Permission denied.
Server with UUID or endpoint already exists (reuseIP flag was not used).
Internal Lightbits error.
An unexpected error response.
Retrieve specific server information, based on UUID.
Request server information, identified by UUID.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Server with provided UUID does not exist.
Internal Lightbits error.
An unexpected error response.
Delete Server.
A request to delete a server. This operation will delete a server (information) from the Lightbits cluster. The required parameters in the body are: 1. UUID - UUID of the server to delete.
A successful response.
Missing or Invalid UUID is provided.
Unauthorized: authentication failed.
Permission denied.
Server with UUID is not found.
There is a user operation in progress on the server.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.
Disable server.
Server is disabled from the cluster. Server nodes become Inactive and do not participate in data protection. If the 'evict' parameter is True, all data on the server is evicted from the server before it is disabled. Once a server is disabled, it can be enabled and added back to the cluster or removed from the cluster completely.
A successful response.
Bad request: Missing/Invalid UUID is provided or disable server can lead to risk of service loss state.
Unauthorized: authentication failed.
Permission denied.
Server with UUID is not found.
There is a user operation in progress on the server.
Internal Lightbits error.
An unexpected error response.
Enable Server.
Enable a disabled server. Enabling a server causes the server nodes to synchronize with their peers and rebuild the replicas they hold.
A successful response.
Unauthorized: authentication failed.
Permission denied.
Server with UUID is not found.
There is a user operation in progress on the server.
Etag mismatch.
Internal Lightbits error.
An unexpected error response.