JSON Documentation
Method: addRoom ¶
https://json.smappi.org/adw0rd/chatea/addRoom?roomname=<string>
Create new room
addRoom("room-" + process.pid)
// => {id: /\d+/, name: 'room-' + process.pid, ...{}}
Method: getRooms ¶
https://json.smappi.org/adw0rd/chatea/getRooms
Get list of rooms
getRooms()
// => []
Method: getRoom ¶
https://json.smappi.org/adw0rd/chatea/getRoom?roomid=<number>
Get ROOM with items
getRoom(+new Date)
// => {}
Method: addItem ¶
https://json.smappi.org/adw0rd/chatea/addItem?roomid=<number>&nickname=<string>&message=<string>
Add item to room
addItem(+new Date, 'test', 'test')
// => false
XML Documentation
Method: addRoom ¶
https://xml.smappi.org/adw0rd/chatea/addRoom?roomname=<string>
Create new room
addRoom("room-" + process.pid)
// => {id: /\d+/, name: 'room-' + process.pid, ...{}}
Method: getRooms ¶
https://xml.smappi.org/adw0rd/chatea/getRooms
Get list of rooms
getRooms()
// => []
Method: getRoom ¶
https://xml.smappi.org/adw0rd/chatea/getRoom?roomid=<number>
Get ROOM with items
getRoom(+new Date)
// => {}
Method: addItem ¶
https://xml.smappi.org/adw0rd/chatea/addItem?roomid=<number>&nickname=<string>&message=<string>
Add item to room
addItem(+new Date, 'test', 'test')
// => false
SOAP Documentation (coming soon)
WSDL-Scheme here...
Method: addRoom ¶
https://soap.smappi.org/adw0rd/chatea/addRoom?roomname=<string>
Create new room
addRoom("room-" + process.pid)
// => {id: /\d+/, name: 'room-' + process.pid, ...{}}
Method: getRooms ¶
https://soap.smappi.org/adw0rd/chatea/getRooms
Get list of rooms
getRooms()
// => []
Method: getRoom ¶
https://soap.smappi.org/adw0rd/chatea/getRoom?roomid=<number>
Get ROOM with items
getRoom(+new Date)
// => {}
Method: addItem ¶
https://soap.smappi.org/adw0rd/chatea/addItem?roomid=<number>&nickname=<string>&message=<string>
Add item to room
addItem(+new Date, 'test', 'test')
// => false