All URIs are relative to https://.o.numary.cloud/ledger
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/numary/numary-go"
)
func main() {
configuration := client.NewConfiguration()
api_client := client.NewAPIClient(configuration)
resp, r, err := api_client.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
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]