Constructor
new SpoorTrackingModule()
- Source:
Extends
Methods
(async) init()
- Source:
(async) insertTrackingId(data)
- Description:
- Adds the latest tracking ID to a block
- Source:
Parameters:
Name |
Type |
Description |
data |
Object
|
The block data to update |
(async) resetCourseTrackingIds(_courseId) → {Promise}
- Description:
- Resets all tracking IDs for a single course
- Source:
Parameters:
Name |
Type |
Description |
_courseId |
String
|
The course _id |
Returns:
-
Type
-
Promise
(async) resetTrackingHandler(req, res, next)
- Description:
- Express handler for reseting all tracking IDs for a single course
- Source:
Parameters:
Name |
Type |
Description |
req |
external:ExpressRequest
|
|
res |
external:ExpressResponse
|
|
next |
function
|
|