api-docs: Update API feature level 36 rate limit error changes notes.

This commit is contained in:
Lauryn Menard 2024-06-18 13:53:58 +02:00 committed by Tim Abbott
parent d0c25a9291
commit a9141f2277
2 changed files with 5 additions and 4 deletions

View File

@ -1975,8 +1975,9 @@ field with an integer field `invite_to_realm_policy`.
* [`POST /users`](/api/create-user): Restricted access to organization
administrators with the `can_create_users` permission.
* [Error handling](/api/rest-error-handling): The `code` property will
now be present in errors due to rate limits.
* [Error handling](/api/rest-error-handling#common-error-responses): The
`code` key will now be present in errors that are due to rate
limits, with a value of `"RATE_LIMIT_HIT"`.
**Feature level 35**

View File

@ -22243,8 +22243,8 @@ components:
The value of `retry-after` in the response indicates how many
seconds the client must wait before making additional requests.
**Changes**: The `code` field was not present in rate
limit errors before Zulip 4.0 (feature level 36).
**Changes**: Before Zulip 4.0 (feature level 36), the `code` key
was not present in rate limit errors.
[rate-limit-headers]: /api/http-headers#rate-limiting-response-headers
properties: