-
Notifications
You must be signed in to change notification settings - Fork 3
Routes
/live/:user/
: Verb: GET
Follow a live presentation from user:use. /admin/
: Verb: GET
Control your live presentation. /user/:user/upload/
: Verb: POST
Upload a presentation archive. (The archive must be located at req.files.upload
) /start/:id/
: Initialize a new session with the slides matching id, providing the authenticated use matches the owner of the slides.
Use absolute path to serve files from the public folder. For example to serve the file style.css in the css folder in public,
the path should be/css/style.css
and notcss/style.css
.
All paths should end up with a trailing
/
.
If the user is signed in it redirects to /:user
, If not user sees a promotional page that also features sign in or sign up forms
GET /
GET /:user
GET /register/
GET /sign_in/
POST /sign_in/
POST /sign_out/
GET /:user/settings/
PUT /:user/settings/
GET /users/check/?name=name
- name
- A username to check against.
GET /:user/presentations
GET /:user/presentations
- question
- The id of the question in an ObjectId compatible string.
GET /:user/presentations/:presentationid
- slide_id
- The string id of the slide as specified inside the html of the presentation.
POST /:user/presentations
PUT /:user/presentations/:presentationid
DELETE /:user/presentations/:presentationid
GET /:user/presentations/:presentationid/edit
GET /:user/questions/
- sort
-
Sort ascending
+
or descending-
+presentation
,-presentation
,+date
,-date
,+name
,-name
, default:+date
. - course
- Comma seperated id strings of the courses the question should belong in.
- presentation
- Comma seperated id strings of the presentations the question should belong in.
GET /:user/questions/:questionid
POST /:user/questions
PUT /:user/questions/:questionid
DELETE /:user/questions/:questionid
GET /:user/questions/:questionid/edit
POST /:user/presentations/:presentationid
- start
- Starts a new presentation. Empty value Note: If
start
is not specified a request that contains valid presentation fields may alter the presentation,
Useful as a permalink and also in case we have more than one live presentations
GET /:user/live
GET /:user/presentations/:presentationid/live/:liveid
- role
-
viewer
,presenter
,assistant
, default: the role of the the user. - view
-
presentation
,ctrl
, default:presentation
.
GET /:user/presentations/:presentation/iframe
- slide_id
- The string id of the slide as specified inside the html of the presentation.