feat: add problem yearly AC rate API endpoint

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Sonnet 4.6 committed 2026-05-11 00:19:16 -06:00
1 parent ae783c3a89
commit 74d5c7256d
3 files changed
+53

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ from ..views.oj import (
ProblemAuthorAPI,
ProblemSolvedPeopleCount,
ProblemTagAPI,
ProblemYearlyACRateAPI,
SimilarProblemAPI,
)
@@ -16,6 +17,7 @@ urlpatterns = [
path("problem/beat_count", ProblemSolvedPeopleCount.as_view()),
path("problem/similar", SimilarProblemAPI.as_view()),
path("problem/author", ProblemAuthorAPI.as_view()),
path("problem/yearly_ac", ProblemYearlyACRateAPI.as_view()),
path("pickone", PickOneAPI.as_view()),
path("contest/problem", ContestProblemAPI.as_view()),
]