Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 41 KB

create-language.api.mdx

File metadata and controls

71 lines (54 loc) · 41 KB
id title description sidebar_label hide_title hide_table_of_contents api sidebar_class_name info_path custom_edit_url
create-language
Create language
Create language
Create language
true
true
eJztXM2S3LYRfhWalar81Kx2JbuS1NxklZTIdmxFXpcTqxQEQ/ZwoAUBGgBnd7Q1Z5/yDK7c8ha5JO/jR0i6AZAghyvZjpwTLtYOfhuN7q8bza98Wzre2HL9ovyEq6bnDdjy5arUHRjuhFZP63JdVga4gzigXJUdN7wFBwZn3paKt1Cuy87oV1C5p3W5KoXCBu525ao08HUvDNTl2pkeVqWtdtDycn1bukOHE4Vy0IApV+VWm5Y73/TrD8rj8aWfDtZ9qOsDzqm0cqAc/sm7ToqK5Dx/ZbXCtnHxcdsXXsJVqY1ohOLyU//T8QYPG6TQG5QeT2fw+E6AxWW2kjePW/1K4I+W33wCqnG7cv3gYlW2QsWfF8M61hmhmnJV1mArIzoUr1wP+i1wwQJwxYLb4ovLJ2e/9T/LVQk3vO0krvLdt9/847tvv/lneVwF/U52v3/xY7fHxQqhClCNFHY32fTRa6h2uONEUe96Z7cTtpCjNY37/+tv8O+/O6E4yoC38zaVd9w5MLjLX178ZfXyVz8rv7c0jjcFryptaqGawuniw0fPig9+U9SwFUrQ6FS0yp49+qo8olzCUUtc6bm3z/KInVNbpwbbaWW9LT24uMB/phJ99nG5+nFWveEW9SfQ4dQPMGmaN7rfRmsJXJ2o6ssduB2YQtgCZwxXVuhtEXw9VdGWS4snnjjMT+YTov5eADI6z0/pHj+pA/y/7fkPugaJ1nxclR8sGeyHvC6i0f8Ayx32RgyvcceD7lktamZ1C24nVMOujaYzUoChsDT0lavS977EC1Dw2ZZiT+oPtOxbrd9vfqpXUH2Lq/SK924HyuFRAH2Ld4LxqgJr2VabjahrUKH5Cg5Mace2ulc+7u25FDULfUlL8JikZ9bC4Kajk6zKDa9ZZaBGIbi05apst5yB4hsJ6S7adYyO4wegIOOgiitq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I5ustlxZOhBsYYeUvngeP+2VRrpaFjnalDiOclf7tj1A2iHzE6LOLiBuR8JHf6uxy+M7VeyudEdEQhv2Mh/TB5Y1jUyx99tnnl+htGA3Wt2UbiGv8mop8115WTUcnkKO220G95br0a6LNYrI3dSX/eTj8gada1Ebqq/4Q+F880uLw21vvpMfjMN533TkjqDWOxovBwPcfmnmD6A==
post api-method
api//tolgee-api

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; import ParamsDetails from "@theme/ParamsDetails"; import RequestSchema from "@theme/RequestSchema"; import StatusCodes from "@theme/StatusCodes"; import OperationTabs from "@theme/OperationTabs"; import TabItem from "@theme/TabItem"; import Heading from "@theme/Heading";

<Heading as={"h1"} className={"openapi__heading"} children={"Create language"}

<MethodEndpoint method={"post"} path={"/v2/projects/{projectId}/languages"} context={"endpoint"}

Create language

<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"} children={"Request"}

<ParamsDetails parameters={[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}]}

<RequestSchema title={"Body"} body={{"content":{"application/json":{"schema":{"required":["name","originalName","tag"],"type":"object","properties":{"flagEmoji":{"maxLength":20,"minLength":0,"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"},"name":{"maxLength":100,"minLength":0,"type":"string","description":"Language name in english","example":"Czech"},"originalName":{"maxLength":100,"minLength":0,"type":"string","description":"Language name in this language","example":"čeština"},"tag":{"maxLength":20,"minLength":0,"pattern":"^[^,]*$","type":"string","description":"Language tag according to BCP 47 definition","example":"cs-CZ"}},"title":"LanguageRequest"}}},"required":true}}

<StatusCodes id={undefined} label={undefined} responses={{"200":{"description":"OK","content":{"application/json":{"schema":{"required":["base","id","name","tag"],"type":"object","properties":{"base":{"type":"boolean","description":"Whether is base language of project","example":false},"flagEmoji":{"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"},"id":{"type":"integer","format":"int64"},"name":{"type":"string","description":"Language name in english","example":"Czech"},"originalName":{"type":"string","description":"Language name in this language","example":"čeština"},"tag":{"type":"string","description":"Language tag according to BCP 47 definition","example":"cs-CZ"}},"title":"LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}}}}