DevPortal

New HTTP API command: listgroups_extended

We’ve added a new HTTP API command, listgroups_extended.

This command allows retrieving additional bot’s groups details: group fee amount, bot’s permissions and free-to-join status.

{
  "action": "listgroups_extended",
  "result": "OK",
  "groups": [
    {
      "name": "Earn2Life - earn L$500-1000 a day",
      "uuid": "41ff4c6b-e3c0-a2b9-f53b-797e78532374",
      "fee": "0",
      "open": 0,
      "permissions": "Invite,Eject,MemberVisible"
    }
  ]
}

P.S. This is the first API command which returns JSON reply only. Make sure you are using the dataType=json parameter to call it.

2 comments for “New HTTP API command: listgroups_extended

  1. shane foresight
    September 11, 2019 at 22:41

    hello, i am looking to possibly have some new functions developed which would allow a bot to change a group members tag automatically, based on an inworld prim allowing the member to select the desired tag. The idea is that data of the selected tag and the member would be passed to the bot who would then log into the group, locate the member and change the tag.

    Is this something that would be possible, please let me know

    • Glaznah Gassner
      October 21, 2019 at 15:41

      Shane,

      We have the following bot commands:

      * login
      * logout
      * change group member’s role (HTTP ‘setrole’ & Playgrounds ‘setGroupRole’)

      This seems what you need. You can catch the message from prim and process the event. The most handy way is to write a Playground script in javascript.

Leave a Reply

Your email address will not be published. Required fields are marked *