Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 1.76 KB

GrantManagementEndpointApi.md

File metadata and controls

75 lines (46 loc) · 1.76 KB

\GrantManagementEndpointApi

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

Method HTTP request Description
GrantMApi Post /api/gm /api/gm API

GrantMApi

GMResponse GrantMApi(ctx).GMRequest(gMRequest).Execute()

/api/gm API

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    gMRequest := *openapiclient.NewGMRequest() // GMRequest | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.GrantManagementEndpointApi.GrantMApi(context.Background()).GMRequest(gMRequest).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `GrantManagementEndpointApi.GrantMApi``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `GrantMApi`: GMResponse
    fmt.Fprintf(os.Stdout, "Response from `GrantManagementEndpointApi.GrantMApi`: %v\n", resp)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
gMRequest GMRequest

Return type

GMResponse

Authorization

ServiceCredentials

HTTP request headers

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

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