Set vehicle control
POST
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringFormat
uuidbot_id*stringFormat
uuidapplication/json- body
forward?boolean|nullbackward?boolean|nullleft?boolean|nullright?boolean|nulljump?boolean|nullsneak?boolean|nullsprint?boolean|nullyaw?||nullpitch?||nullSuccessful response.
application/json- response
result*vehicle?|nullcurl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/vehicle:control' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"result": {
"actionId": "4a2794ff-94cb-4bac-8d36-d5fb36c563a0",
"status": "BOT_ACTION_STATUS_UNSPECIFIED",
"error": "string"
},
"vehicle": {
"connectionEpoch": "string",
"networkId": 0,
"uuid": "string"
}
}Was this page helpful?
