oko-server/server/constants.go
zegkljan 63e79c657c
All checks were successful
continuous-integration/drone/push Build is passing
API doc, removed -reinit-db option.
* Finished API documentation.
* Removed -reinit-db command line argument.

Fix #5
2023-06-11 17:41:26 +02:00

25 lines
800 B
Go

package server
const (
URIPing = "/ping"
URIBuildInfo = "/build-info"
URIHardFail = "/hard-fail"
URISoftFail = "/soft-fail"
URIAppVersions = "/app-versions"
URIAppVersion = "/app-versions/:version"
URIReinit = "/reinit"
URIUsageInfo = "/usage-info"
URIMapPack = "/mappack"
URIHandshake = "/handshake"
URIData = "/data"
URIDataPeople = "/data/people"
URIDataFeatures = "/data/features"
URIDataFeaturesPhoto = "/data/features/:feature/photos/:photo"
URIDataProposals = "/data/proposals"
URITileserverRoot = "/tileserver"
URITileserver = URITileserverRoot + "/*x"
URITileTemplate = URITileserverRoot + "/map/tiles/{z}/{x}/{y}.pbf"
AppName = "OKO"
)