Commit ac73fdea by Robbie Hott

Fixed Markdown syntax in Server API.md

parent 72080376
...@@ -14,7 +14,7 @@ Requests should be of the form: ...@@ -14,7 +14,7 @@ Requests should be of the form:
{ {
"command" : "command_name", "command" : "command_name",
"constellation" : { "constellation" : {
"..." "...":"..."
} }
} }
``` ```
...@@ -31,6 +31,7 @@ Requests should be of the form: ...@@ -31,6 +31,7 @@ Requests should be of the form:
} }
``` ```
## Server Responses ## Server Responses
The Server response API has the following form: The Server response API has the following form:
...@@ -45,7 +46,7 @@ The Server response API has the following form: ...@@ -45,7 +46,7 @@ The Server response API has the following form:
"message" : "Error message" "message" : "Error message"
}, },
"constellation" : { "constellation" : {
"..." "...":"..."
} }
} }
``` ```
...@@ -58,12 +59,12 @@ The Server response API has the following form: ...@@ -58,12 +59,12 @@ The Server response API has the following form:
* `type` : the type of the error. A full list of error types are defined [here](http://shannonvm.village.virginia.edu:83). * `type` : the type of the error. A full list of error types are defined [here](http://shannonvm.village.virginia.edu:83).
* `message` : a detailed error message (in English prose) stating the exact nature of the problem * `message` : a detailed error message (in English prose) stating the exact nature of the problem
* `constellation` : The matching constellation for the client's query. All portions of the constellation known to the server will be returned to the client. If there are multiple constellations, this will return a list: * `constellation` : The matching constellation for the client's query. All portions of the constellation known to the server will be returned to the client. If there are multiple constellations, this will return a list:
```json ```json
{ {
"constellation" : [ "constellation" : [
{ "..." }, { "...":"..." },
{ "..." }, { "...":"..." },
{ "..." } { "...":"..." }
] ]
} }
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment