Files
autoglue/sdk/ts/docs/HealthApi.md
2025-11-04 18:16:45 +00:00

1.6 KiB

HealthApi

All URIs are relative to http://localhost:8080/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]