feat: shit shit
This commit is contained in:
		
							
								
								
									
										231
									
								
								pkg/api/yandex/ymclient/docs/ContentAPI.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										231
									
								
								pkg/api/yandex/ymclient/docs/ContentAPI.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,231 @@
 | 
			
		||||
# \ContentAPI
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *https://api.partner.market.yandex.ru*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
[**GetCategoryContentParameters**](ContentAPI.md#GetCategoryContentParameters) | **Post** /category/{categoryId}/parameters | Списки характеристик товаров по категориям
 | 
			
		||||
[**GetOfferCardsContentStatus**](ContentAPI.md#GetOfferCardsContentStatus) | **Post** /businesses/{businessId}/offer-cards | Получение информации о заполненности карточек магазина
 | 
			
		||||
[**UpdateOfferContent**](ContentAPI.md#UpdateOfferContent) | **Post** /businesses/{businessId}/offer-cards/update | Редактирование категорийных характеристик товара
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## GetCategoryContentParameters
 | 
			
		||||
 | 
			
		||||
> GetCategoryContentParametersResponse GetCategoryContentParameters(ctx, categoryId).BusinessId(businessId).Execute()
 | 
			
		||||
 | 
			
		||||
Списки характеристик товаров по категориям
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"context"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	categoryId := int64(789) // int64 | Идентификатор категории на Маркете.  Чтобы узнать идентификатор категории, к которой относится интересующий вас товар, воспользуйтесь запросом [:no-translate[POST categories/tree]](:no-translate[../../reference/categories/getCategoriesTree.md]). 
 | 
			
		||||
	businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  Передайте параметр, чтобы получить характеристики, которые являются особенностями варианта товара в данном кабинете.  (optional)
 | 
			
		||||
 | 
			
		||||
	configuration := openapiclient.NewConfiguration()
 | 
			
		||||
	apiClient := openapiclient.NewAPIClient(configuration)
 | 
			
		||||
	resp, r, err := apiClient.ContentAPI.GetCategoryContentParameters(context.Background(), categoryId).BusinessId(businessId).Execute()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.GetCategoryContentParameters``: %v\n", err)
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
 | 
			
		||||
	}
 | 
			
		||||
	// response from `GetCategoryContentParameters`: GetCategoryContentParametersResponse
 | 
			
		||||
	fmt.Fprintf(os.Stdout, "Response from `ContentAPI.GetCategoryContentParameters`: %v\n", resp)
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Path Parameters
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
 | 
			
		||||
**categoryId** | **int64** | Идентификатор категории на Маркете.  Чтобы узнать идентификатор категории, к которой относится интересующий вас товар, воспользуйтесь запросом [:no-translate[POST categories/tree]](:no-translate[../../reference/categories/getCategoriesTree.md]).  | 
 | 
			
		||||
 | 
			
		||||
### Other Parameters
 | 
			
		||||
 | 
			
		||||
Other parameters are passed through a pointer to a apiGetCategoryContentParametersRequest struct via the builder pattern
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
 | 
			
		||||
 **businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  Передайте параметр, чтобы получить характеристики, которые являются особенностями варианта товара в данном кабинете.  | 
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**GetCategoryContentParametersResponse**](GetCategoryContentParametersResponse.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)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## GetOfferCardsContentStatus
 | 
			
		||||
 | 
			
		||||
> GetOfferCardsContentStatusResponse GetOfferCardsContentStatus(ctx, businessId).PageToken(pageToken).Limit(limit).GetOfferCardsContentStatusRequest(getOfferCardsContentStatusRequest).Execute()
 | 
			
		||||
 | 
			
		||||
Получение информации о заполненности карточек магазина
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"context"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  ℹ️ [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) 
 | 
			
		||||
	pageToken := "eyBuZXh0SWQ6IDIzNDIgfQ==" // string | Идентификатор страницы c результатами.  Если параметр не указан, возвращается первая страница.  Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе.  Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются.  (optional)
 | 
			
		||||
	limit := int32(20) // int32 | Количество значений на одной странице.  (optional)
 | 
			
		||||
	getOfferCardsContentStatusRequest := *openapiclient.NewGetOfferCardsContentStatusRequest() // GetOfferCardsContentStatusRequest |  (optional)
 | 
			
		||||
 | 
			
		||||
	configuration := openapiclient.NewConfiguration()
 | 
			
		||||
	apiClient := openapiclient.NewAPIClient(configuration)
 | 
			
		||||
	resp, r, err := apiClient.ContentAPI.GetOfferCardsContentStatus(context.Background(), businessId).PageToken(pageToken).Limit(limit).GetOfferCardsContentStatusRequest(getOfferCardsContentStatusRequest).Execute()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.GetOfferCardsContentStatus``: %v\n", err)
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
 | 
			
		||||
	}
 | 
			
		||||
	// response from `GetOfferCardsContentStatus`: GetOfferCardsContentStatusResponse
 | 
			
		||||
	fmt.Fprintf(os.Stdout, "Response from `ContentAPI.GetOfferCardsContentStatus`: %v\n", resp)
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Path Parameters
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
 | 
			
		||||
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  ℹ️ [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])  | 
 | 
			
		||||
 | 
			
		||||
### Other Parameters
 | 
			
		||||
 | 
			
		||||
Other parameters are passed through a pointer to a apiGetOfferCardsContentStatusRequest struct via the builder pattern
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
 | 
			
		||||
 **pageToken** | **string** | Идентификатор страницы c результатами.  Если параметр не указан, возвращается первая страница.  Рекомендуем передавать значение выходного параметра :no-translate[`nextPageToken`], полученное при последнем запросе.  Если задан :no-translate[`page_token`] и в запросе есть параметры :no-translate[`page`] и :no-translate[`pageSize`], они игнорируются.  | 
 | 
			
		||||
 **limit** | **int32** | Количество значений на одной странице.  | 
 | 
			
		||||
 **getOfferCardsContentStatusRequest** | [**GetOfferCardsContentStatusRequest**](GetOfferCardsContentStatusRequest.md) |  | 
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**GetOfferCardsContentStatusResponse**](GetOfferCardsContentStatusResponse.md)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
 | 
			
		||||
 | 
			
		||||
### HTTP request headers
 | 
			
		||||
 | 
			
		||||
- **Content-Type**: application/json
 | 
			
		||||
- **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)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## UpdateOfferContent
 | 
			
		||||
 | 
			
		||||
> UpdateOfferContentResponse UpdateOfferContent(ctx, businessId).UpdateOfferContentRequest(updateOfferContentRequest).Execute()
 | 
			
		||||
 | 
			
		||||
Редактирование категорийных характеристик товара
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"context"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	businessId := int64(789) // int64 | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  ℹ️ [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html]) 
 | 
			
		||||
	updateOfferContentRequest := *openapiclient.NewUpdateOfferContentRequest([]openapiclient.OfferContentDTO{*openapiclient.NewOfferContentDTO("OfferId_example", int32(123), []openapiclient.ParameterValueDTO{*openapiclient.NewParameterValueDTO(int64(123))})}) // UpdateOfferContentRequest | 
 | 
			
		||||
 | 
			
		||||
	configuration := openapiclient.NewConfiguration()
 | 
			
		||||
	apiClient := openapiclient.NewAPIClient(configuration)
 | 
			
		||||
	resp, r, err := apiClient.ContentAPI.UpdateOfferContent(context.Background(), businessId).UpdateOfferContentRequest(updateOfferContentRequest).Execute()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Error when calling `ContentAPI.UpdateOfferContent``: %v\n", err)
 | 
			
		||||
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
 | 
			
		||||
	}
 | 
			
		||||
	// response from `UpdateOfferContent`: UpdateOfferContentResponse
 | 
			
		||||
	fmt.Fprintf(os.Stdout, "Response from `ContentAPI.UpdateOfferContent`: %v\n", resp)
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Path Parameters
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
 | 
			
		||||
**businessId** | **int64** | Идентификатор кабинета. Чтобы его узнать, воспользуйтесь запросом [:no-translate[GET campaigns]](:no-translate[../../reference/campaigns/getCampaigns.md]).  ℹ️ [Что такое кабинет и магазин на Маркете](:no-translate[https://yandex.ru/support/marketplace/account/introduction.html])  | 
 | 
			
		||||
 | 
			
		||||
### Other Parameters
 | 
			
		||||
 | 
			
		||||
Other parameters are passed through a pointer to a apiUpdateOfferContentRequest struct via the builder pattern
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
 | 
			
		||||
 **updateOfferContentRequest** | [**UpdateOfferContentRequest**](UpdateOfferContentRequest.md) |  | 
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**UpdateOfferContentResponse**](UpdateOfferContentResponse.md)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
[ApiKey](../README.md#ApiKey), [OAuth](../README.md#OAuth)
 | 
			
		||||
 | 
			
		||||
### HTTP request headers
 | 
			
		||||
 | 
			
		||||
- **Content-Type**: application/json
 | 
			
		||||
- **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