survey
Manage participation in the croit hardware survey.
get /survey
Get survey configuration
Responses
200 successful operation
SurveyConfigResponse object
{
"enabled": true
}
patch /survey
Enable or disable the croit hardware survey.
Parametersbody object
{
"enabled": true
}
Responses
default successful operation
get /survey/preview
Preview what is sent to croit.io if survey is enabled.
Responses
200 successful operation
SurveyReport object
{
"ceph": {
"pools": [
{
"id": 0,
"size": 0,
"pgNum": 0,
"sizeGB": 0,
"minSize": 0,
"objects": 0,
"dataChunks": 0,
"application": "string",
"parityChunks": 0,
"erasureCoding": true
}
],
"sizeGB": 0,
"numOsds": 0,
"numInOsds": 0,
"rgwBuckets": [
{
"sizeGB": 0,
"objects": 0
}
],
"cephFsStats": {
"dirs": 0,
"files": 0,
"sizeGB": 0
},
"fullPercent": 0,
"rawCapacityGB": 0
},
"nics": [
{
"name": "string",
"type": "normal",
"speed": 0,
"server": 0,
"bondSize": 0,
"numVlans": 0
}
],
"disks": [
{
"id": 0,
"name": "string",
"role": "unassigned",
"type": "normal",
"smart": {
"status": "string",
"details": "string",
"temperature": 0
},
"server": 0,
"sizeGB": 0,
"missing": true,
"numPaths": 0,
"bluestore": true,
"partitions": 0,
"deviceClass": "hdd",
"journalDisk": 0,
"usedPartitions": 0
}
],
"servers": [
{
"id": 0,
"cpu": "string",
"ram": 0,
"cpus": 0,
"uptime": 0,
"cpuArch": "string",
"mainboard": "string",
"totalCores": 0,
"runningImage": "string",
"virtualCoresPerCpu": 0,
"physicalCoresPerCpu": 0
}
],
"services": [
{
"type": "osd",
"server": 0
}
]
}
post /survey/feedback
Report feedback to croit.io.
Parametersbody object
{}
Responses
200 successful operation
ManagedThreadTask 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
},
"question": {
"token": "string",
"message": "string",
"timeout": 0,
"priority": "Standard",
"timeLeft": 0,
"defaultResponse": "string",
"responseOptions": [
"string"
]
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0,
"interactive": true
}