Get meeting details - nokia-wroclaw/innovativeproject-meetingdataexchange GitHub Wiki
URL:
{serverAddress}/api/meeting/details/$meetingid/$login/$sid
Method:
GET
Content-type:
?
Method for web application:
public static ObjectNode web_getDetails(String meetingid, String login, String sid)
in controllers.Meetings
Description:
Gets information about specified meeting. You'll get information about title, topic, name of host, timestamp of start and possibly stop meeting, number of members, your permissions (host/member who can upload files/member who can't), and access Code (which is needed to join this meeting by other person).
Input:
$meetingid = meeting id
$login = your login
$sid = id of current session
Output OK:
{
"status": "ok",
"meetingid": meeting ID a1,
"title": "title of meeting",
"topic": "topic of meeting",
"hostname": "John",
"starttime": "2013-07-21 09:35:38.750",
"endtime": null,
"members": 12,
"permissions": "host",
"accessCode": "d73jf8"
}
Note that, meetingid
and members
are integer value (others parameters are string
s).
Parameter permissions
can be equal to: host
(you're a host of this meeting), memberUpload
(you're a member of this meeting and you CAN upload files), or member
(you're a member of this meeting and you CAN'T upload files)
Output error:
{
"status": "failed",
"reason": "reason of error"
}
Types of reasons:
incorrect data
- some value is incorrect (blank)incorrect sid
- incorrect session idaccess denied
- you're not a member of this meeting