SoulFire LogoSoulFire

Diese Anleitung ist auf Englisch verfügbar.

Close container

Closes the currently open container (chest, crafting table, etc.). Returns to the player inventory view. The bot must be online with a valid player.

POST
/v1/instances/{instance_id}/bots/{bot_id}/container:close

Closes the currently open container (chest, crafting table, etc.). Returns to the player inventory view. The bot must be online with a valid player.

Authorization

AuthorizationBearer <token>

Preferred API authentication. Use a JWT with the api audience.

In: header

Path Parameters

instance_id*string

The UUID of the SoulFire instance containing the bot.

Formatuuid
bot_id*string

The profile UUID of the bot to close container for.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/container:close"
{  "success": true}

War diese Seite hilfreich?