Files
autoglue/sdk/ts/docs/HealthApi.md
allanice001 334df457ce feat: complete node pool api, sdk and ui
Signed-off-by: allanice001 <allanice001@gmail.com>
2025-11-08 10:22:45 +00:00

1.5 KiB

HealthApi

All URIs are relative to /api/v1

Method HTTP request Description
healthCheckOperationId GET /healthz Basic health check

healthCheckOperationId

HandlersHealthStatus healthCheckOperationId()

Basic health check

Returns 200 OK when the service is up

Example

import { Configuration, HealthApi } from "@glueops/autoglue-sdk-go";
import type { HealthCheckOperationIdRequest } from "@glueops/autoglue-sdk-go";

async function example() {
  console.log("🚀 Testing @glueops/autoglue-sdk-go SDK...");
  const api = new HealthApi();

  try {
    const data = await api.healthCheckOperationId();
    console.log(data);
  } catch (error) {
    console.error(error);
  }
}

// Run the test
example().catch(console.error);

Parameters

This endpoint does not need any parameter.

Return type

HandlersHealthStatus

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]