summaryrefslogtreecommitdiff
path: root/src/main/resources/com/p4square/grow
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2016-04-09 14:22:20 -0700
committerJesse Morgan <jesse@jesterpm.net>2016-04-09 15:48:01 -0700
commit3102d8bce3426d9cf41aeaf201c360d342677770 (patch)
tree38c4f1e8828f9af9c4b77a173bee0d312b321698 /src/main/resources/com/p4square/grow
parentbbf907e51dfcf157bdee24dead1d531122aa25db (diff)
Switching from Ivy+Ant to Maven.
Diffstat (limited to 'src/main/resources/com/p4square/grow')
-rw-r--r--src/main/resources/com/p4square/grow/backend/apiinfo.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main/resources/com/p4square/grow/backend/apiinfo.html b/src/main/resources/com/p4square/grow/backend/apiinfo.html
new file mode 100644
index 0000000..a3637c9
--- /dev/null
+++ b/src/main/resources/com/p4square/grow/backend/apiinfo.html
@@ -0,0 +1,41 @@
+<html>
+<head>
+<title>API Info</title>
+</head>
+<body>
+<dl>
+<dt>/backend/accounts/{userId}</dt>
+<dd>GET information about <em>userId</em> or PUT new information.</dd>
+
+<dt>/backend/assessment/question/{questionId}</dt>
+<dd>GET information about <em>questionId</em>. Special <em>questionId</em>s: first identifies first question. count returns total number of questions.</dd>
+
+<dt>/backend/accounts/{userId}/assessment</dt>
+<dd>GET the assessment summary for <em>userId</em> or DELETE <em>userId</em>'s assessment.</dd>
+
+<dt>/backend/accounts/{userId}/assessment/answers/{questionId}</dt>
+<dd>GET <em>userId</em>'s answer to <em>questionId</em>, PUT a new answer, or DELETE an answer.</dd>
+
+<dt>/backend/training/{level}</dt>
+<dd>GET all video information for <em>level</em>.</dd>
+
+<dt>/backend/training/{level}/videos/{videoId}</dt>
+<dd>GET video information for <em>videoId</em> in <em>level</em>.</dd>
+
+<dt>/backend/accounts/{userId}/training</dt>
+<dd>GET training record summary for <em>userId</em>.</dd>
+
+<dt>/backend/accounts/{userId}/training/videos/{videoId}</dt>
+<dd>GET training record for <em>userId</em> and <em>videoId</em> or PUT a new record.</dd>
+
+<dt>/backend/banner</dt>
+<dd>GET the info banner or PUT new banner info.</dd>
+
+<dt>/backend/feed/{topic}</dt>
+<dd>Get all threads for forum <em>topic</em>.</dd>
+
+<dt>/backend/feed/{topic}/{thread}</dt>
+<dd>Get all responses to question <em>thread</em> on forum <em>topic</em>.</dd>
+</dl>
+</body>
+</html>