All URIs are relative to https://api.authlete.com
Method | HTTP request | Description |
---|---|---|
ServiceConfigurationApi | Get /api/service/configuration | /api/service/configuration API |
map[string]interface{} ServiceConfigurationApi(ctx).Pretty(pretty).Patch(patch).Execute()
/api/service/configuration API
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pretty := true // bool | This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`. (optional)
patch := "patch_example" // string | Get the JSON Patch [RFC 6902 JavaScript Object Notation (JSON) Patch](https://www.rfc-editor.org/rfc/rfc6902) to be applied. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ConfigurationEndpointApi.ServiceConfigurationApi(context.Background()).Pretty(pretty).Patch(patch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationEndpointApi.ServiceConfigurationApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ServiceConfigurationApi`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `ConfigurationEndpointApi.ServiceConfigurationApi`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiServiceConfigurationApiRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
pretty | bool | This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`. | |
patch | string | Get the JSON Patch RFC 6902 JavaScript Object Notation (JSON) Patch to be applied. |
map[string]interface{}
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]