Close container
Ten poradnik jest dostępny tylko po angielsku.
POST
Closes the currently open container (chest, crafting table, etc.). Returns to the player inventory view. The bot must be online with a valid player.
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 close container for.
Format
uuidResponse for container close action.
application/json- response
Response for container close action.
success*booleanWhether the close action was successful.
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/container:close'Example Response
{
"success": true
}Czy ta strona jest pomocna?
