Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error 429 QUOTA_EXCEEDED #297

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions code/API_definitions/quality-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,23 @@ paths:
status: 409
code: CONFLICT
message: "Another session is created for the same device"
"429":
description: Rate limit or quota exceeded
headers:
x-correlator:
$ref: '#/components/headers/x-correlator'
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
QuotaExceeded:
summary: Quota exceeded
description: The requested duration exceeds the overall sessions time cap for this device or application, in certain period of time or contract duration.
value:
status: 429
code: QUOTA_EXCEEDED
message: "Requested duration exceeds the contracted quota for the current device"
"500":
$ref: "#/components/responses/Generic500"
"501":
Expand Down