All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetMe | Get /v2/me | ログイン中のユーザープロフィールおよび所属する企業、参加するグループの一覧を取得する |
Me GetMe(ctx).Execute()
ログイン中のユーザープロフィールおよび所属する企業、参加するグループの一覧を取得する
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)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetMeRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]