GET API VERSION

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.

Parents Reply
  • 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

Children
No Data