Version Endpoint
The Version endpoint provides system version information for both Smile CDR and HAPI FHIR components. This endpoint is useful for troubleshooting, support requests, and verifying the installed software versions.
This method returns version information including:
To invoke:
GET http://localhost:9000/version/
The server will produce a response containing version information:
{
"cdrVersion": {
"version": "2025.02.R01-SNAPSHOT",
"buildNumber": "202501151234",
"buildTimestamp": "2025-01-15T12:34:56.789Z"
},
"hapiVersion": {
"version": "7.6.0",
"buildNumber": "NA",
"buildTimestamp": "2024-12-10T08:30:15.123Z"
}
}
The response contains two main objects:
Contains Smile CDR specific version information:
version
- The Smile CDR version string (e.g., "2025.02.R01-SNAPSHOT")buildNumber
- The build number for this Smile CDR releasebuildTimestamp
- ISO 8601 timestamp when this Smile CDR build was createdContains HAPI FHIR library version information:
version
- The HAPI FHIR library version string (e.g., "7.6.0")buildNumber
- The build number for the HAPI FHIR library (typically "NA")buildTimestamp
- ISO 8601 timestamp when the HAPI FHIR library was builtIf the request is made without the required ACCESS_ADMIN_JSON
permission:
{
"timestamp": "2025-01-15T12:34:56.789Z",
"status": 403,
"error": "Forbidden",
"message": "Access is denied",
"path": "/version"
}
This endpoint is commonly used for:
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.