Public API #253
Reference in New Issue
Block a user
Delete Branch "public-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #229
This is a MVP and only includes maps.
LGTM other than the doc change
@@ -10,0 +10,4 @@// @title StrafesNET Maps API// @version 1.0// @description Obtain an api key at https://dev.strafes.net// @description Requires Data:Read permissionMaps:Read
@@ -0,0 +90,4 @@v1.GET("/map", mapsHandler.List)v1.GET("/map/:id", mapsHandler.Get)}r.GET("/docs/*any", ginSwagger.WrapHandler(swaggerfiles.Handler))Do you plan to expose this as maps.strafes.net/docs or something else? My suggestion would be /public-api/docs and then have /public-api redirect to docs. The / route right now won't do anything.
I attempted to address this in this commit
acc61124bcf38b27fb40toacc61124bcMaps:Read permission was added to staging dev-service and is default allowed for all users.
WIP: Public APIto Public APITODO: infra