2019-01-10 04:04:30 +08:00
|
|
|
package org.bigbluebutton.web
|
|
|
|
|
|
|
|
class UrlMappings {
|
|
|
|
|
2019-01-15 18:03:07 +08:00
|
|
|
static mappings = {
|
|
|
|
"/bigbluebutton/presentation/$authzToken/upload"(controller: "presentation") {
|
|
|
|
action = [POST: 'upload']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/checkPresentation"(controller: "presentation") {
|
|
|
|
action = [GET: 'checkPresentationBeforeUploading']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/test-convert"(controller: "presentation") {
|
|
|
|
action = [GET: 'testConversion']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/slides"(controller: "presentation") {
|
|
|
|
action = [GET: 'numberOfSlides']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/thumbnails"(controller: "presentation") {
|
|
|
|
action = [GET: 'numberOfThumbnails']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/thumbnail/$id"(controller: "presentation") {
|
|
|
|
action = [GET: 'showThumbnail']
|
2022-11-08 04:16:27 +08:00
|
|
|
constraints {
|
|
|
|
id matches: /\d+/
|
|
|
|
}
|
2019-01-15 18:03:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/png/$id"(controller: "presentation") {
|
|
|
|
action = [GET: 'showPng']
|
2022-11-08 04:16:27 +08:00
|
|
|
constraints {
|
|
|
|
id matches: /\d+/
|
|
|
|
}
|
2019-01-15 18:03:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/svgs"(controller: "presentation") {
|
|
|
|
action = [GET: 'numberOfSvgs']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/svg/$id"(controller: "presentation") {
|
|
|
|
action = [GET: 'showSvgImage']
|
2022-11-08 04:16:27 +08:00
|
|
|
constraints {
|
|
|
|
id matches: /\d+/
|
|
|
|
}
|
2019-01-15 18:03:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/textfiles"(controller: "presentation") {
|
|
|
|
action = [GET: 'numberOfTextfiles']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/$conference/$room/$presentation_name/textfiles/$id"(controller: "presentation") {
|
|
|
|
action = [GET: 'showTextfile']
|
2022-11-08 04:16:27 +08:00
|
|
|
constraints {
|
|
|
|
id matches: /\d+/
|
|
|
|
}
|
2019-01-15 18:03:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/presentation/download/$meetingId/$presId"(controller: "presentation") {
|
|
|
|
action = [GET: 'downloadFile']
|
|
|
|
}
|
|
|
|
|
2024-05-08 04:34:20 +08:00
|
|
|
"/bigbluebutton/api/create"(controller: "api") {
|
|
|
|
action = [GET: 'create', POST: 'create']
|
|
|
|
}
|
|
|
|
|
2024-05-07 01:56:59 +08:00
|
|
|
"/bigbluebutton/api/join"(controller: "api") {
|
|
|
|
action = [GET: 'join']
|
|
|
|
}
|
|
|
|
|
2024-05-08 04:34:20 +08:00
|
|
|
"/bigbluebutton/api/isMeetingRunning"(controller: "api") {
|
|
|
|
action = [GET: 'isMeetingRunning', POST: 'isMeetingRunning']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/end"(controller: "api") {
|
|
|
|
action = [GET: 'end', POST: 'end']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/getMeetingInfo"(controller: "api") {
|
|
|
|
action = [GET: 'getMeetingInfo', POST: 'getMeetingInfo']
|
|
|
|
}
|
|
|
|
|
2019-01-15 18:03:07 +08:00
|
|
|
"/bigbluebutton/api/getMeetings"(controller: "api") {
|
|
|
|
action = [GET: 'getMeetingsHandler', POST: 'getMeetingsHandler']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/getSessions"(controller: "api") {
|
|
|
|
action = [GET: 'getSessionsHandler', POST: 'getSessionsHandler']
|
|
|
|
}
|
|
|
|
|
2024-05-08 04:34:20 +08:00
|
|
|
"/bigbluebutton/api/enter"(controller: "api") {
|
|
|
|
action = [GET: 'enter', POST: 'enter']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/stuns"(controller: "api") {
|
|
|
|
action = [GET: 'stuns', POST: 'stuns']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/signOut"(controller: "api") {
|
|
|
|
action = [GET: 'signOut', POST: 'signOut']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/insertDocument"(controller: "api") {
|
2024-06-07 00:10:28 +08:00
|
|
|
action = [POST: 'insertDocument']
|
2024-05-08 04:34:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/getJoinUrl"(controller: "api") {
|
|
|
|
action = [GET: 'getJoinUrl', POST: 'getJoinUrl']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/learningDashboard"(controller: "api") {
|
|
|
|
action = [GET: 'learningDashboard', POST: 'learningDashboard']
|
|
|
|
}
|
|
|
|
|
2021-05-28 00:02:17 +08:00
|
|
|
"/bigbluebutton/api/getRecordings"(controller: "recording") {
|
2019-01-15 18:03:07 +08:00
|
|
|
action = [GET: 'getRecordingsHandler', POST: 'getRecordingsHandler']
|
|
|
|
}
|
|
|
|
|
2021-05-28 00:02:17 +08:00
|
|
|
"/bigbluebutton/api/updateRecordings"(controller: "recording") {
|
2019-01-15 18:03:07 +08:00
|
|
|
action = [GET: 'updateRecordingsHandler', POST: 'updateRecordingsHandler']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/guestWait"(controller: "api") {
|
|
|
|
action = [GET: 'guestWaitHandler']
|
|
|
|
}
|
|
|
|
|
2019-06-07 05:54:31 +08:00
|
|
|
"/bigbluebutton/textTrack/validateAuthToken"(controller: "recording") {
|
|
|
|
action = [GET: 'checkTextTrackAuthToken']
|
|
|
|
}
|
|
|
|
|
2019-01-15 18:03:07 +08:00
|
|
|
"/bigbluebutton/api/getRecordingTextTracks"(controller: "recording") {
|
2019-04-23 03:30:00 +08:00
|
|
|
action = [GET: 'getRecordingTextTracksHandler', POST: 'getRecordingTextTracksHandler']
|
2019-01-15 18:03:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/putRecordingTextTrack"(controller: "recording") {
|
|
|
|
action = [POST: 'putRecordingTextTrack']
|
|
|
|
}
|
|
|
|
|
2021-05-28 00:02:17 +08:00
|
|
|
"/bigbluebutton/api/publishRecordings"(controller: "recording") {
|
|
|
|
action = [GET: 'publishRecordings']
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/api/deleteRecordings"(controller: "recording") {
|
|
|
|
action = [GET: 'deleteRecordings']
|
|
|
|
}
|
|
|
|
|
2019-01-15 18:03:07 +08:00
|
|
|
"/bigbluebutton/$controller/$action?/$id?(.${format})?" {
|
|
|
|
constraints {
|
|
|
|
// apply constraints here
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"/bigbluebutton/"(controller: "api") {
|
|
|
|
action = [GET: 'index']
|
|
|
|
}
|
|
|
|
|
|
|
|
"500"(view: '/error')
|
|
|
|
}
|
2019-01-10 04:04:30 +08:00
|
|
|
}
|