Get Groups Data

21 May 2016

  • Release 9.78 - added.
getgroupsdata (Commands)
TypeCorrade progressive command
Commandgetgroupsdata
DescriptionThe getgroupsdata command allows you to query specified groups for data in a libopenmetaverse Group structure.
Permissionsgroup
Parametersgroup, password, data
Last ChangesRelease 9.78 - added.

The getgroupsdata command allows you to query specified groups for data in a libopenmetaverse Group structure.

Command Required Parameters Required Corrade Permissions Example
getgroupsdata group, password, data, target group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // retrieve the group charter for the 
            // groups Wizardry & Steamworks and the 
            // group by UUID 7f6e63bd-7a17-4e0b-b061-fdfa1310aa47
            "command", "getgroupsdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", "Charter",
            "target", wasListToCSV(
                [
                    wasURLEscape(
                        "Wizardry & Steamworks"
                    ),
                    "7f6e63bd-7a17-4e0b-b061-fdfa1310aa47"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Description
target A CSV list of groups by name or UUID. The groups to query.

Note that in case a group in the list of groups specified by target does not exist, then Corrade will skip that group and carry on with the rest of the list - as such, make sure that the script controlling Corrade handles the case where data for some group is skipped due to the group not existing.