All URIs are relative to https://one.digicert.com
Method | HTTP request | Description |
---|---|---|
MpkiApiV1HealthExtensiveGet | Get /mpki/api/v1/health/extensive | Query service health |
MpkiApiV1HelloGet | Get /mpki/api/v1/hello | Query service status |
string MpkiApiV1HealthExtensiveGet(ctx).Execute()
Query service health
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceStatusApi.MpkiApiV1HealthExtensiveGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceStatusApi.MpkiApiV1HealthExtensiveGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MpkiApiV1HealthExtensiveGet`: string
fmt.Fprintf(os.Stdout, "Response from `ServiceStatusApi.MpkiApiV1HealthExtensiveGet`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiMpkiApiV1HealthExtensiveGetRequest struct via the builder pattern
string
- Content-Type: Not defined
- Accept: text/plain;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string MpkiApiV1HelloGet(ctx).Execute()
Query service status
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ServiceStatusApi.MpkiApiV1HelloGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceStatusApi.MpkiApiV1HelloGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MpkiApiV1HelloGet`: string
fmt.Fprintf(os.Stdout, "Response from `ServiceStatusApi.MpkiApiV1HelloGet`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiMpkiApiV1HelloGetRequest struct via the builder pattern
string
- Content-Type: Not defined
- Accept: text/plain;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]