Stop meeting - nokia-wroclaw/innovativeproject-meetingdataexchange GitHub Wiki
URL:
{serverAddress}/api/meeting/stop
Method:
POST
Content-type:
application/json
Method for web application:
public static ObjectNode web_stop(String login, String sid, String meetingId)
in controllers.Meetings
Description:
Stops current meeting (you have to be a host of this meeting)
Input:
{
"login": "your login",
"sid": "id of current session",
"meetingid": "ID of meeting"
}
Output OK:
{
"status": "ok"
}
Output error:
{
"status": "failed",
"reason": "reason of error"
}
Types of reasons:
json excepted
incorrect data
- incorrect (blank) valueincorrect sid
- incorrect session idaccess denied
- you're not a host of this meetingalready finished
- meeting was stopped before your request