User:Dzonatas Sol/SNOW-375 Resources/Agent
< User:Dzonatas Sol | SNOW-375 Resources
Jump to navigation
Jump to search
Revision as of 17:22, 31 July 2010 by Dzonatas Sol (talk | contribs)
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 |
}