User:Dzonatas Sol/SNOW-375 Resources/Agent: Difference between revisions
Jump to navigation
Jump to search
Dzonatas Sol (talk | contribs) No edit summary |
Dzonatas Sol (talk | contribs) mNo edit summary |
||
| Line 121: | Line 121: | ||
|} | |} | ||
} | } | ||
== empty == | |||
Valid empty LLSD payload (i.e. "<llsd/>") | |||
Latest revision as of 17:26, 31 July 2010
| 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/>")