Refresh Codex protocol schemas
This commit is contained in:
47
schemas/v2/ConsumeAccountRateLimitResetCreditResponse.json
Normal file
47
schemas/v2/ConsumeAccountRateLimitResetCreditResponse.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "ConsumeAccountRateLimitResetCreditResponse",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"outcome"
|
||||
],
|
||||
"properties": {
|
||||
"outcome": {
|
||||
"$ref": "#/definitions/ConsumeAccountRateLimitResetCreditOutcome"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ConsumeAccountRateLimitResetCreditOutcome": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A reset credit was consumed and the eligible rate-limit windows were reset.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"reset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "No current rate-limit window is eligible for a reset.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"nothingToReset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "The account has no earned reset credits available.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"noCredit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "The same idempotency key already completed a reset successfully.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"alreadyRedeemed"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user