Add SNFM download endpoints and batch seed endpoint #328

Merged
itzaname merged 5 commits from staging into master 2026-03-02 02:39:42 +00:00
Owner

Adds download endpoint to RPC and Public API
Adds bulk seed endpoint: POST /v1/maps-admin/seed-combobulator

Adds download endpoint to RPC and Public API Adds bulk seed endpoint: POST /v1/maps-admin/seed-combobulator
itzaname self-assigned this 2026-03-01 22:49:20 +00:00
itzaname added 4 commits 2026-03-01 22:49:20 +00:00
Add snfm download endpoints
All checks were successful
continuous-integration/drone/push Build is passing
c788344bf3
Doc updates
All checks were successful
continuous-integration/drone/push Build is passing
0e2ffcd570
Just use normal asset download
All checks were successful
continuous-integration/drone/push Build is passing
02873e82b6
Add map seed endpoint
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
078a3e4c4a
itzaname requested review from Quaternions 2026-03-01 22:49:20 +00:00
itzaname changed title from Add SNFM download endpoints and back seed endpoint to Add SNFM download endpoints and batch seed endpoint 2026-03-01 22:49:28 +00:00
Quaternions requested changes 2026-03-02 00:50:01 +00:00
Dismissed
@@ -24,6 +24,10 @@ type Map struct {
Modes uint32 `json:"modes"`
} // @name Map
type SnfmDownloadUrl struct {
Owner

This is unused.

This is unused.
itzaname marked this conversation as resolved
@@ -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) {
Owner

What's the reason to use 302 on public-api bot download but 307 on map download endpoint?

What's the reason to use 302 on public-api bot download but 307 on map download endpoint?
Author
Owner

It doesn't make a functional difference beyond some nuances that are not relevant here.

It doesn't make a functional difference beyond some nuances that are not relevant here.
Quaternions marked this conversation as resolved
itzaname added 1 commit 2026-03-02 01:11:25 +00:00
Remove unused struct
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
501b0933e6
Quaternions approved these changes 2026-03-02 01:19:22 +00:00
itzaname merged commit d4e50c2d37 into master 2026-03-02 02:39:42 +00:00
Sign in to join this conversation.