...
API version: This specifies the document version the Api will be handling and is optional.
V1 API Version:- This API supports FHIR DSTU2 format. It will be deprecated after release 2.7. (Eg: shr.com/v1/patient/98765432101/encounters)
V2 API Version:- This API is introduced in release 2.7, it supports FHIR STU3 format . This will be the default version after release 2.7. (Eg: shr.com/v2/patient/98765432101/encounters)
Not providing a version will redirect all API calls to the default version. (Eg: shr.com/patient/98765432101/encounters)