All URIs are relative to /api
Method | HTTP request | Description |
---|---|---|
V1HealthCheckGet | Get /v1/health-check | Get Jamf Pro API status |
V1HealthCheckGet(ctx).Execute()
Get Jamf Pro API status
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)
}
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV1HealthCheckGetRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]