reorder examples files

This commit is contained in:
Dominic Wong
2021-06-09 10:21:00 +01:00
parent 5bb0ed38b9
commit 3da95bd85c
4 changed files with 54 additions and 54 deletions

View File

@@ -1,22 +1,4 @@
{
"read": [{
"title": "Get location by ID",
"description": "Lookup the location of an entity by ID",
"request": {
"id": "1"
},
"response": {
"entity": {
"id": "1",
"type": "bike",
"location": {
"latitude": 51.511061,
"longitude": -0.120022,
"timestamp": "1622802761"
}
}
}
}],
"save": [{
"title": "Save an entity",
"description": "Save the location of an entity",
@@ -33,6 +15,24 @@
},
"response": {}
}],
"read": [{
"title": "Get location by ID",
"description": "Lookup the location of an entity by ID",
"request": {
"id": "1"
},
"response": {
"entity": {
"id": "1",
"type": "bike",
"location": {
"latitude": 51.511061,
"longitude": -0.120022,
"timestamp": "1622802761"
}
}
}
}],
"search": [{
"title": "Search for locations",
"description": "Search a given radius for entities",