Skip to content

health check

GET
/api/v1/health

Controller:

github.com/raghavyuva/nixopus-api/internal/features/health.HealthCheck

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware

Parameters

Header Parameters

Accept
Typestring

Responses

OK
JSON
{
"data": null,
"error": "string",
"message": "string",
"status": "string"
}

Samples

cURL
curl -X GET http://localhost:8080/api/v1/api/v1/health
JavaScript
fetch("http://localhost:8080/api/v1/api/v1/health")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost:8080/api/v1/api/v1/health");
Python
import requests
response = requests.get("http://localhost:8080/api/v1/api/v1/health")
print(response.json())
Powered by VitePress OpenAPI

Released under the Fair-Code Sustainable Use License