Expand description
Controllers for requests starting with /api/v0/course-material/code-giveaways
.
Functionsยง
- _add_
routes - claim_
code_ ๐from_ code_ giveaway - POST /api/v0/course-material/code-giveaways/:id/claim - Claim a code from a code giveaway. If user has not completed the course module that is a requirement for the code, returns an error.
- get_
giveaway_ ๐status - GET /api/v0/course-material/code-giveaways/:id/status - Returns information about a code giveaway.