# \TagApi All URIs are relative to *http://127.0.0.1:80* Method | HTTP request | Description ------------- | ------------- | ------------- [**AnswerApiV1QuestionTagsGet**](TagApi.md#AnswerApiV1QuestionTagsGet) | **Get** /answer/api/v1/question/tags | get tag list [**AnswerApiV1TagDelete**](TagApi.md#AnswerApiV1TagDelete) | **Delete** /answer/api/v1/tag | delete tag [**AnswerApiV1TagGet**](TagApi.md#AnswerApiV1TagGet) | **Get** /answer/api/v1/tag | get tag one [**AnswerApiV1TagPost**](TagApi.md#AnswerApiV1TagPost) | **Post** /answer/api/v1/tag | add tag [**AnswerApiV1TagPut**](TagApi.md#AnswerApiV1TagPut) | **Put** /answer/api/v1/tag | update tag [**AnswerApiV1TagSynonymPut**](TagApi.md#AnswerApiV1TagSynonymPut) | **Put** /answer/api/v1/tag/synonym | update tag [**AnswerApiV1TagSynonymsGet**](TagApi.md#AnswerApiV1TagSynonymsGet) | **Get** /answer/api/v1/tag/synonyms | get tag synonyms [**AnswerApiV1TagsFollowingGet**](TagApi.md#AnswerApiV1TagsFollowingGet) | **Get** /answer/api/v1/tags/following | get following tag list [**AnswerApiV1TagsGet**](TagApi.md#AnswerApiV1TagsGet) | **Get** /answer/api/v1/tags | get tags list [**AnswerApiV1TagsPageGet**](TagApi.md#AnswerApiV1TagsPageGet) | **Get** /answer/api/v1/tags/page | get tag page ## AnswerApiV1QuestionTagsGet > AnswerApiV1QuestionTagsGet200Response AnswerApiV1QuestionTagsGet(ctx).Tag(tag).Execute() get tag list ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { tag := "tag_example" // string | tag (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1QuestionTagsGet(context.Background()).Tag(tag).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1QuestionTagsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1QuestionTagsGet`: AnswerApiV1QuestionTagsGet200Response fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1QuestionTagsGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1QuestionTagsGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tag** | **string** | tag | ### Return type [**AnswerApiV1QuestionTagsGet200Response**](AnswerApiV1QuestionTagsGet200Response.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerApiV1TagDelete > HandlerRespBody AnswerApiV1TagDelete(ctx).Data(data).Execute() delete tag ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaRemoveTagReq("TagId_example") // SchemaRemoveTagReq | tag configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagDelete(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagDelete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagDelete`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagDelete`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagDeleteRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaRemoveTagReq**](SchemaRemoveTagReq.md) | tag | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagGet > AnswerApiV1TagGet200Response AnswerApiV1TagGet(ctx).TagId(tagId).TagName(tagName).Execute() get tag one ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { tagId := "tagId_example" // string | tag id tagName := "tagName_example" // string | tag name configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagGet(context.Background()).TagId(tagId).TagName(tagName).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagGet`: AnswerApiV1TagGet200Response fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tagId** | **string** | tag id | **tagName** | **string** | tag name | ### Return type [**AnswerApiV1TagGet200Response**](AnswerApiV1TagGet200Response.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagPost > HandlerRespBody AnswerApiV1TagPost(ctx).Data(data).Execute() add tag ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaAddTagReq("DisplayName_example", "OriginalText_example", "SlugName_example") // SchemaAddTagReq | tag configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagPost(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagPost`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagPost`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaAddTagReq**](SchemaAddTagReq.md) | tag | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagPut > HandlerRespBody AnswerApiV1TagPut(ctx).Data(data).Execute() update tag ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateTagReq("TagId_example") // SchemaUpdateTagReq | tag configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateTagReq**](SchemaUpdateTagReq.md) | tag | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagSynonymPut > HandlerRespBody AnswerApiV1TagSynonymPut(ctx).Data(data).Execute() update tag ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateTagSynonymReq([]openapiclient.SchemaTagItem{*openapiclient.NewSchemaTagItem()}, "TagId_example") // SchemaUpdateTagSynonymReq | tag configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagSynonymPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagSynonymPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagSynonymPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagSynonymPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagSynonymPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateTagSynonymReq**](SchemaUpdateTagSynonymReq.md) | tag | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagSynonymsGet > AnswerApiV1TagSynonymsGet200Response AnswerApiV1TagSynonymsGet(ctx).TagId(tagId).Execute() get tag synonyms ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { tagId := int32(56) // int32 | tag id configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagSynonymsGet(context.Background()).TagId(tagId).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagSynonymsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagSynonymsGet`: AnswerApiV1TagSynonymsGet200Response fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagSynonymsGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagSynonymsGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tagId** | **int32** | tag id | ### Return type [**AnswerApiV1TagSynonymsGet200Response**](AnswerApiV1TagSynonymsGet200Response.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagsFollowingGet > AnswerApiV1TagsFollowingGet200Response AnswerApiV1TagsFollowingGet(ctx).Execute() get following tag list ### 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.TagApi.AnswerApiV1TagsFollowingGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagsFollowingGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagsFollowingGet`: AnswerApiV1TagsFollowingGet200Response fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagsFollowingGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagsFollowingGetRequest struct via the builder pattern ### Return type [**AnswerApiV1TagsFollowingGet200Response**](AnswerApiV1TagsFollowingGet200Response.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerApiV1TagsGet > HandlerRespBody AnswerApiV1TagsGet(ctx).Tags(tags).Execute() get tags list ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { tags := []string{"Inner_example"} // []string | string collection (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagsGet(context.Background()).Tags(tags).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagsGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagsGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagsGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tags** | **[]string** | string collection | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization No authorization required ### 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) ## AnswerApiV1TagsPageGet > AnswerApiV1TagsPageGet200Response AnswerApiV1TagsPageGet(ctx).Page(page).PageSize(pageSize).SlugName(slugName).QueryCond(queryCond).Execute() get tag page ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { page := int32(56) // int32 | page size (optional) pageSize := int32(56) // int32 | page size (optional) slugName := "slugName_example" // string | slug_name (optional) queryCond := "queryCond_example" // string | query condition (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.TagApi.AnswerApiV1TagsPageGet(context.Background()).Page(page).PageSize(pageSize).SlugName(slugName).QueryCond(queryCond).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TagApi.AnswerApiV1TagsPageGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerApiV1TagsPageGet`: AnswerApiV1TagsPageGet200Response fmt.Fprintf(os.Stdout, "Response from `TagApi.AnswerApiV1TagsPageGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerApiV1TagsPageGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int32** | page size | **pageSize** | **int32** | page size | **slugName** | **string** | slug_name | **queryCond** | **string** | query condition | ### Return type [**AnswerApiV1TagsPageGet200Response**](AnswerApiV1TagsPageGet200Response.md) ### Authorization No authorization required ### 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)