gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/docs/EmailsApi.md (about) 1 # \EmailsApi 2 3 All URIs are relative to *https://gitee.com/api* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**GetV5Emails**](EmailsApi.md#GetV5Emails) | **Get** /v5/emails | 获取授权用户的所有邮箱 8 9 10 # **GetV5Emails** 11 > []Email GetV5Emails(ctx, optional) 12 获取授权用户的所有邮箱 13 14 获取授权用户的所有邮箱 15 16 ### Required Parameters 17 18 Name | Type | Description | Notes 19 ------------- | ------------- | ------------- | ------------- 20 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 21 **optional** | ***GetV5EmailsOpts** | optional parameters | nil if no parameters 22 23 ### Optional Parameters 24 Optional parameters are passed through a pointer to a GetV5EmailsOpts struct 25 26 Name | Type | Description | Notes 27 ------------- | ------------- | ------------- | ------------- 28 **accessToken** | **optional.String**| 用户授权码 | 29 30 ### Return type 31 32 [**[]Email**](Email.md) 33 34 ### Authorization 35 36 No authorization required 37 38 ### HTTP request headers 39 40 - **Content-Type**: application/json, multipart/form-data 41 - **Accept**: application/json 42 43 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 44