update starred maps example to make starred true lol

This commit is contained in:
Devin Howard 2016-10-29 12:20:24 +08:00
parent d4c66b466a
commit 8dc8685a8f
2 changed files with 29 additions and 1 deletions

View file

@ -97,7 +97,7 @@ post:
description: Created
body:
application/json:
example: !include ../examples/map.json
example: !include ../examples/map_starred.json
delete:
responses:
204:

View file

@ -0,0 +1,28 @@
{
"data": {
"id": 2,
"name": "Emergent Network Phenomena",
"desc": "Example map for the API",
"permission": "commons",
"screenshot": "https://s3.amazonaws.com/metamaps-assets/site/missing-map.png",
"starred": true,
"created_at": "2016-03-26T08:02:05.379Z",
"updated_at": "2016-03-27T07:20:18.047Z",
"topic_ids": [
58,
59
],
"synapse_ids": [
2
],
"mapping_ids": [
94,
95,
96
],
"collaborator_ids": [],
"contributor_ids": [
2
]
}
}