This repository has been archived by the owner on Apr 15, 2021. It is now read-only.
New meeting
baart92 edited this page May 24, 2014
·
10 revisions
{serverAddress}/api/meeting/new
POST
application/json
public static ObjectNode web_createNew(String login, String sid, String title, String topic, String abilityToSendFiles)
in controllers.Meetings
Creates new meeting at server.
{
"login": "your login",
"sid": "id of current session",
"title": "title of meeting",
"topic": "current topic of meeting",
"abilityToSendFiles": "true or false. It depends, if you want to allow sending files by members of meeting"
}
{
"status": "ok",
"meetingid": "id of your meeting"
"title": "title of meeting a1",
"topic": "topic of meeting a1",
"hostname": "John",
"starttime": "2013-07-21 09:35:38.750",
"endtime": null,
"members": 1,
"permissions": "host",
"accessCode": "d73jf8"
}
{
"status": "failed",
"reason": "reason of error"
}
Types of reasons:
json excepted
-
incorrect data
- incorrect value inabilityToSendFiles
, or other value is incorrect -
incorrect sid
- incorrect session id