Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.36 KB

HealthCheckAPI.md

File metadata and controls

68 lines (41 loc) · 1.36 KB

\HealthCheckAPI

All URIs are relative to /api

Method HTTP request Description
V1HealthCheckGet Get /v1/health-check Get Jamf Pro API status

V1HealthCheckGet

V1HealthCheckGet(ctx).Execute()

Get Jamf Pro API status

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/yohan460/go-jamf-api/api"
)

func main() {

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.HealthCheckAPI.V1HealthCheckGet(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `HealthCheckAPI.V1HealthCheckGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

Other parameters are passed through a pointer to a apiV1HealthCheckGetRequest struct via the builder pattern

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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