mirror of https://github.com/Hypfer/Valetudo.git
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"/api/v2/robot/capabilities/SpeakerTestCapability": {
|
|
"put": {
|
|
"tags": [
|
|
"SpeakerTestCapability"
|
|
],
|
|
"summary": "Test speaker",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"enum": [
|
|
"play_test_sound"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"$ref": "#/components/responses/200"
|
|
},
|
|
"400": {
|
|
"$ref": "#/components/responses/400"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/robot/capabilities/SpeakerTestCapability/properties": {
|
|
"get": {
|
|
"tags": [
|
|
"SpeakerTestCapability"
|
|
],
|
|
"summary": "Get various capability-related properties",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Ok",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|