Query Asset Data

27 May 2017

  • Release 9.164 - added.
getassetdata (Commands)
TypeCorrade progressive command
Commandgetassetdata
DescriptionThe getassetdata command can be used to query an item following the Asset structures.
Permissionsinventory
Parametersgroup, password, type, data
Last ChangesRelease 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

  • The item parameter can be set to either a path to an inventory item or to an asset UUID. In the latter case, asset data can be retrieved from any asset on the grid provided that the asset can be retrieved from the asset server. The same rules for retrieving assets directly from the asset server apply as for the download command.

secondlife/scripted_agents/corrade/api/commands/getassetdata.txt ยท Last modified: 2023/09/27 10:12 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.