Skip to content

Implement API: GET /gis/location/nearest #78

@dadiorchen

Description

@dadiorchen

To implement an endpoint:

/gis/location/nearest:
get:
summary: get nearest gis location by filter/parameters
operationId: get-gis-location-nearest
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/location'
parameters:
- schema:
type: integer
minimum: 1
maximum: 18
in: query
name: zoomlevel
description: the map zoomlevel
- schema:
type: float
in: query
name: lat
description: the latitude
- schema:
type: float
in: query
name: lon
description: the longitude

  • Please write an e2e test to cover it.
  • Please follow the guide in the 'readme' to follow our architecture on the server-side.

Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions