Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.5 KB

ServerMetadataApi.md

File metadata and controls

70 lines (43 loc) · 1.5 KB

\ServerMetadataApi

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

Method HTTP request Description
InfoApi Get /api/info /api/info API

InfoApi

InfoResponse InfoApi(ctx).Execute()

/api/info API

Example

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)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

Other parameters are passed through a pointer to a apiInfoApiRequest struct via the builder pattern

Return type

InfoResponse

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]