Skip to content

MultiCourseView

binarybox edited this page Jul 20, 2017 · 5 revisions

Introduction

The MultiCourseView class is used to get information for all course. The course list can be view by calling "clonecademy.com/courses/list"

Method Details

'get'

Not implemented

'post'

Header: user id (for permissions)

Request:

{
"type": string "all/mod/started"
"category": string "iGEM/General/all"
"language": string "de/en"
}

Response:

[{
"id": string "the courses id",
"name": string "the courses name",
"category": string "iGEM/...",
"num_questions": int "amount of questions in the course",
"num_answered": int "amount of questions the user answered",
"responsible_mod": int "the id of the responsive moderator for this course",
}]
Clone this wiki locally