Skip to content

feat: 提交限频#2

Open
john2240 wants to merge 3 commits into
deijing:mainfrom
john2240:feat-rate-limit
Open

feat: 提交限频#2
john2240 wants to merge 3 commits into
deijing:mainfrom
john2240:feat-rate-limit

Conversation

@john2240

Copy link
Copy Markdown

每 10 分钟 1 次、每日上限5次

- Add image_ref field to Submission model (must use @sha256 digest)
- Add validation: reject :latest tag and require sha256 format
- Add submission rate limit: 1 per 10min, 5 per day
- Add /my-history endpoint for user submission history query
- Add database migration script 026_add_image_ref.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants