Query Asset Data

27 May 2017

  • Release 9.164 - added.

The getassetdata command can be used to query an item following the Asset structures.

Command Required Parameters Required Corrade Permissions Example
getassetdata group, password, type, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Get the position of a landmark
            // in Corrade's inventory.
            "command", "getassetdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "/My Inventory/Landmarks/Palace",
            "type", "Landmark",
            "data", "Position",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Queried Data Structure Download from
type Texture AssetTexture Asset server
Sound AssetSound
Animation AssetSound
Clothing AssetClothing
Bodypart AssetBodypart
Landmark AssetLandmark
Gesture Gesture
Notecard AssetNotecard Inventory
LSLText AssetScriptText Inventory
CallingCard AssetCallingCard Inventory

Notes