Commands › Appearance & animation
get_attachments_detail
Worn objects with their attachment points (JSON)
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "get_attachments_detail",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
None besides authentication.
Example response
{
"result": "OK",
"total": 1,
"attachments": [
{
"name": "Coffee Cup",
"uuid": "5d2d7a1d-0e8e-4f5d-a678-000000000000",
"assetUuid": "d1e2f3a4-0000-4000-8000-00000000000b",
"point": "RightHand",
"pointId": 6
}
]
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.