Use this file to discover all available pages before exploring further.
The GET /service/version endpoint returns a JSON object containing metadata about the running service instance. The response includes the package name and description sourced from package.json, the current deployment environment derived from the NODE_ENV Lambda environment variable (set automatically by the Serverless Framework to stage or prod at deploy time), and the current semantic version of the service. No request body or query parameters are required.
Method:GET Path:/service/versionThis endpoint requires no request body, query parameters, or authentication headers beyond whatever API Gateway authorization you have configured for your deployment.
{ "service": { "name": "@barchart/serverless-pdf-generator", "description": "Web service for conversion of HTML to PDF", "environment": "prod", "version": "3.0.1" }}
The package name from package.json. Identifies the service in monitoring tools and log aggregation systems. Example: @barchart/serverless-pdf-generator.
The deployment stage, sourced from the NODE_ENV Lambda environment variable. Set automatically by the Serverless Framework at deploy time. Expected values: stage or prod.
The current semantic version of the service, sourced from package.json. Follows the MAJOR.MINOR.PATCH format. Example: 3.0.1.
Call GET /service/version immediately after deploying to verify that the service is reachable and that the environment and version fields match what you intended to deploy. A successful 200 response with the correct values is a reliable smoke test before routing production traffic to a new deployment.