All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetResourceLimits | Get /system/limits | Get resource limits information |
GetSystemInfo | Get /system/info | Get system information |
Limits GetResourceLimits(ctx).Execute()
Get resource limits information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Apicurio/apicurio-registry-client-sdk-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SystemAPI.GetResourceLimits(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.GetResourceLimits``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetResourceLimits`: Limits
fmt.Fprintf(os.Stdout, "Response from `SystemAPI.GetResourceLimits`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetResourceLimitsRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemInfo GetSystemInfo(ctx).Execute()
Get system information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Apicurio/apicurio-registry-client-sdk-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SystemAPI.GetSystemInfo(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.GetSystemInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSystemInfo`: SystemInfo
fmt.Fprintf(os.Stdout, "Response from `SystemAPI.GetSystemInfo`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetSystemInfoRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]