# \AdminApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**AnswerAdminApiAnswerPageGet**](AdminApi.md#AnswerAdminApiAnswerPageGet) | **Get** /answer/admin/api/answer/page | AdminAnswerPage admin answer page [**AnswerAdminApiAnswerStatusPut**](AdminApi.md#AnswerAdminApiAnswerStatusPut) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus [**AnswerAdminApiDashboardGet**](AdminApi.md#AnswerAdminApiDashboardGet) | **Get** /answer/admin/api/dashboard | DashboardInfo [**AnswerAdminApiQuestionPageGet**](AdminApi.md#AnswerAdminApiQuestionPageGet) | **Get** /answer/admin/api/question/page | AdminQuestionPage admin question page [**AnswerAdminApiQuestionStatusPut**](AdminApi.md#AnswerAdminApiQuestionStatusPut) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus [**AnswerAdminApiReportPut**](AdminApi.md#AnswerAdminApiReportPut) | **Put** /answer/admin/api/report/ | handle flag [**AnswerAdminApiReportsPageGet**](AdminApi.md#AnswerAdminApiReportsPageGet) | **Get** /answer/admin/api/reports/page | list report page [**AnswerAdminApiRolesGet**](AdminApi.md#AnswerAdminApiRolesGet) | **Get** /answer/admin/api/roles | get role list [**AnswerAdminApiSettingPrivilegesGet**](AdminApi.md#AnswerAdminApiSettingPrivilegesGet) | **Get** /answer/admin/api/setting/privileges | GetPrivilegesConfig get privileges config [**AnswerAdminApiSettingPrivilegesPut**](AdminApi.md#AnswerAdminApiSettingPrivilegesPut) | **Put** /answer/admin/api/setting/privileges | update privileges config [**AnswerAdminApiSettingSmtpGet**](AdminApi.md#AnswerAdminApiSettingSmtpGet) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config [**AnswerAdminApiSettingSmtpPut**](AdminApi.md#AnswerAdminApiSettingSmtpPut) | **Put** /answer/admin/api/setting/smtp | update smtp config [**AnswerAdminApiSiteinfoBrandingGet**](AdminApi.md#AnswerAdminApiSiteinfoBrandingGet) | **Get** /answer/admin/api/siteinfo/branding | get site interface [**AnswerAdminApiSiteinfoBrandingPut**](AdminApi.md#AnswerAdminApiSiteinfoBrandingPut) | **Put** /answer/admin/api/siteinfo/branding | update site info branding [**AnswerAdminApiSiteinfoCustomCssHtmlGet**](AdminApi.md#AnswerAdminApiSiteinfoCustomCssHtmlGet) | **Get** /answer/admin/api/siteinfo/custom-css-html | get site info custom html css config [**AnswerAdminApiSiteinfoCustomCssHtmlPut**](AdminApi.md#AnswerAdminApiSiteinfoCustomCssHtmlPut) | **Put** /answer/admin/api/siteinfo/custom-css-html | update site custom css html config [**AnswerAdminApiSiteinfoGeneralGet**](AdminApi.md#AnswerAdminApiSiteinfoGeneralGet) | **Get** /answer/admin/api/siteinfo/general | get site general information [**AnswerAdminApiSiteinfoGeneralPut**](AdminApi.md#AnswerAdminApiSiteinfoGeneralPut) | **Put** /answer/admin/api/siteinfo/general | update site general information [**AnswerAdminApiSiteinfoInterfaceGet**](AdminApi.md#AnswerAdminApiSiteinfoInterfaceGet) | **Get** /answer/admin/api/siteinfo/interface | get site interface [**AnswerAdminApiSiteinfoInterfacePut**](AdminApi.md#AnswerAdminApiSiteinfoInterfacePut) | **Put** /answer/admin/api/siteinfo/interface | update site info interface [**AnswerAdminApiSiteinfoLegalGet**](AdminApi.md#AnswerAdminApiSiteinfoLegalGet) | **Get** /answer/admin/api/siteinfo/legal | Set the legal information for the site [**AnswerAdminApiSiteinfoLegalPut**](AdminApi.md#AnswerAdminApiSiteinfoLegalPut) | **Put** /answer/admin/api/siteinfo/legal | update site legal info [**AnswerAdminApiSiteinfoLoginGet**](AdminApi.md#AnswerAdminApiSiteinfoLoginGet) | **Get** /answer/admin/api/siteinfo/login | get site info login config [**AnswerAdminApiSiteinfoLoginPut**](AdminApi.md#AnswerAdminApiSiteinfoLoginPut) | **Put** /answer/admin/api/siteinfo/login | update site login [**AnswerAdminApiSiteinfoSeoGet**](AdminApi.md#AnswerAdminApiSiteinfoSeoGet) | **Get** /answer/admin/api/siteinfo/seo | get site seo information [**AnswerAdminApiSiteinfoSeoPut**](AdminApi.md#AnswerAdminApiSiteinfoSeoPut) | **Put** /answer/admin/api/siteinfo/seo | update site seo information [**AnswerAdminApiSiteinfoThemeGet**](AdminApi.md#AnswerAdminApiSiteinfoThemeGet) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config [**AnswerAdminApiSiteinfoThemePut**](AdminApi.md#AnswerAdminApiSiteinfoThemePut) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config [**AnswerAdminApiSiteinfoUsersGet**](AdminApi.md#AnswerAdminApiSiteinfoUsersGet) | **Get** /answer/admin/api/siteinfo/users | get site user config [**AnswerAdminApiSiteinfoUsersPut**](AdminApi.md#AnswerAdminApiSiteinfoUsersPut) | **Put** /answer/admin/api/siteinfo/users | update site info config about users [**AnswerAdminApiSiteinfoWriteGet**](AdminApi.md#AnswerAdminApiSiteinfoWriteGet) | **Get** /answer/admin/api/siteinfo/write | get site interface [**AnswerAdminApiSiteinfoWritePut**](AdminApi.md#AnswerAdminApiSiteinfoWritePut) | **Put** /answer/admin/api/siteinfo/write | update site write info [**AnswerAdminApiThemeOptionsGet**](AdminApi.md#AnswerAdminApiThemeOptionsGet) | **Get** /answer/admin/api/theme/options | Get theme options [**AnswerAdminApiUserActivationGet**](AdminApi.md#AnswerAdminApiUserActivationGet) | **Get** /answer/admin/api/user/activation | get user activation [**AnswerAdminApiUserPasswordPut**](AdminApi.md#AnswerAdminApiUserPasswordPut) | **Put** /answer/admin/api/user/password | update user password [**AnswerAdminApiUserPost**](AdminApi.md#AnswerAdminApiUserPost) | **Post** /answer/admin/api/user | add user [**AnswerAdminApiUserRolePut**](AdminApi.md#AnswerAdminApiUserRolePut) | **Put** /answer/admin/api/user/role | update user role [**AnswerAdminApiUserStatusPut**](AdminApi.md#AnswerAdminApiUserStatusPut) | **Put** /answer/admin/api/user/status | update user [**AnswerAdminApiUsersActivationPost**](AdminApi.md#AnswerAdminApiUsersActivationPost) | **Post** /answer/admin/api/users/activation | send user activation [**AnswerAdminApiUsersPageGet**](AdminApi.md#AnswerAdminApiUsersPageGet) | **Get** /answer/admin/api/users/page | get user page ## AnswerAdminApiAnswerPageGet > HandlerRespBody AnswerAdminApiAnswerPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).QuestionId(questionId).Execute() AdminAnswerPage admin answer 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) status := "status_example" // string | user status (optional) query := "query_example" // string | answer id or question title (optional) questionId := "questionId_example" // string | question id (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiAnswerPageGet(context.Background()).Page(page).PageSize(pageSize).Status(status).Query(query).QuestionId(questionId).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiAnswerPageGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiAnswerPageGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiAnswerPageGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiAnswerPageGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int32** | page size | **pageSize** | **int32** | page size | **status** | **string** | user status | **query** | **string** | answer id or question title | **questionId** | **string** | question id | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiAnswerStatusPut > HandlerRespBody AnswerAdminApiAnswerStatusPut(ctx).Data(data).Execute() AdminSetAnswerStatus ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaAdminSetAnswerStatusRequest() // SchemaAdminSetAnswerStatusRequest | AdminSetAnswerStatusRequest configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiAnswerStatusPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiAnswerStatusPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiAnswerStatusPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiAnswerStatusPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiAnswerStatusPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaAdminSetAnswerStatusRequest**](SchemaAdminSetAnswerStatusRequest.md) | AdminSetAnswerStatusRequest | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiDashboardGet > HandlerRespBody AnswerAdminApiDashboardGet(ctx).Execute() DashboardInfo ### 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.AdminApi.AnswerAdminApiDashboardGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiDashboardGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiDashboardGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiDashboardGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiDashboardGetRequest struct via the builder pattern ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiQuestionPageGet > HandlerRespBody AnswerAdminApiQuestionPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).Execute() AdminQuestionPage admin question 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) status := "status_example" // string | user status (optional) query := "query_example" // string | question id or title (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiQuestionPageGet(context.Background()).Page(page).PageSize(pageSize).Status(status).Query(query).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiQuestionPageGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiQuestionPageGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiQuestionPageGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiQuestionPageGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int32** | page size | **pageSize** | **int32** | page size | **status** | **string** | user status | **query** | **string** | question id or title | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiQuestionStatusPut > HandlerRespBody AnswerAdminApiQuestionStatusPut(ctx).Data(data).Execute() AdminSetQuestionStatus ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaAdminSetQuestionStatusRequest() // SchemaAdminSetQuestionStatusRequest | AdminSetQuestionStatusRequest configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiQuestionStatusPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiQuestionStatusPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiQuestionStatusPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiQuestionStatusPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiQuestionStatusPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaAdminSetQuestionStatusRequest**](SchemaAdminSetQuestionStatusRequest.md) | AdminSetQuestionStatusRequest | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiReportPut > HandlerRespBody AnswerAdminApiReportPut(ctx).Data(data).Execute() handle flag ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaReportHandleReq(int32(123), "Id_example") // SchemaReportHandleReq | flag configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiReportPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiReportPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiReportPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiReportPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiReportPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaReportHandleReq**](SchemaReportHandleReq.md) | flag | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiReportsPageGet > HandlerRespBody AnswerAdminApiReportsPageGet(ctx).Status(status).ObjectType(objectType).Page(page).PageSize(pageSize).Execute() list report page ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { status := "status_example" // string | status objectType := "objectType_example" // string | object_type page := int32(56) // int32 | page size (optional) pageSize := int32(56) // int32 | page size (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiReportsPageGet(context.Background()).Status(status).ObjectType(objectType).Page(page).PageSize(pageSize).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiReportsPageGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiReportsPageGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiReportsPageGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiReportsPageGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **status** | **string** | status | **objectType** | **string** | object_type | **page** | **int32** | page size | **pageSize** | **int32** | page size | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiRolesGet > AnswerAdminApiRolesGet200Response AnswerAdminApiRolesGet(ctx).Execute() get role 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.AdminApi.AnswerAdminApiRolesGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiRolesGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiRolesGet`: AnswerAdminApiRolesGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiRolesGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiRolesGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiRolesGet200Response**](AnswerAdminApiRolesGet200Response.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) ## AnswerAdminApiSettingPrivilegesGet > AnswerAdminApiSettingPrivilegesGet200Response AnswerAdminApiSettingPrivilegesGet(ctx).Execute() GetPrivilegesConfig get privileges config ### 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.AdminApi.AnswerAdminApiSettingPrivilegesGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingPrivilegesGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSettingPrivilegesGet`: AnswerAdminApiSettingPrivilegesGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingPrivilegesGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSettingPrivilegesGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSettingPrivilegesGet200Response**](AnswerAdminApiSettingPrivilegesGet200Response.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) ## AnswerAdminApiSettingPrivilegesPut > HandlerRespBody AnswerAdminApiSettingPrivilegesPut(ctx).Data(data).Execute() update privileges config ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdatePrivilegesConfigReq(openapiclient.schema.PrivilegeLevel(1)) // SchemaUpdatePrivilegesConfigReq | config configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSettingPrivilegesPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingPrivilegesPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSettingPrivilegesPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingPrivilegesPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSettingPrivilegesPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdatePrivilegesConfigReq**](SchemaUpdatePrivilegesConfigReq.md) | config | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSettingSmtpGet > AnswerAdminApiSettingSmtpGet200Response AnswerAdminApiSettingSmtpGet(ctx).Execute() GetSMTPConfig get smtp config ### 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.AdminApi.AnswerAdminApiSettingSmtpGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingSmtpGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSettingSmtpGet`: AnswerAdminApiSettingSmtpGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingSmtpGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSettingSmtpGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSettingSmtpGet200Response**](AnswerAdminApiSettingSmtpGet200Response.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) ## AnswerAdminApiSettingSmtpPut > HandlerRespBody AnswerAdminApiSettingSmtpPut(ctx).Data(data).Execute() update smtp config ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateSMTPConfigReq() // SchemaUpdateSMTPConfigReq | smtp config configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSettingSmtpPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingSmtpPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSettingSmtpPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingSmtpPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSettingSmtpPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateSMTPConfigReq**](SchemaUpdateSMTPConfigReq.md) | smtp config | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoBrandingGet > AnswerAdminApiSiteinfoBrandingGet200Response AnswerAdminApiSiteinfoBrandingGet(ctx).Execute() get site interface ### 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.AdminApi.AnswerAdminApiSiteinfoBrandingGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoBrandingGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoBrandingGet`: AnswerAdminApiSiteinfoBrandingGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoBrandingGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoBrandingGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoBrandingGet200Response**](AnswerAdminApiSiteinfoBrandingGet200Response.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) ## AnswerAdminApiSiteinfoBrandingPut > HandlerRespBody AnswerAdminApiSiteinfoBrandingPut(ctx).Data(data).Execute() update site info branding ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteBrandingReq() // SchemaSiteBrandingReq | branding info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoBrandingPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoBrandingPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoBrandingPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoBrandingPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoBrandingPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteBrandingReq**](SchemaSiteBrandingReq.md) | branding info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoCustomCssHtmlGet > AnswerAdminApiSiteinfoCustomCssHtmlGet200Response AnswerAdminApiSiteinfoCustomCssHtmlGet(ctx).Execute() get site info custom html css config ### 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.AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoCustomCssHtmlGet`: AnswerAdminApiSiteinfoCustomCssHtmlGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoCustomCssHtmlGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoCustomCssHtmlGet200Response**](AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.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) ## AnswerAdminApiSiteinfoCustomCssHtmlPut > HandlerRespBody AnswerAdminApiSiteinfoCustomCssHtmlPut(ctx).Data(data).Execute() update site custom css html config ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteCustomCssHTMLReq() // SchemaSiteCustomCssHTMLReq | login info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoCustomCssHtmlPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoCustomCssHtmlPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteCustomCssHTMLReq**](SchemaSiteCustomCssHTMLReq.md) | login info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoGeneralGet > AnswerAdminApiSiteinfoGeneralGet200Response AnswerAdminApiSiteinfoGeneralGet(ctx).Execute() get site general information ### 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.AdminApi.AnswerAdminApiSiteinfoGeneralGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoGeneralGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoGeneralGet`: AnswerAdminApiSiteinfoGeneralGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoGeneralGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoGeneralGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoGeneralGet200Response**](AnswerAdminApiSiteinfoGeneralGet200Response.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) ## AnswerAdminApiSiteinfoGeneralPut > HandlerRespBody AnswerAdminApiSiteinfoGeneralPut(ctx).Data(data).Execute() update site general information ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteGeneralReq("ContactEmail_example", "Name_example", "SiteUrl_example") // SchemaSiteGeneralReq | general configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoGeneralPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoGeneralPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoGeneralPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoGeneralPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoGeneralPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteGeneralReq**](SchemaSiteGeneralReq.md) | general | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoInterfaceGet > AnswerAdminApiSiteinfoInterfaceGet200Response AnswerAdminApiSiteinfoInterfaceGet(ctx).Execute() get site interface ### 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.AdminApi.AnswerAdminApiSiteinfoInterfaceGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoInterfaceGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoInterfaceGet`: AnswerAdminApiSiteinfoInterfaceGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoInterfaceGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoInterfaceGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoInterfaceGet200Response**](AnswerAdminApiSiteinfoInterfaceGet200Response.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) ## AnswerAdminApiSiteinfoInterfacePut > HandlerRespBody AnswerAdminApiSiteinfoInterfacePut(ctx).Data(data).Execute() update site info interface ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteInterfaceReq("Language_example", "TimeZone_example") // SchemaSiteInterfaceReq | general configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoInterfacePut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoInterfacePut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoInterfacePut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoInterfacePut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoInterfacePutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteInterfaceReq**](SchemaSiteInterfaceReq.md) | general | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoLegalGet > AnswerAdminApiSiteinfoLegalGet200Response AnswerAdminApiSiteinfoLegalGet(ctx).Execute() Set the legal information for the site ### 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.AdminApi.AnswerAdminApiSiteinfoLegalGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoLegalGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoLegalGet`: AnswerAdminApiSiteinfoLegalGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoLegalGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoLegalGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoLegalGet200Response**](AnswerAdminApiSiteinfoLegalGet200Response.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) ## AnswerAdminApiSiteinfoLegalPut > HandlerRespBody AnswerAdminApiSiteinfoLegalPut(ctx).Data(data).Execute() update site legal info ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteLegalReq() // SchemaSiteLegalReq | write info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLegalPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoLegalPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoLegalPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoLegalPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoLegalPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteLegalReq**](SchemaSiteLegalReq.md) | write info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoLoginGet > AnswerAdminApiSiteinfoLoginGet200Response AnswerAdminApiSiteinfoLoginGet(ctx).Execute() get site info login config ### 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.AdminApi.AnswerAdminApiSiteinfoLoginGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoLoginGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoLoginGet`: AnswerAdminApiSiteinfoLoginGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoLoginGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoLoginGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoLoginGet200Response**](AnswerAdminApiSiteinfoLoginGet200Response.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) ## AnswerAdminApiSiteinfoLoginPut > HandlerRespBody AnswerAdminApiSiteinfoLoginPut(ctx).Data(data).Execute() update site login ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteLoginReq() // SchemaSiteLoginReq | login info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLoginPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoLoginPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoLoginPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoLoginPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoLoginPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteLoginReq**](SchemaSiteLoginReq.md) | login info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoSeoGet > AnswerAdminApiSiteinfoSeoGet200Response AnswerAdminApiSiteinfoSeoGet(ctx).Execute() get site seo information ### 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.AdminApi.AnswerAdminApiSiteinfoSeoGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoSeoGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoSeoGet`: AnswerAdminApiSiteinfoSeoGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoSeoGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoSeoGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoSeoGet200Response**](AnswerAdminApiSiteinfoSeoGet200Response.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) ## AnswerAdminApiSiteinfoSeoPut > HandlerRespBody AnswerAdminApiSiteinfoSeoPut(ctx).Data(data).Execute() update site seo information ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteSeoReq(int32(123), "Robots_example") // SchemaSiteSeoReq | seo configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoSeoPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoSeoPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoSeoPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoSeoPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoSeoPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteSeoReq**](SchemaSiteSeoReq.md) | seo | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoThemeGet > AnswerAdminApiSiteinfoThemeGet200Response AnswerAdminApiSiteinfoThemeGet(ctx).Execute() get site info theme config ### 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.AdminApi.AnswerAdminApiSiteinfoThemeGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoThemeGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoThemeGet`: AnswerAdminApiSiteinfoThemeGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoThemeGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoThemeGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoThemeGet200Response**](AnswerAdminApiSiteinfoThemeGet200Response.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) ## AnswerAdminApiSiteinfoThemePut > HandlerRespBody AnswerAdminApiSiteinfoThemePut(ctx).Data(data).Execute() update site custom css html config ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteThemeReq("Theme_example") // SchemaSiteThemeReq | login info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoThemePut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoThemePut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoThemePut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoThemePut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoThemePutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteThemeReq**](SchemaSiteThemeReq.md) | login info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoUsersGet > AnswerAdminApiSiteinfoUsersGet200Response AnswerAdminApiSiteinfoUsersGet(ctx).Execute() get site user config ### 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.AdminApi.AnswerAdminApiSiteinfoUsersGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoUsersGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoUsersGet`: AnswerAdminApiSiteinfoUsersGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoUsersGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoUsersGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoUsersGet200Response**](AnswerAdminApiSiteinfoUsersGet200Response.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) ## AnswerAdminApiSiteinfoUsersPut > HandlerRespBody AnswerAdminApiSiteinfoUsersPut(ctx).Data(data).Execute() update site info config about users ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteUsersReq("DefaultAvatar_example") // SchemaSiteUsersReq | users info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoUsersPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoUsersPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoUsersPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoUsersPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoUsersPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteUsersReq**](SchemaSiteUsersReq.md) | users info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiSiteinfoWriteGet > AnswerAdminApiSiteinfoWriteGet200Response AnswerAdminApiSiteinfoWriteGet(ctx).Execute() get site interface ### 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.AdminApi.AnswerAdminApiSiteinfoWriteGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoWriteGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoWriteGet`: AnswerAdminApiSiteinfoWriteGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoWriteGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoWriteGetRequest struct via the builder pattern ### Return type [**AnswerAdminApiSiteinfoWriteGet200Response**](AnswerAdminApiSiteinfoWriteGet200Response.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) ## AnswerAdminApiSiteinfoWritePut > HandlerRespBody AnswerAdminApiSiteinfoWritePut(ctx).Data(data).Execute() update site write info ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSiteWriteReq() // SchemaSiteWriteReq | write info configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoWritePut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoWritePut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiSiteinfoWritePut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoWritePut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoWritePutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSiteWriteReq**](SchemaSiteWriteReq.md) | write info | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiThemeOptionsGet > HandlerRespBody AnswerAdminApiThemeOptionsGet(ctx).Execute() Get theme options ### 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.AdminApi.AnswerAdminApiThemeOptionsGet(context.Background()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiThemeOptionsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiThemeOptionsGet`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiThemeOptionsGet`: %v\n", resp) } ``` ### Path Parameters This endpoint does not need any parameter. ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiThemeOptionsGetRequest struct via the builder pattern ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiUserActivationGet > AnswerAdminApiUserActivationGet200Response AnswerAdminApiUserActivationGet(ctx).UserId(userId).Execute() get user activation ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { userId := "userId_example" // string | user id configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUserActivationGet(context.Background()).UserId(userId).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserActivationGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUserActivationGet`: AnswerAdminApiUserActivationGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserActivationGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUserActivationGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | **string** | user id | ### Return type [**AnswerAdminApiUserActivationGet200Response**](AnswerAdminApiUserActivationGet200Response.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) ## AnswerAdminApiUserPasswordPut > HandlerRespBody AnswerAdminApiUserPasswordPut(ctx).Data(data).Execute() update user password ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateUserPasswordReq("Password_example", "UserId_example") // SchemaUpdateUserPasswordReq | user configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUserPasswordPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserPasswordPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUserPasswordPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserPasswordPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUserPasswordPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateUserPasswordReq**](SchemaUpdateUserPasswordReq.md) | user | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiUserPost > HandlerRespBody AnswerAdminApiUserPost(ctx).Data(data).Execute() add user ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaAddUserReq("DisplayName_example", "Email_example", "Password_example") // SchemaAddUserReq | user configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUserPost(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUserPost`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserPost`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUserPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaAddUserReq**](SchemaAddUserReq.md) | user | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiUserRolePut > HandlerRespBody AnswerAdminApiUserRolePut(ctx).Data(data).Execute() update user role ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateUserRoleReq(int32(123), "UserId_example") // SchemaUpdateUserRoleReq | user configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUserRolePut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserRolePut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUserRolePut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserRolePut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUserRolePutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateUserRoleReq**](SchemaUpdateUserRoleReq.md) | user | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiUserStatusPut > HandlerRespBody AnswerAdminApiUserStatusPut(ctx).Data(data).Execute() update user ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaUpdateUserStatusReq("Status_example", "UserId_example") // SchemaUpdateUserStatusReq | user configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUserStatusPut(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserStatusPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUserStatusPut`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserStatusPut`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUserStatusPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaUpdateUserStatusReq**](SchemaUpdateUserStatusReq.md) | user | ### Return type [**HandlerRespBody**](HandlerRespBody.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### 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) ## AnswerAdminApiUsersActivationPost > HandlerRespBody AnswerAdminApiUsersActivationPost(ctx).Data(data).Execute() send user activation ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID" ) func main() { data := *openapiclient.NewSchemaSendUserActivationReq("UserId_example") // SchemaSendUserActivationReq | SendUserActivationReq configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUsersActivationPost(context.Background()).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUsersActivationPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUsersActivationPost`: HandlerRespBody fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUsersActivationPost`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUsersActivationPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data** | [**SchemaSendUserActivationReq**](SchemaSendUserActivationReq.md) | SendUserActivationReq | ### Return type [**HandlerRespBody**](HandlerRespBody.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) ## AnswerAdminApiUsersPageGet > AnswerAdminApiUsersPageGet200Response AnswerAdminApiUsersPageGet(ctx).Page(page).PageSize(pageSize).Query(query).Staff(staff).Status(status).Execute() get user 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) query := "query_example" // string | search query: email, username or id:[id] (optional) staff := true // bool | staff user (optional) status := "status_example" // string | user status (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.AdminApi.AnswerAdminApiUsersPageGet(context.Background()).Page(page).PageSize(pageSize).Query(query).Staff(staff).Status(status).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUsersPageGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `AnswerAdminApiUsersPageGet`: AnswerAdminApiUsersPageGet200Response fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUsersPageGet`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiAnswerAdminApiUsersPageGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int32** | page size | **pageSize** | **int32** | page size | **query** | **string** | search query: email, username or id:[id] | **staff** | **bool** | staff user | **status** | **string** | user status | ### Return type [**AnswerAdminApiUsersPageGet200Response**](AnswerAdminApiUsersPageGet200Response.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)