User:Dzonatas Sol/SNOW-375 Resources/Agent

From Second Life Wiki
< User:Dzonatas Sol‎ | SNOW-375 Resources
Revision as of 17:26, 31 July 2010 by Dzonatas Sol (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Resource Method Description
/Agent/ID GET <- { id : uuid }
/Agent/Chat POST -> { text: string, type: integer, channel: integer } <- &status
/Agent/Groups GET <- [ &group, ... ]
/Agent/Position GET <- { Position: &position, GlobalPostion: &position, Region: uuid }
/Agent/Typing POST -> &empty <- &status
DELETE -> &empty <- &status

Note: Description syntax is only based on LLIDL.


/Agent/ID

Response is UUID of the logged in Agent/Avatar


/Agent/Chat

Deliver a message formatted to Local Chat


/Agent/Groups

Response is a list with details of groups joined by the connected agent


/Agent/Position

Response is the Region UUID, Position within the region, and global position of the Agent/Avatar


/Agent/Typing

POST

Start the typing gesture

DELETE

Stop the typing gesture


status

{ status: string }

Value is "ok", consistently


group

{

id  : uuid
insignia  : uuid
powers  : binary
accept_notices  : bool
list_in_profile  : bool
contribution  : integer
name  : string

}


position

{

X  : real
Y  : real
Z  : real

}


empty

Valid empty LLSD payload (i.e. "<llsd/>")