Skip to content

Commit

Permalink
Trying new code block format
Browse files Browse the repository at this point in the history
  • Loading branch information
Digant C Kasundra committed May 20, 2015
1 parent f8ff3ea commit 3b89c59
Showing 1 changed file with 40 additions and 41 deletions.
81 changes: 40 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,48 +299,47 @@ To get a particular labor, use `/api/v1/labors/[laborId]`.

To get quests, use `/api/v1/quests/`

```JSON5
{
limit: int,
page: int,
totalQuests: int,
quests: [
{
id: int,
embarkTime: timestamp,
completionTime: timestamp,
creator: string,
description: string,
labors: [
{
id: int,
host: {
id: int,
hostname: string,
},
creationTime: timestamp,
ackTime: timestamp,
ackUser: string,
completionTime: timestamp,
creationEvent: {
id: int,
timestamp: timestamp,
user: string,
note: string,
},
completionEvent: {
.. code-block:: json
{
limit: int,
page: int,
totalQuests: int,
quests: [
{
id: int,
embarkTime: timestamp,
completionTime: timestamp,
creator: string,
description: string,
labors: [
{
id: int,
timestamp: timestamp,
user: string,
note: string,
host: {
id: int,
hostname: string,
},
creationTime: timestamp,
ackTime: timestamp,
ackUser: string,
completionTime: timestamp,
creationEvent: {
id: int,
timestamp: timestamp,
user: string,
note: string,
},
completionEvent: {
id: int,
timestamp: timestamp,
user: string,
note: string,
},
},
},
...
],
},
...
],
}
```
...
],
},
...
],
}

To get a particular quest, use `/api/v1/quests/[questId]`.

0 comments on commit 3b89c59

Please sign in to comment.