aboutsummaryrefslogtreecommitdiffstats
path: root/proposals/0000-http-pinning-service-api.md
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2018-03-31 22:42:07 -0500
committerPaul Frazee <pfrazee@gmail.com>2018-03-31 22:42:07 -0500
commit11b1c8509f572e1794f7c36cc49cbbd3042ed13b (patch)
tree0932682d5acb16173b02b6369fd4a1e652e727b1 /proposals/0000-http-pinning-service-api.md
parent99e621f9285ad8b49462e20c3562d20fdf0b79bd (diff)
downloaddat-deps-11b1c8509f572e1794f7c36cc49cbbd3042ed13b.tar.gz
dat-deps-11b1c8509f572e1794f7c36cc49cbbd3042ed13b.zip
Formatting fixes
Diffstat (limited to 'proposals/0000-http-pinning-service-api.md')
-rw-r--r--proposals/0000-http-pinning-service-api.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/proposals/0000-http-pinning-service-api.md b/proposals/0000-http-pinning-service-api.md
index 178b149..4536494 100644
--- a/proposals/0000-http-pinning-service-api.md
+++ b/proposals/0000-http-pinning-service-api.md
@@ -12,8 +12,8 @@ Github PR: (add HTTPS link here after PR is opened)
Authors: Paul Frazee
-# Summary [summary]:
-#summary
+# Summary
+[summary]: #summary
An HTTP API for adding and removing Dat data.
@@ -128,7 +128,7 @@ user|true|null
Sever generates a session and session token, and responds 200 with a JSON body:
-```json
+```
{
sessionToken: String, users session token
}
@@ -138,7 +138,7 @@ Sever generates a session and session token, and responds 200 with a JSON body:
User POSTS to `/login` with body:
-```json
+```
{
username: String
password: String
@@ -147,7 +147,7 @@ User POSTS to `/login` with body:
Sever generates a session and session token, and responds 200 with a JSON body:
-```json
+```
{
sessionToken: String, users session token
}
@@ -186,7 +186,7 @@ session token from the service. This token should be included in the
All error responses should respond with a JSON body which matches the
following schema:
-```json
+```
{
message: String
}