bigbluebutton-strapi
Version:
Integrate online classes into Strapi CMS via BigBlueButton open-source video conferencing. This free plugin also provides API end-points to easily setup start and join buttons for web conferencing into any frontend app.
151 lines (148 loc) • 2.56 kB
JavaScript
'use strict';
module.exports = [
{
method: 'GET',
path: '/class',
handler: 'classController.find',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/class/:meetingId',
handler: 'classController.findOne',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/class',
handler: 'classController.create',
config: {
auth: false,
},
},
{
method: 'PUT',
path: '/class/:id',
handler: 'classController.update',
config: {
auth: false,
},
},
{
method: 'DELETE',
path: '/class/:id',
handler: 'classController.delete',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/session',
handler: 'sessionController.find',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/session/:id',
handler: 'sessionController.findOne',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/session',
handler: 'sessionController.create',
config: {
auth: false,
},
},
{
method: 'DELETE',
path: '/session/:id',
handler: 'sessionController.delete',
config: {
auth: false,
},
},
// bbb action routes
{
method: 'POST',
path: '/class/start/:meetingId',
handler: 'bbbController.startBBB',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/class/auth/join/:meetingId',
handler: 'bbbController.validateJoin',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/class/join/:meetingId',
handler: 'bbbController.joinBBB',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/class/join/:meetingId',
handler: 'classController.invite',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/class/status/:meetingId',
handler: 'bbbController.isMeetingRunning',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/class/end',
handler: 'bbbController.endMeeting',
config: {
auth: false,
},
},
{
method: 'POST',
path: '/verifyUrlAndSecret',
handler: 'bbbController.checkBigBlueButtonUrlAndSecret',
config: {
auth: false,
},
},
{
method: 'PUT',
path: '/updateSettings',
handler: 'bbbController.updateSetting',
config: {
auth: false,
},
},
{
method: 'GET',
path: '/getSettings',
handler: 'bbbController.getSetting',
config: {
auth: false,
},
},
];