fix(api): see details

/team/{team_id}: fix tag typo

beatmapset: remove download-service API

API Doc: fix v1 APi prefix
This commit is contained in:
MingxuanGame
2025-08-30 12:08:31 +00:00
parent 59ee88c603
commit 617fdc2cfc
3 changed files with 2 additions and 16 deletions

View File

@@ -188,7 +188,7 @@ class TeamQueryResp(BaseModel):
members: list[UserResp]
@router.get("/team/{team_id}", name="查询战队", response_model=TeamQueryResp, tags=["用户", "g0v0 API"])
@router.get("/team/{team_id}", name="查询战队", response_model=TeamQueryResp, tags=["战队", "g0v0 API"])
async def get_team(
session: Database,
team_id: int = Path(..., description="战队 ID"),

View File

@@ -215,17 +215,3 @@ async def favourite_beatmapset(
else:
await db.delete(existing_favourite)
await db.commit()
@router.get(
"/beatmapsets/download-status",
tags=["谱面集"],
name="下载服务状态",
description="获取谱面下载服务的健康状态和负载均衡信息。",
)
async def get_download_service_status(
current_user: User = Security(get_current_user, scopes=["public"]),
download_service: BeatmapDownloadService = Depends(get_beatmap_download_service),
):
"""获取下载服务状态"""
return download_service.get_service_status()