mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Update Swagger docs for the /api/v1/places endpoints #465
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -11,13 +11,13 @@ import (
|
||||
"github.com/photoprism/photoprism/pkg/txt"
|
||||
)
|
||||
|
||||
// GetPlacesReverse performs a reverse geocoding lookup using PhotoPrism Places API.
|
||||
// GetPlacesReverse returns location details for the specified coordinates.
|
||||
//
|
||||
// GET /api/v1/places/reverse?lat=12.444526469291622&lng=-69.94435584903263
|
||||
//
|
||||
// @Summary Reverse geocodes coordinates to a place name
|
||||
// @Summary returns location details for the specified coordinates
|
||||
// @Id GetPlacesReverse
|
||||
// @Tags Maps
|
||||
// @Tags Places
|
||||
// @Produce json
|
||||
// @Param lat query string true "Latitude"
|
||||
// @Param lng query string true "Longitude"
|
||||
|
||||
Reference in New Issue
Block a user