survey
Manage participation in the croit hardware survey.
GET /survey
Parameters
No parameters...
Endpoint
curl -X GET http://mgmt-node:8080/api/survey
Response 200
enabled
boolean
optional
-
Example response
{
"enabled": true
}
PATCH /survey
Parameters
body
object
optional
-
Endpoint
curl -X PATCH http://mgmt-node:8080/api/survey
Example body
{
"enabled": true
}
GET /survey/preview
Parameters
No parameters...
Endpoint
curl -X GET http://mgmt-node:8080/api/survey/preview
Response 200
services
array
optional
-
disks
array
optional
-
servers
array
optional
-
nics
array
optional
-
ceph
object
optional
-
Example response
{
"services": [
{
"type": "osd",
"server": 0
}
],
"disks": [
{
"id": 0,
"server": 0,
"role": "unassigned",
"sizeGB": 0,
"name": "string",
"deviceClass": "hdd",
"partitions": 0,
"usedPartitions": 0,
"journalDisk": 0,
"smart": {
"status": "string",
"details": "string"
},
"missing": true,
"bluestore": true
}
],
"servers": [
{
"id": 0,
"ram": 0,
"cpu": "string",
"cpus": 0,
"coresPerCpu": 0,
"mainboard": "string",
"runningImage": "string",
"uptime": 0
}
],
"nics": [
{
"server": 0,
"speed": 0,
"name": "string",
"type": "normal",
"bondSize": 0,
"numVlans": 0
}
],
"ceph": {
"numOsds": 0,
"numInOsds": 0,
"sizeGB": 0,
"rawCapacityGB": 0,
"fullPercent": 0,
"pools": [
{
"id": 0,
"erasureCoding": true,
"pgNum": 0,
"minSize": 0,
"size": 0,
"dataChunks": 0,
"parityChunks": 0,
"sizeGB": 0,
"objects": 0,
"application": "string"
}
],
"rgwBuckets": [
{
"sizeGB": 0,
"objects": 0
}
],
"cephFsStats": {
"sizeGB": 0,
"files": 0,
"dirs": 0
}
}
}
POST /survey/feedback
Parameters
body
object
optional
-
Endpoint
curl -X POST http://mgmt-node:8080/api/survey/feedback
Example body
{}