Reset movement
Это руководство доступно только на английском.
POST
Resets all movement to stopped state. Equivalent to releasing all movement keys. The action is queued and executed on the next game tick.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe UUID of the SoulFire instance containing the bot.
Format
uuidbot_id*stringThe profile UUID of the bot to stop movement for.
Format
uuidResponse for movement reset.
application/json- response
Response for movement reset.
success*booleanWhether the movement was successfully reset.
error?|Error message if success is false.
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/movement:reset'Example Response
{
"success": true,
"error": "string"
}Полезна ли эта страница?
