Add SNFM download endpoints and batch seed endpoint #328
Reference in New Issue
Block a user
Delete Branch "staging"
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?
Adds download endpoint to RPC and Public API
Adds bulk seed endpoint: POST /v1/maps-admin/seed-combobulator
Add SNFM download endpoints and back seed endpointto Add SNFM download endpoints and batch seed endpoint@@ -24,6 +24,10 @@ type Map struct {Modes uint32 `json:"modes"`} // @name Maptype SnfmDownloadUrl struct {This is unused.
@@ -84,0 +90,4 @@// @Failure 404 {object} dto.Error "Map not found"// @Failure default {object} dto.Error "General error response"// @Router /map/{id}/snfm [get]func (h *MapHandler) GetSnfmDownloadUrl(ctx *gin.Context) {What's the reason to use 302 on public-api bot download but 307 on map download endpoint?
It doesn't make a functional difference beyond some nuances that are not relevant here.