Valetudo/backend/lib/webserver/capabilityRouters/doc/LocateCapabilityRouter.open...

56 lines
1.2 KiB
JSON

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