app.citylore.discover.searchTours
Public tours that start in an area, nearest first. Apps round the point to two decimals (about a kilometre) and sort by exact distance on the device, so a walker's position never reaches the service.
Details · query
| Kind | query |
|---|---|
| Authority | discover.citylore.app |
| Commit rev | 3n33ebcecsf2d |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Public tours that start in an area, nearest first. Apps round the point to two decimals (about a kilometre) and sort by exact distance on the device, so a walker's position never reaches the service.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 256,
"type": "string"
},
"tours": {
"items": {
"ref": "app.citylore.discover.defs#tourView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"tours"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"maxLength": 256,
"type": "string"
},
"lat": {
"description": "Latitude, rounded to two decimals.",
"maxLength": 16,
"type": "string"
},
"layer": {
"description": "Only tours that offer this way to play.",
"knownValues": [
"narrated",
"hunt"
],
"maxLength": 32,
"type": "string"
},
"limit": {
"default": 30,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"lng": {
"description": "Longitude, rounded to two decimals.",
"maxLength": 16,
"type": "string"
},
"loop": {
"description": "Only tours that end where they start.",
"type": "boolean"
},
"maxMinutes": {
"description": "Only tours that take at most this long.",
"minimum": 10,
"type": "integer"
},
"radiusKm": {
"default": 10,
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"lat",
"lng"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.citylore.discover.searchTours",
"lexicon": 1
}