diff options
author | Paul Frazee <pfrazee@gmail.com> | 2018-03-31 22:42:07 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2018-03-31 22:42:07 -0500 |
commit | 11b1c8509f572e1794f7c36cc49cbbd3042ed13b (patch) | |
tree | 0932682d5acb16173b02b6369fd4a1e652e727b1 /proposals | |
parent | 99e621f9285ad8b49462e20c3562d20fdf0b79bd (diff) | |
download | dat-deps-11b1c8509f572e1794f7c36cc49cbbd3042ed13b.tar.gz dat-deps-11b1c8509f572e1794f7c36cc49cbbd3042ed13b.zip |
Formatting fixes
Diffstat (limited to 'proposals')
-rw-r--r-- | proposals/0000-http-pinning-service-api.md | 12 |
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 } |