fix(migrate): 兑换迁移码在双方认领锁下检查目标配额,超出返回 403 migrate_quota_exceeded 且码不消耗
This commit is contained in:
12 files changed
+362
-11
No files matched your search
@@ -5709,6 +5709,14 @@ paths:
|
||||
schema: { $ref: '#/components/schemas/Error' }
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
'403':
|
||||
description: >
|
||||
The source's servers would push the caller over a quota cap
|
||||
(migrate_quota_exceeded). Nothing moved and the code is unspent; it redeems once
|
||||
the quota fits, until it expires.
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: '#/components/schemas/Error' }
|
||||
|
||||
/api/v1/me/submissions:
|
||||
post:
|
||||
|
||||
Reference in new issue
Block a user