Difference between revisions of "User:Dzonatas Sol/SNOW-375 Resources/ChatterBox"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '{| border="1" cellpadding="5" cellspacing="0" |- | Resource || Method || Description |- |- | rowspan="1" | /ChatterBox/Message | style="text-align:right;" | POST | Deliver a mes...')
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
{| border="1" cellpadding="5" cellspacing="0"
{| border="1" cellpadding="5" cellspacing="0"
|-
|-
Line 7: Line 8:
| rowspan="1" | /ChatterBox/Message
| rowspan="1" | /ChatterBox/Message
| style="text-align:right;" | POST
| style="text-align:right;" | POST
| Deliver a message formatted in LLSD to a group/IM channel
| -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status
 
|-
| rowspan="1" | /ChatterBox/AddMessage
| style="text-align:right;" | POST
| -> &chat <- &status


|-
|-
| rowspan="1" | /ChatterBox/StartGroupSession
| rowspan="1" | /ChatterBox/StartGroupSession
| style="text-align:right;" | POST
| style="text-align:right;" | POST
| Initiate a group chat session with information in LLSD
| -> { session: uuid } <- &status
 
|-
| rowspan="1" | /ChatterBox/UpdateSessionID
| style="text-align:right;" | POST
| -> { session: uuid, temporary: 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
== /ChatterBox/UpdateSessionID ==
Update temporary session to real 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 }
|}
}

Latest revision as of 21:05, 2 August 2010

Resource Method Description
/ChatterBox/Message POST -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status
/ChatterBox/AddMessage POST -> &chat <- &status
/ChatterBox/StartGroupSession POST -> { session: uuid } <- &status
/ChatterBox/UpdateSessionID POST -> { session: uuid, temporary: 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


/ChatterBox/UpdateSessionID

Update temporary session to real 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 }

}