All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetInfo | Get /_info | Show server information |
ConfigInfoResponse GetInfo(ctx).Execute()
Show server information
package main
import (
"context"
"fmt"
"os"
client "github.com/formancehq/numary-sdk-go"
)
func main() {
configuration := client.NewConfiguration()
apiClient := client.NewAPIClient(configuration)
resp, r, err := apiClient.ServerApi.GetInfo(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServerApi.GetInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetInfo`: ConfigInfoResponse
fmt.Fprintf(os.Stdout, "Response from `ServerApi.GetInfo`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetInfoRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]