Fart Command
Urkman opened this issue · comments
Is there already a known endpoint for the new Fart command?
Is there already a known endpoint for the new Fart command?
The remote boombox? documented in PR #666 ?
@Urkman Try to request it.
POST /api/1/vehicles/{id}/command/remote_boombox
I will further document it then if it works.
@Urkman may need a body parameter as json. It usually tells you the name of it in the response.
Example:
{
"command": "fart"
}
@Urkman may need a body parameter as json. It usually tells you the name of it in the response.
Example:
{ "command": "fart" }
In this case from my experimentation POST'ing to the endpoint with an empty body results in the vehicle farting (seemingly picking at random from the option).
Response returned:
{"response":{"result":true,"reason":""}}
So, with an empty body the fart is triggered?
Seems so. I will update the docs