mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	realm: Add an alias realm_url and deprecate realm_uri in the API.
				
					
				
			The naming `uri` is deprecated while `url` should be used in order to satisfy URL standards. For this reason, four endpoints are affected: * The response content of three endpoints `/server_settings`, `/register` and `/realm` that contain a field `realm_uri` is changed to `realm_url`. * In one of the common fields for all mobile push notifications payloads, `realm_url` field is now added as an alias to `realm_uri`. For backwards compatibility, we keep the field `realm_uri` and add an alias `realm_url`. Co-authored-by: Junyao Chen <junyao.chen@socitydao.org>
This commit is contained in:
		@@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
 | 
			
		||||
# Changes should be accompanied by documentation explaining what the
 | 
			
		||||
# new level means in api_docs/changelog.md, as well as "**Changes**"
 | 
			
		||||
# entries in the endpoint's documentation in `zulip.yaml`.
 | 
			
		||||
API_FEATURE_LEVEL = 256
 | 
			
		||||
API_FEATURE_LEVEL = 257
 | 
			
		||||
 | 
			
		||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
 | 
			
		||||
# only when going from an old version of the code to a newer version. Bump
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user