setup
Initial setup of croit.
post /setup/main-ip
Parameters body object
{
"ip": "string",
"interfaceName": "string"
}
Responses
default successful operation
get /setup/ceph-default
Get the default ceph release for this container as a lowercase string.
Responses
200 successful operation
string
"string"
get /setup/ceph-version
Get the currently configured Ceph version.
Responses
200 successful operation
CephVersionConfiguration object
{
"cephVersion": "LUMINOUS"
}
post /setup/ceph-version
Set the Ceph version for a fresh deployment or import.
Parametersbody object
{
"cephVersion": "LUMINOUS"
}
Responses
default successful operation
post /setup/import-cluster
Parameters body object
{
"mons": [
"string"
],
"adminKey": "string"
}
Responses
default successful operation
post /setup/restore-backup
Restore from an encrypted cloud backup. This should only be done during setup.
Parametersbody object
{
"backupUuid": "string",
"croitApiToken": "string",
"encryptionKey": "string"
}
Responses
200 successful operation
ManagedTask object
A long-running task that goes on in the background after this task is completed. See tasks endpoints for details
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
get /setup/list-interfaces
Responses
200 successful operation
InterfaceResponse object
{
"ips": [
{
"ip": "string",
"mtu": 0,
"netmask": 0,
"interfaceName": "string"
}
],
"currentIp": "string",
"interfaces": [
"string"
],
"currentInterface": "string"
}
get /setup/available-ceph-versions
Get a list of supported Ceph releases.
Responses
200 successful operation
array
enum
LUMINOUS, MIMIC, NAUTILUS, OCTOPUS, PACIFIC, QUINCY, REEF
[
"LUMINOUS"
]
post /setup/restore-unencrypted-backup
Restore from an unencrypted backup. This should only be done during setup.
Parametersfile file formData
croit backup zip file in unencrypted format, must at least contain a database.sql file.
Responses
200 successful operation
ManagedTask object
A long-running task that goes on in the background after this task is completed. See tasks endpoints for details
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}