All URIs are relative to https://api.authlete.com
Method | HTTP request | Description |
---|---|---|
InfoApi | Get /api/info | /api/info API |
InfoResponse InfoApi(ctx).Execute()
/api/info API
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ServerMetadataApi.InfoApi(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServerMetadataApi.InfoApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `InfoApi`: InfoResponse
fmt.Fprintf(os.Stdout, "Response from `ServerMetadataApi.InfoApi`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiInfoApiRequest 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]