Difference between revisions of "User:Dzonatas Sol/SNOW-375 Resources/ChatterBox"
Jump to navigation
Jump to search
Dzonatas Sol (talk | contribs) m |
Dzonatas Sol (talk | contribs) |
||
Line 8: | Line 8: | ||
| style="text-align:right;" | POST | | style="text-align:right;" | POST | ||
| -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status | | -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status | ||
|- | |||
| rowspan="1" | /ChatterBox/Message | |||
| style="text-align:right;" | POST | |||
| -> &chat <- &status | |||
|- | |- | ||
Line 23: | Line 28: | ||
Deliver a message to a group/IM channel | Deliver a message to a group/IM channel | ||
== /ChatterBox/AddMessage == | |||
Deliver a message to session. [ Resource should be renamed to reverse /ChatterBox/Message ] | |||
Line 35: | Line 45: | ||
Value is "ok", consistently | Value is "ok", consistently | ||
== chat == | |||
{ | |||
{| | |||
|- | |||
| session | |||
| : uuid | |||
|- | |||
| label | |||
| : string | |||
|- | |||
| from | |||
| : string | |||
|- | |||
| message | |||
| : string | |||
|- | |||
| dialog | |||
| : integer | |||
|- | |||
| estate | |||
| : integer | |||
|- | |||
| region | |||
| : uuid | |||
|- | |||
| link | |||
| : boolean | |||
|- | |||
| position | |||
| : { X: real, Y: real, Z: real } | |||
|} | |||
} |
Revision as of 20:56, 2 August 2010
Resource | Method | Description |
/ChatterBox/Message | POST | -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status |
/ChatterBox/Message | POST | -> &chat <- &status |
/ChatterBox/StartGroupSession | POST | -> { session: uuid } <- &status |
Note: Description syntax is only based on LLIDL.
/ChatterBox/Message
Deliver a message to a group/IM channel
/ChatterBox/AddMessage
Deliver a message to session. [ Resource should be renamed to reverse /ChatterBox/Message ]
/ChatterBox/StartGroupSession
Initiate a group chat session
status
{ status: string }
Value is "ok", consistently
chat
{
session | : uuid |
label | : string |
from | : string |
message | : string |
dialog | : integer |
estate | : integer |
region | : uuid |
link | : boolean |
position | : { X: real, Y: real, Z: real } |
}