Download OpenAPI specification:
Revoke all issued JWTs.
username required | string Username to revoke all issued JWTs from. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Revoke a specific JWT.
token required | string JWT to revoke. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Get JWT for the user.
username | string Username |
password | string Password |
{- "username": "string",
- "password": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Initialize a new cluster.
metaStorageNodes | Array of strings A list of RAFT metastorage nodes. |
cmgNodes | Array of strings A list of RAFT cluster management nodes. |
clusterName | string The name of the cluster. |
clusterConfiguration | string Cluster configuration in HOCON format. |
license required | string Cluster license. |
{- "metaStorageNodes": [
- "string"
], - "cmgNodes": [
- "string"
], - "clusterName": "string",
- "clusterConfiguration": "string",
- "license": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
{- "cmgNodes": [
- "string"
], - "msNodes": [
- "string"
], - "igniteVersion": "string",
- "clusterTag": {
- "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",
- "clusterName": "string"
}, - "formerClusterIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Gets information about logical cluster topology.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": {
- "host": "string",
- "port": 0
}, - "metadata": {
- "restHost": "string",
- "httpPort": 0,
- "httpsPort": 0
}
}
]
Gets information about physical cluster topology.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": {
- "host": "string",
- "port": 0
}, - "metadata": {
- "restHost": "string",
- "httpPort": 0,
- "httpsPort": 0
}
}
]
Fetches the current states of all compute jobs.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "QUEUED",
- "createTime": "2019-08-24T14:15:22Z",
- "startTime": "2019-08-24T14:15:22Z",
- "finishTime": "2019-08-24T14:15:22Z"
}
]
Fetches the current state of a specific compute job identified by jobId.
jobId required | string <uuid> The unique identifier of the compute job. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "QUEUED",
- "createTime": "2019-08-24T14:15:22Z",
- "startTime": "2019-08-24T14:15:22Z",
- "finishTime": "2019-08-24T14:15:22Z"
}
Cancels a specific compute job identified by jobId.
jobId required | string <uuid> The unique identifier of the compute job. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Updates the priority of a specific compute job identified by jobId.
jobId required | string <uuid> The unique identifier of the compute job. |
The new priority data for the job.
priority required | integer <int32> Priority. |
{- "priority": 0
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Gets the current configuration of the cluster. The configuration is returned in HOCON format.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Updates cluster configuration. New configuration should be provided in HOCON format.
The cluster configuration to update.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Gets the configuration on the specific path. Configuration is in HOCON format
path required | string Configuration tree address. For example: |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Gets node configuration in HOCON format.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Updates node configuration. New configuration should be provided in HOCON format.
The node configuration to update.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Gets a configuration of a specific node, in HOCON format.
path required | string Configuration tree address. For example: |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Retrieves a list of replications for connected clusters.
[- {
- "name": "string",
- "sourceClusterAddresses": [
- "string"
], - "authConfig": {
- "username": "string",
- "password": "string"
}, - "sslConfig": {
- "ciphers": [
- "string"
], - "keyStorePath": "string",
- "keyStorePassword": "string",
- "trustStorePath": "string",
- "trustStorePassword": "string"
}, - "sourceClusterName": "string",
- "targetClusterName": "string",
- "workerNodeName": "string",
- "schemaName": "string",
- "status": "REPLICATING",
- "tableStatuses": [
- {
- "status": "REPLICATING",
- "table": "string"
}
], - "errors": [
- {
- "workerNode": "string",
- "entryName": "string",
- "errorMessage": "string"
}
], - "fstProgress": 0
}
]
Creates a new replication for a cluster.
Details of the replication to create.
name | string Replication name. |
sourceClusterAddresses | Array of strings List of node addresses of the source cluster. |
object or null Auth config of the connection to the source cluster. | |
object or null SSL config of the connection to the source cluster. | |
replicationNodes | Array of strings List of replication nodes names on target cluster. |
{- "name": "string",
- "sourceClusterAddresses": [
- "string"
], - "authConfig": {
- "username": "string",
- "password": "string"
}, - "sslConfig": {
- "ciphers": [
- "string"
], - "keyStorePath": "string",
- "keyStorePassword": "string",
- "trustStorePath": "string",
- "trustStorePassword": "string"
}, - "replicationNodes": [
- "string"
]
}
{- "name": "string",
- "sourceClusterAddresses": [
- "string"
], - "authConfig": {
- "username": "string",
- "password": "string"
}, - "sslConfig": {
- "ciphers": [
- "string"
], - "keyStorePath": "string",
- "keyStorePassword": "string",
- "trustStorePath": "string",
- "trustStorePassword": "string"
}, - "sourceClusterName": "string",
- "targetClusterName": "string",
- "workerNodeName": "string",
- "schemaName": "string",
- "status": "REPLICATING",
- "tableStatuses": [
- {
- "status": "REPLICATING",
- "table": "string"
}
], - "errors": [
- {
- "workerNode": "string",
- "entryName": "string",
- "errorMessage": "string"
}
], - "fstProgress": 0
}
Retrieves detailed information about a specific replication.
name required | string The unique identifier of the replication to show. |
{- "name": "string",
- "sourceClusterAddresses": [
- "string"
], - "authConfig": {
- "username": "string",
- "password": "string"
}, - "sslConfig": {
- "ciphers": [
- "string"
], - "keyStorePath": "string",
- "keyStorePassword": "string",
- "trustStorePath": "string",
- "trustStorePassword": "string"
}, - "sourceClusterName": "string",
- "targetClusterName": "string",
- "workerNodeName": "string",
- "schemaName": "string",
- "status": "REPLICATING",
- "tableStatuses": [
- {
- "status": "REPLICATING",
- "table": "string"
}
], - "errors": [
- {
- "workerNode": "string",
- "entryName": "string",
- "errorMessage": "string"
}
], - "fstProgress": 0
}
.
name required | string The name of the replication to flush. |
flushPoint | string <date-time> Flush point timestamp. |
{- "flushPoint": "2019-08-24T14:15:22Z"
}
true
Starts the specified replication.
name required | string The unique identifier of the replication to start. |
schemaName | string Default: "PUBLIC" Schema name for replication. |
allTables | boolean or null If true, all tables will be replicated. |
tables | Array of strings or null List of table names to be replicated. |
{- "schemaName": "PUBLIC",
- "allTables": true,
- "tables": [
- "string"
]
}
true
Stops the specified replication.
name required | string The id of the replication to stop. |
schemaName | string Default: "PUBLIC" Schema name for replication. |
allTables | boolean or null If true, all tables will be replicated. |
tables | Array of strings or null List of table names to be replicated. |
{- "schemaName": "PUBLIC",
- "allTables": true,
- "tables": [
- "string"
]
}
true
Cluster unit statuses.
statuses | Array of strings or null (DeploymentStatus) Enum: "UPLOADING" "DEPLOYED" "OBSOLETE" "REMOVING" Deployment status filter. |
[- {
- "id": "string",
- "versionToStatus": [
- {
- "version": "string",
- "status": "UPLOADING"
}
]
}
]
Cluster unit statuses by unit.
unitId required | string The ID of the deployment unit. |
version | string or null Unit version filter. |
statuses | Array of strings or null (DeploymentStatus) Enum: "UPLOADING" "DEPLOYED" "OBSOLETE" "REMOVING" Deployment status filter. |
[- {
- "id": "string",
- "versionToStatus": [
- {
- "version": "string",
- "status": "UPLOADING"
}
]
}
]
Returns a list of unit statuses per node.
statuses | Array of strings or null (DeploymentStatus) Enum: "UPLOADING" "DEPLOYED" "OBSOLETE" "REMOVING" Deployment status filter. |
[- {
- "id": "string",
- "versionToStatus": [
- {
- "version": "string",
- "status": "UPLOADING"
}
]
}
]
Returns a list of node unit statuses by unit.
unitId required | string The ID of the deployment unit. |
version | string or null Unit version filter. |
statuses | Array of strings or null (DeploymentStatus) Enum: "UPLOADING" "DEPLOYED" "OBSOLETE" "REMOVING" Deployment status filter. |
[- {
- "id": "string",
- "versionToStatus": [
- {
- "version": "string",
- "status": "UPLOADING"
}
]
}
]
Deploys provided unit to the cluster.
unitId required | string The ID of the deployment unit. |
unitVersion required | string The version of the deployment unit. |
deployMode | string or null Enum: "MAJORITY" "ALL" Initial set of nodes to deploy. |
initialNodes | Array of strings or null List of node identifiers to deploy to. |
unitContent required | Array of strings <binary> [ items <binary > ] The code to deploy. |
true
Undeploys the unit with provided unitId and unitVersion.
unitId required | string The ID of the deployment unit. |
unitVersion required | string The version of the deployment unit. |
true
Recalculates distribution for all tables in the provided zones.
zoneNames required | Array of strings List of zone names to reset distribution in. |
{- "zoneNames": [
- "string"
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Applies provided license.
edition | string Edition |
features | Array of strings List of enabled features |
object DTO for license signatures. | |
releaseType | string Release type |
id | string Unique identifier of the license |
object License information fields | |
object License limitations |
{- "edition": "string",
- "features": [
- "string"
], - "signatures": {
- "signature_1": "string"
}, - "releaseType": "string",
- "id": "string",
- "infos": {
- "companyName": "string",
- "companyWebsite": "string",
- "contactEmail": "string",
- "contactName": "string",
- "contractEndDate": "string",
- "contractStartDate": "string",
- "licenseNote": "string"
}, - "limits": {
- "expireDate": "string",
- "maxComputers": 0,
- "maxCores": 0,
- "maxHeapSize": 0,
- "maxHostRamSize": 0,
- "maxNodes": 0,
- "maxOffHeapSize": 0,
- "startDate": "string"
}
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Get license features available to user.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Get info fields of the current license.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Disables the specified metric source.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Enables the specified metric source.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Disables the specified metric source.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Enables the specified metric source.
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Grants privileges to roles.
Role assignment.
roleNames | Array of strings Role names |
Array of objects (Privilege) Privileges |
{- "roleNames": [
- "string"
], - "privileges": [
- {
- "action": "string",
- "on": "string"
}
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Revokes privileges from roles.
Role assignment.
roleNames | Array of strings Role names |
Array of objects (Privilege) Privileges |
{- "roleNames": [
- "string"
], - "privileges": [
- {
- "action": "string",
- "on": "string"
}
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Assigns roles to users.
Role assignment.
roleNames | Array of strings Role names |
usernames | Array of strings Usernames |
{- "roleNames": [
- "string"
], - "usernames": [
- "string"
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Revokes roles from users.
Role assignment.
roleNames | Array of strings Role names |
usernames | Array of strings Usernames |
{- "roleNames": [
- "string"
], - "usernames": [
- "string"
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Returns the list of all roles with associated users and assigned privileges.
[- {
- "role": "string",
- "users": [
- {
- "username": "string"
}
], - "privileges": [
- {
- "action": "string",
- "on": "string"
}
]
}
]
Create role.
Role body.
roleName | string Role name |
{- "roleName": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Delete a role.
roleName required | string Role name. |
revoke required | boolean Default: false Revoke role from all users. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Creates a user.
User body.
username | string Username |
plainPassword | string Plain password |
{- "username": "string",
- "plainPassword": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Updates a user.
username required | string Username. |
User body.
username | string Username |
plainPassword | string Plain password |
{- "username": "string",
- "plainPassword": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Deletes a user by username.
username required | string Username. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Migrates nodes from old cluster to new (repaired) cluster.
cmgNodes | Array of strings Names of the CMG node names. |
metaStorageNodes | Array of strings Names of the Metastorage node names. |
version | string Ignite version. |
clusterId | string <uuid> ID of the cluster. |
clusterName | string Name of the cluster. |
formerClusterIds | Array of strings or null <uuid> [ items <uuid > ] IDs the cluster had before. If CMG/Metastorage group were never repaired, this is null. |
{- "cmgNodes": [
- "string"
], - "metaStorageNodes": [
- "string"
], - "version": "string",
- "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",
- "clusterName": "string",
- "formerClusterIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Initiates cluster reset to repair CMG/Metastorage group/both.
cmgNodeNames | Array of strings or null Names of the proposed CMG nodes. Optional if the MG group is being repaired. If not specified, the current CMG nodes are used. |
metastorageReplicationFactor | integer or null <int32> Number of nodes in the voting member set of the Metastorage RAFT group. |
{- "cmgNodeNames": [
- "string"
], - "metastorageReplicationFactor": 0
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Updates assignments of partitions in a forced manner, allowing for the recovery of raft groups with lost majorities.
zoneName | string Name of the zone to reset partitions of. Without quotes, case-sensitive. |
partitionIds | Array of integers <int32> [ items <int32 > ] IDs of partitions to reset. All if empty. |
tableName | string Fully-qualified name of the table to reset partitions of. Without quotes, case-sensitive. |
{- "zoneName": "string",
- "partitionIds": [
- 0
], - "tableName": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Restarts replica service and raft group of passed partitions.
nodeNames | Array of strings Names specifying nodes to restart partitions. Case-sensitive. If empty/omitted, partitions on all nodes are restarted. |
zoneName | string Name of the zone to restart partitions of. Without quotes, case-sensitive. |
partitionIds | Array of integers <int32> [ items <int32 > ] IDs of partitions to restart. If empty/omitted, all partitions will be restarted. |
tableName | string Fully-qualified name of the table to restart partitions of. |
{- "nodeNames": [
- "string"
], - "zoneName": "string",
- "partitionIds": [
- 0
], - "tableName": "string"
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Returns global partition states.
zoneNames | Array of strings or null Names specifying zones to get partition states from. Case-sensitive, all zones if empty. |
partitionIds | Array of integers or null <int32> [ items <int32 > ] IDs of partitions to get states of. All partitions if empty. |
{- "states": [
- {
- "partitionId": 0,
- "zoneName": "string",
- "tableId": 0,
- "schemaName": "string",
- "tableName": "string",
- "state": "string"
}
]
}
Returns local partition states.
zoneNames | Array of strings or null Names specifying zones to get partition states from. Case-sensitive, all zones if empty. |
nodeNames | Array of strings or null Names specifying nodes to get partition states from. Case-sensitive, all nodes if empty. |
partitionIds | Array of integers or null <int32> [ items <int32 > ] IDs of partitions to get states. All partitions if empty. |
{- "states": [
- {
- "partitionId": 0,
- "zoneName": "string",
- "tableId": 0,
- "schemaName": "string",
- "tableName": "string",
- "nodeName": "string",
- "state": "string",
- "estimatedRows": 0
}
]
}
Start a recovery process for tables.
tables required | Array of strings List of fully-qualified names of the tables to recover. Without quotes, case-sensitive. |
timestamp required | string <date-time> Point-in-Time recovery timestamp. |
{- "tables": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z"
}
{- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"
}
Migrates nodes from old cluster to new (repaired) cluster.
cmgNodes | Array of strings Names of the CMG node names. |
metaStorageNodes | Array of strings Names of the Metastorage node names. |
version | string Ignite version. |
clusterId | string <uuid> ID of the cluster. |
clusterName | string Name of the cluster. |
formerClusterIds | Array of strings or null <uuid> [ items <uuid > ] IDs the cluster had before. If CMG/Metastorage group were never repaired, this is null. |
{- "cmgNodes": [
- "string"
], - "metaStorageNodes": [
- "string"
], - "version": "string",
- "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",
- "clusterName": "string",
- "formerClusterIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Initiates cluster reset to repair CMG/Metastorage group/both.
cmgNodeNames | Array of strings or null Names of the proposed CMG nodes. Optional if the MG group is being repaired. If not specified, the current CMG nodes are used. |
metastorageReplicationFactor | integer or null <int32> Number of nodes in the voting member set of the Metastorage RAFT group. |
{- "cmgNodeNames": [
- "string"
], - "metastorageReplicationFactor": 0
}
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Creates a new snapshot.
configuration for the snapshot.
snapshotType | string Enum: "NOT_SPECIFIED" "FULL" "INCREMENTAL" Type of the snapshot, FULL or INCREMENTAL. |
tableNames | Array of strings Set of fully-qualified table names that will be parts of the snapshot. |
timestampEpochMilli | integer <int64> Time for which the Snapshot should be taken in milliseconds since Unix Epoch format. If null, current time will be used |
destination | string The name of the snapshot path to the snapshot; null to use the default path. |
encryptionProvider | string The encryption provider name. |
{- "snapshotType": "NOT_SPECIFIED",
- "tableNames": [
- "string"
], - "timestampEpochMilli": 0,
- "destination": "string",
- "encryptionProvider": "string"
}
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
Deletes a snapshot.
Delete command configuration.
snapshotId | string <uuid> ID of the snapshot to delete |
{- "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861"
}
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
Returns all snapshot operations.
[- {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "status": "PREPARED",
- "operation": "CREATE",
- "startTimeEpochMilli": 0,
- "timestampEpochMilli": 0,
- "targetSnapshotId": "16be5a81-e476-42d6-b2f9-e8705dc5ff9d",
- "parentSnapshotId": "673c4283-db5b-4158-91c9-0d53566807b0",
- "tableNames": [
- "string"
], - "description": "string",
- "nodeName": "string",
- "rowsSaved": 0,
- "pathType": "LOCAL"
}
]
Returns operation by its ID.
operationId required | string <uuid> ID of the operation. |
allNodes required | boolean if operation status for every node should be retrieved. |
[- {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "status": "PREPARED",
- "operation": "CREATE",
- "startTimeEpochMilli": 0,
- "timestampEpochMilli": 0,
- "targetSnapshotId": "16be5a81-e476-42d6-b2f9-e8705dc5ff9d",
- "parentSnapshotId": "673c4283-db5b-4158-91c9-0d53566807b0",
- "tableNames": [
- "string"
], - "description": "string",
- "nodeName": "string",
- "rowsSaved": 0,
- "pathType": "LOCAL"
}
]
Restores a snapshot.
Restore command configuration.
snapshotId | string <uuid> ID of the snapshot to restore |
tableNames | Array of strings Set of fully-qualified table names to restore. |
source | string The name of the snapshot path to restore the snapshot from; null to use the default path. |
decryptionProvider | string The decription provider name. |
{- "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861",
- "tableNames": [
- "string"
], - "source": "string",
- "decryptionProvider": "string"
}
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
Fetches all running sql queries.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "node": "string",
- "phase": "string",
- "type": "string",
- "schema": "string",
- "sql": "string",
- "startTime": "2019-08-24T14:15:22Z"
}
]
Fetches the current state of a specific sql query.
queryId required | string <uuid> The unique identifier of the sql query. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "node": "string",
- "phase": "string",
- "type": "string",
- "schema": "string",
- "sql": "string",
- "startTime": "2019-08-24T14:15:22Z"
}
Kills a specific sql query identified by query id.
queryId required | string <uuid> The unique identifier of the sql query. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Fetches all in progress transactions.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "node": "string",
- "state": "string",
- "type": "string",
- "priority": "string",
- "startTime": "2019-08-24T14:15:22Z"
}
]
Fetches the current state of a specific transaction identified by transactionId.
transactionId required | string <uuid> The unique identifier of the transaction. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "node": "string",
- "state": "string",
- "type": "string",
- "priority": "string",
- "startTime": "2019-08-24T14:15:22Z"
}
Kills a specific transaction identified by transactionId.
transactionId required | string <uuid> The unique identifier of the transaction. |
{- "title": "string",
- "status": 0,
- "code": "string",
- "type": "string",
- "detail": "string",
- "node": "string",
- "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
- "invalidParams": [
- {
- "name": "string",
- "reason": "string"
}
]
}
Starts the rolling upgrade
version required | string The version to upgrade. |
{- "version": "string"
}
true