mirror of https://github.com/Hypfer/Valetudo.git
56 lines
1.2 KiB
JSON
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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|