-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathroutes
79 lines (73 loc) · 7.64 KB
/
routes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET /health controllers.HealthController.health
GET /service/health controllers.HealthController.serviceHealth
# ItemSet API's
POST /itemset/v3/create controllers.v3.ItemSetController.create
GET /itemset/v3/read/:identifier controllers.v3.ItemSetController.read(identifier:String, fields:Option[String])
PATCH /itemset/v3/update/:identifier controllers.v3.ItemSetController.update(identifier:String)
POST /itemset/v3/review/:identifier controllers.v3.ItemSetController.review(identifier:String)
DELETE /itemset/v3/retire/:identifier controllers.v3.ItemSetController.retire(identifier:String)
# Question API's
POST /question/v4/create controllers.v4.QuestionController.create
GET /question/v4/read/:identifier controllers.v4.QuestionController.read(identifier:String, mode:Option[String], fields:Option[String])
GET /question/v4/private/read/:identifier controllers.v4.QuestionController.privateRead(identifier:String, mode:Option[String], fields:Option[String])
PATCH /question/v4/update/:identifier controllers.v4.QuestionController.update(identifier:String)
POST /question/v4/review/:identifier controllers.v4.QuestionController.review(identifier:String)
POST /question/v4/publish/:identifier controllers.v4.QuestionController.publish(identifier:String)
DELETE /question/v4/retire/:identifier controllers.v4.QuestionController.retire(identifier:String)
POST /question/v4/import controllers.v4.QuestionController.importQuestion()
PATCH /question/v4/system/update/:identifier controllers.v4.QuestionController.systemUpdate(identifier:String)
POST /question/v4/list controllers.v4.QuestionController.list(fields:Option[String])
POST /question/v4/reject/:identifier controllers.v4.QuestionController.reject(identifier:String)
POST /question/v4/copy/:identifier controllers.v4.QuestionController.copy(identifier:String, mode:Option[String])
# QuestionSet API's
POST /questionset/v4/create controllers.v4.QuestionSetController.create
GET /questionset/v4/read/:identifier controllers.v4.QuestionSetController.read(identifier:String, mode:Option[String], fields:Option[String])
GET /questionset/v4/private/read/:identifier controllers.v4.QuestionSetController.privateRead(identifier:String, mode:Option[String], fields:Option[String])
PATCH /questionset/v4/update/:identifier controllers.v4.QuestionSetController.update(identifier:String)
POST /questionset/v4/review/:identifier controllers.v4.QuestionSetController.review(identifier:String)
POST /questionset/v4/publish/:identifier controllers.v4.QuestionSetController.publish(identifier:String)
DELETE /questionset/v4/retire/:identifier controllers.v4.QuestionSetController.retire(identifier:String)
PATCH /questionset/v4/add controllers.v4.QuestionSetController.add
DELETE /questionset/v4/remove controllers.v4.QuestionSetController.remove
PATCH /questionset/v4/hierarchy/update controllers.v4.QuestionSetController.updateHierarchy
GET /questionset/v4/hierarchy/:identifier controllers.v4.QuestionSetController.getHierarchy(identifier:String, mode:Option[String])
POST /questionset/v4/reject/:identifier controllers.v4.QuestionSetController.reject(identifier:String)
POST /questionset/v4/import controllers.v4.QuestionSetController.importQuestionSet()
PATCH /questionset/v4/system/update/:identifier controllers.v4.QuestionSetController.systemUpdate(identifier:String)
POST /questionset/v4/copy/:identifier controllers.v4.QuestionSetController.copy(identifier:String, mode:Option[String], type:String?="deep")
PATCH /questionset/v4/comment/update/:identifier controllers.v4.QuestionSetController.updateComment(identifier:String)
GET /questionset/v4/comment/read/:identifier controllers.v4.QuestionSetController.readComment(identifier:String)
# Question V5 API's
POST /question/v5/create controllers.v5.QuestionController.create
GET /question/v5/read/:identifier controllers.v5.QuestionController.read(identifier:String, mode:Option[String], fields:Option[String])
GET /question/v5/private/read/:identifier controllers.v5.QuestionController.privateRead(identifier:String, mode:Option[String], fields:Option[String])
PATCH /question/v5/update/:identifier controllers.v5.QuestionController.update(identifier:String)
POST /question/v5/review/:identifier controllers.v5.QuestionController.review(identifier:String)
POST /question/v5/publish/:identifier controllers.v5.QuestionController.publish(identifier:String)
DELETE /question/v5/retire/:identifier controllers.v5.QuestionController.retire(identifier:String)
POST /question/v5/import controllers.v5.QuestionController.importQuestion()
PATCH /question/v5/system/update/:identifier controllers.v5.QuestionController.systemUpdate(identifier:String)
POST /question/v5/list controllers.v5.QuestionController.list(fields:Option[String])
POST /question/v5/reject/:identifier controllers.v5.QuestionController.reject(identifier:String)
POST /question/v5/copy/:identifier controllers.v5.QuestionController.copy(identifier:String, mode:Option[String])
# QuestionSet API's
POST /questionset/v5/create controllers.v5.QuestionSetController.create
GET /questionset/v5/read/:identifier controllers.v5.QuestionSetController.read(identifier:String, mode:Option[String], fields:Option[String])
GET /questionset/v5/private/read/:identifier controllers.v5.QuestionSetController.privateRead(identifier:String, mode:Option[String], fields:Option[String])
PATCH /questionset/v5/update/:identifier controllers.v5.QuestionSetController.update(identifier:String)
POST /questionset/v5/review/:identifier controllers.v5.QuestionSetController.review(identifier:String)
POST /questionset/v5/publish/:identifier controllers.v5.QuestionSetController.publish(identifier:String)
DELETE /questionset/v5/retire/:identifier controllers.v5.QuestionSetController.retire(identifier:String)
PATCH /questionset/v5/add controllers.v5.QuestionSetController.add
DELETE /questionset/v5/remove controllers.v5.QuestionSetController.remove
PATCH /questionset/v5/hierarchy/update controllers.v5.QuestionSetController.updateHierarchy
GET /questionset/v5/hierarchy/:identifier controllers.v5.QuestionSetController.getHierarchy(identifier:String, mode:Option[String])
POST /questionset/v5/reject/:identifier controllers.v5.QuestionSetController.reject(identifier:String)
POST /questionset/v5/import controllers.v5.QuestionSetController.importQuestionSet()
PATCH /questionset/v5/system/update/:identifier controllers.v5.QuestionSetController.systemUpdate(identifier:String)
POST /questionset/v5/copy/:identifier controllers.v5.QuestionSetController.copy(identifier:String, mode:Option[String], type:String?="deep")
PATCH /questionset/v5/comment/update/:identifier controllers.v5.QuestionSetController.updateComment(identifier:String)
GET /questionset/v5/comment/read/:identifier controllers.v5.QuestionSetController.readComment(identifier:String)