Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 2.25 KB

ConfigurationEndpointApi.md

File metadata and controls

75 lines (46 loc) · 2.25 KB

\ConfigurationEndpointApi

All URIs are relative to https://api.authlete.com

Method HTTP request Description
ServiceConfigurationApi Get /api/service/configuration /api/service/configuration API

ServiceConfigurationApi

map[string]interface{} ServiceConfigurationApi(ctx).Pretty(pretty).Execute()

/api/service/configuration API

Example

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)

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.ConfigurationEndpointApi.ServiceConfigurationApi(context.Background()).Pretty(pretty).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)
}

Path Parameters

Other Parameters

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`.

Return type

map[string]interface{}

Authorization

ServiceCredentials

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]