Skip to main content

GET /resources/version

Returns the service name and current version number. This endpoint is useful for health checks and version verification.

Response

service
string
required
The service name identifier
version
string
required
The current version number of the service

Example Request

curl http://localhost:8080/resources/version

Example Response

{
  "service": "resource-service",
  "version": "1.0.0"
}

Use Cases

Verify the deployed service version matches your expected version
Use as a lightweight endpoint to confirm the service is running and responding
Check version compatibility before making API calls

Build docs developers (and LLMs) love