feat: shit shit
This commit is contained in:
70
pkg/api/yandex/ymclient/docs/AuthAPI.md
Normal file
70
pkg/api/yandex/ymclient/docs/AuthAPI.md
Normal file
@@ -0,0 +1,70 @@
|
||||
# \AuthAPI
|
||||
|
||||
All URIs are relative to *https://api.partner.market.yandex.ru*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**GetAuthTokenInfo**](AuthAPI.md#GetAuthTokenInfo) | **Post** /auth/token | Получение информации об авторизационном токене
|
||||
|
||||
|
||||
|
||||
## GetAuthTokenInfo
|
||||
|
||||
> GetTokenInfoResponse GetAuthTokenInfo(ctx).Execute()
|
||||
|
||||
Получение информации об авторизационном токене
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AuthAPI.GetAuthTokenInfo(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.GetAuthTokenInfo``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetAuthTokenInfo`: GetTokenInfoResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.GetAuthTokenInfo`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetAuthTokenInfoRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**GetTokenInfoResponse**](GetTokenInfoResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[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)
|
||||
|
||||
Reference in New Issue
Block a user