What is the REST endpoint to get the REST API version for the given domain?
I am able to get the sugar cloud version by using https://<domain>/sugar_version.json. I am just looking for an endpoint to get REST API version also similar to this.
What is the REST endpoint to get the REST API version for the given domain?
I am able to get the sugar cloud version by using https://<domain>/sugar_version.json. I am just looking for an endpoint to get REST API version also similar to this.
The only way I have ever found is to get the metadata (https://sugarcrm_instance.com/rest/v11_1/metadata) and look in the server_info for the SugarCRM version and then convert that into a REST endpoint version. Of course that will miss any custom versions that might have been created.
There isn't a direct way to retrieve the list of supported REST API versions. You can check for the existence of a particular API version by touching an endpoint (ex. https://sugar/rest/v11_4/ping ) and examining the response. You'll get an incorrect_version error if it's not supported.
The other way is to use Sugar application version (ex. from sugar_version.json) as basis for knowing what API versions are supported.
App Ecosystem @ SugarCRM
There isn't a direct way to retrieve the list of supported REST API versions. You can check for the existence of a particular API version by touching an endpoint (ex. https://sugar/rest/v11_4/ping ) and examining the response. You'll get an incorrect_version error if it's not supported.
The other way is to use Sugar application version (ex. from sugar_version.json) as basis for knowing what API versions are supported.
App Ecosystem @ SugarCRM