Valetudo/backend/lib/webserver/capabilityRouters/doc/MappingPassCapabilityRouter...

56 lines
1.2 KiB
JSON

{
"/api/v2/robot/capabilities/MappingPassCapability": {
"put": {
"tags": [
"MappingPassCapability"
],
"summary": "Start mapping",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"start_mapping"
]
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/200"
},
"400": {
"$ref": "#/components/responses/400"
}
}
}
},
"/api/v2/robot/capabilities/MappingPassCapability/properties": {
"get": {
"tags": [
"MappingPassCapability"
],
"summary": "Get various capability-related properties",
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
}
}