27 May 2017

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

CommandRequired ParametersRequired Corrade PermissionsExample
getassetdatagroup, password, type, datainteract
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)
        ]
    )
);
ParameterPossible ValueQueried Data StructureDownload from
typeTextureAssetTextureAsset server
SoundAssetSound
AnimationAssetSound
ClothingAssetClothing
BodypartAssetBodypart
LandmarkAssetLandmark
GestureGesture
NotecardAssetNotecardInventory
LSLTextAssetScriptTextInventory
CallingCardAssetCallingCardInventory

Notes