annotate conf/routes @ 129:21e746cdc99e draft

modified viewer.html
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Wed, 24 Apr 2013 04:14:52 +0900 (2013-04-23)
parents 35eeb04a788d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 # Routes
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 # This file defines all application routes (Higher priority routes first)
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 # ~~~~
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 # Home page
50
d6c623e92837 modified routes
one
parents: 41
diff changeset
6 #GET / controllers.Application.index()
40
1d5c086e069b create getAllUsers() action.
one
parents: 39
diff changeset
7 GET /users/all controllers.User.getAllUsers()
13
9b677755cb93 create action Claim/createClaim
one
parents: 10
diff changeset
8 PUT /users/create/:name controllers.User.createUser(name: String)
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
9 GET /users/browse/:name controllers.User.getUser(name: String)
9
d050b7fb4cda create getUserRequests action
one
parents: 8
diff changeset
10 GET /users/requests/:name controllers.User.getUserRequests(name: String)
10
a8ea4191fa99 modified User.java
one
parents: 9
diff changeset
11 GET /users/consensus/:name controllers.User.getUserConsensus(name: String)
31
995be14b30a2 create ClaimModel/getUsersIdAndStatus method
one
parents: 30
diff changeset
12 GET /users/claims/:name controllers.User.getUserClaims(name: String)
995be14b30a2 create ClaimModel/getUsersIdAndStatus method
one
parents: 30
diff changeset
13 GET /claims/browse/:id controllers.Claim.getClaimInfo(id: String)
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
14 GET /claims/consensus/:id controllers.Claim.getClaimTree(id: String)
39
870553e92e3e create getUserConsensusStatus action
one
parents: 36
diff changeset
15 GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String)
870553e92e3e create getUserConsensusStatus action
one
parents: 36
diff changeset
16 GET /claims/answer/:id/:name controllers.Claim.getUserConsensusStatus(id: String, name: String)
41
f78442777849 create updateRequestStatus
one
parents: 40
diff changeset
17 POST /claims/answer/:id/:name/:status controllers.Claim.updateUserConsensusStatus(id: String, name: String, status: String)
57
ed77c5258568 modify getAllUpperClaims
one
parents: 50
diff changeset
18 POST /claims/create controllers.Claim.createClaim()
25
97b249d9fad1 fix infinite loop on getConsensus Action
one
parents: 16
diff changeset
19 POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String)
36
5f7fcdf98380 create editClaim
one
parents: 32
diff changeset
20 POST /claims/edit/:id controllers.Claim.editClaim(id: String)
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
21
79
11dc5846b8c7 implemented getLatestClaimsAndRequest method
one
parents: 75
diff changeset
22 # latest
11dc5846b8c7 implemented getLatestClaimsAndRequest method
one
parents: 75
diff changeset
23 GET /users/latest/consensus/:name controllers.User.getUserLatestConsensus(name: String)
92
35eeb04a788d create getLatestClaimTree action. modified createMention action and viewer.html.
one
parents: 84
diff changeset
24 GET /consensus/browse/latest/:id controllers.Claim.getLatestClaimTree(id: String)
81
3ebc3061f869 create getUserLatestClaims.
one
parents: 79
diff changeset
25 GET /users/latest/claims/:name controllers.User.getUserLatestClaims(name: String)
79
11dc5846b8c7 implemented getLatestClaimsAndRequest method
one
parents: 75
diff changeset
26
84
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
27 # revision
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
28 GET /claims/get/revision/:id controllers.Claim.getClaimRevision(id: String)
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
29
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
30 # test action
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
31 GET /copytree/:id controllers.Claim.copyClaims(id: String)
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
32
bb547f2a3c88 create getClaimRevision methos
one
parents: 81
diff changeset
33 # reset is sample action for demo.
63
1319e3f78c00 implemented reset method in Claim.java
one
parents: 57
diff changeset
34 GET /reset controllers.Claim.reset()
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
35
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
36 # test action
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
37 POST /hello controllers.Application.hello()
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
38 GET /test controllers.Application.test()
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 # Map static resources from the /public folder to the /assets URL path
50
d6c623e92837 modified routes
one
parents: 41
diff changeset
42 #GET /assets/*file controllers.Assets.at(path="/public", file)
d6c623e92837 modified routes
one
parents: 41
diff changeset
43 GET / controllers.Assets.at(path="/public/viewer", file="index.html")
d6c623e92837 modified routes
one
parents: 41
diff changeset
44 GET /*file controllers.Assets.at(path="/public/viewer", file)
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45