Mercurial > hg > Members > nobuyasu > Consensus
diff target/scala-2.9.1/classes/routes @ 85:d45f76774fd8 draft
modified InitialData
author | one |
---|---|
date | Mon, 11 Mar 2013 02:45:19 +0900 |
parents | 3ebc3061f869 |
children | d66ac07e1c36 |
line wrap: on
line diff
--- a/target/scala-2.9.1/classes/routes Sat Mar 09 23:58:01 2013 +0900 +++ b/target/scala-2.9.1/classes/routes Mon Mar 11 02:45:19 2013 +0900 @@ -14,7 +14,6 @@ GET /claims/consensus/:id controllers.Claim.getClaimTree(id: String) GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String) GET /claims/answer/:id/:name controllers.Claim.getUserConsensusStatus(id: String, name: String) -GET /copytree/:id controllers.Claim.copyClaims(id: String) POST /claims/answer/:id/:name/:status controllers.Claim.updateUserConsensusStatus(id: String, name: String, status: String) POST /claims/create controllers.Claim.createClaim() POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String) @@ -24,6 +23,13 @@ GET /users/latest/consensus/:name controllers.User.getUserLatestConsensus(name: String) GET /users/latest/claims/:name controllers.User.getUserLatestClaims(name: String) +# revision +GET /claims/get/revision/:id controllers.Claim.getClaimRevision(id: String) + +# test action +GET /copytree/:id controllers.Claim.copyClaims(id: String) + +# reset is sample action for demo. GET /reset controllers.Claim.reset() # test action