Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.61 KB

AccountApi.md

File metadata and controls

70 lines (43 loc) · 1.61 KB

\AccountApi

All URIs are relative to http://localhost

Method HTTP request Description
GetMe Get /v2/me ログイン中のユーザープロフィールおよび所属する企業、参加するグループの一覧を取得する

GetMe

Me GetMe(ctx).Execute()

ログイン中のユーザープロフィールおよび所属する企業、参加するグループの一覧を取得する

Example

package main

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

func main() {

    configuration := openapiclient.NewConfiguration()
    api_client := openapiclient.NewAPIClient(configuration)
    resp, r, err := api_client.AccountApi.GetMe(context.Background()).Execute()
    if err.Error() != "" {
        fmt.Fprintf(os.Stderr, "Error when calling `AccountApi.GetMe``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `GetMe`: Me
    fmt.Fprintf(os.Stdout, "Response from `AccountApi.GetMe`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

Me

Authorization

bearerAuth

HTTP request headers

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

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