oko-server/server/constants.go
zegkljan 90f8fef40a
All checks were successful
continuous-integration/drone Build is passing
Utility APIs for app version management.
* GETing individual app versions.
* DELETEing individual app versions.

Fix #3
2022-10-02 16:31:13 +02:00

24 lines
762 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"
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"
)