mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	api-docs: Update API feature level 36 rate limit error changes notes.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							d0c25a9291
						
					
				
				
					commit
					a9141f2277
				
			@@ -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**
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user