Add BeatmapsRankedFrozenFullGET, an endpoint to get all beatmaps having a frozen ranked status

This commit is contained in:
Howl
2016-06-08 23:33:08 +02:00
parent 9b821e3230
commit b1fc609706
2 changed files with 40 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ func Start(conf common.Conf, dbO *sql.DB) *gin.Engine {
// Admin: beatmap
gv1.POST("/beatmaps/set_status", Method(v1.BeatmapSetStatusPOST, common.PrivilegeBeatmap))
gv1.GET("/beatmaps/ranked_frozen_full", Method(v1.BeatmapRankedFrozenFullGET, common.PrivilegeBeatmap))
// Admin: user managing
gv1.POST("/users/manage/set_allowed", Method(v1.UserManageSetAllowedPOST, common.PrivilegeManageUser))