Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 43.3 KB

create-or-update-translations.api.mdx

File metadata and controls

71 lines (54 loc) · 43.3 KB
id title description sidebar_label hide_title hide_table_of_contents api sidebar_class_name info_path custom_edit_url
create-or-update-translations
Create key or update translations
Sets translations for existing key or creates new key and sets the translations to it.
Create key or update translations
true
true
eJztXM1yHDeSfhUIl52JaFGy5NhDXzakEe2lLVtakRrNrqTAoKuyu2FWAWUAxWabwQeZo19kLg6/10QmgCpUdVP02orYPcAHk0ThJ5FIfPmDL3TDvdw4vnzPL6zUrpFeGe34xwWvwVVWdfg3X/Jz8I75rAtbG8vgWjmv9IZdwp4ZyyoL0oNjGnbUJHXNHI3cwnS0N0z5E77gpgNLbWc1X/IwwSv7tqulh4lIC95JK1vwYFHeG65lC3zJO2t+gMqf1XzBFYraSb/lC27hx15ZqPnS2x4WXDaN2Z22nd//VTY98OVaNg4W3FVbaCVf3nC/73BCpT1swPIFXxvbSh+a/v1Lfnv7MUwLzj839R7HVEZ70B5/lV3XqIqkffSDQ63dZJOP4rznl7DnC+5nCo/LmxVuB7drUTdegcPxOGaU0Xmr9IbPT+lb2DNUC6rXgT84ML7gcC3brsE5dlvphRSXsBfeiNQV+O2CN1JverkBd2HegO8t7aXX6scezjy0Luk0SiOtlfsDYV4q55lZs2EylMrSdAeCnbAP+oM+WzNtPOusuVI11AtmdLNnranVWkGdD2I71TRsBUPfkw+aMcbyDb7noEkoPEmLGlZB9vu0+H8tOH//gYP+wBcfeA30Y20/8I/89nZBRu86WcH927jYAhu6437wEl7C/oT96d0WNAO8C3hrdd80rIa17BufjUiS9g7qP6NVTAx2XH4wWFnXCj/K5vXEdD8t5isazlrZdYgkSenMyw3qPVt0oqOboKPlB/5uKz2TQ0eo2RVe8AekucpRn2/k5S8/43Tdr/+Axvz6T9C//My2ptbGywcf+C3u73PIdYNGt7xTJr7glePLe+Tht3jUXnna6Tn4HAjfKb/9FvYvvAndpjhHDa4z2gXdP3n8GH/MtvYtyvE7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amsDetails 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 key or update translations"}

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

Sets translations for existing key or creates new key and sets the translations to it.

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

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

<RequestSchema title={"Body"} body={{"content":{"application/json":{"schema":{"required":["key","translations"],"type":"object","properties":{"key":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"languagesToReturn":{"uniqueItems":true,"type":"array","description":"List of languages to return translations for. \n\nIf not provided, only modified translation will be provided.\n ","example":["en","de","fr"],"items":{"type":"string","description":"List of languages to return translations for. \n\nIf not provided, only modified translation will be provided.\n ","example":"["en","de","fr"]"}},"namespace":{"type":"string","description":"The namespace of the key. (When empty or null default namespace will be used)"},"translations":{"type":"object","additionalProperties":{"type":"string","description":"Object mapping language tag to translation","example":"{"en":"What a translated value!","cs":"Jaká to přeložená hodnota!"}"},"description":"Object mapping language tag to translation","example":{"en":"What a translated value!","cs":"Jaká to přeložená hodnota!"}}},"title":"SetTranslationsWithKeyDto"}}},"required":true}}

<StatusCodes id={undefined} label={undefined} responses={{"200":{"description":"OK","content":{"application/json":{"schema":{"required":["keyId","keyIsPlural","keyName","translations"],"type":"object","properties":{"keyId":{"type":"integer","description":"Id of key record","format":"int64"},"keyIsPlural":{"type":"boolean"},"keyName":{"type":"string","description":"Name of key","example":"this_is_super_key"},"keyNamespace":{"type":"string","description":"The namespace of the key","example":"homepage"},"translations":{"type":"object","additionalProperties":{"required":["auto","id","outdated","state"],"type":"object","properties":{"auto":{"type":"boolean","description":"Was translated using Translation Memory or Machine translation service?"},"id":{"type":"integer","description":"Id of translation record","format":"int64"},"mtProvider":{"type":"string","description":"Which machine translation service was used to auto translate this","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"outdated":{"type":"boolean","description":"Whether base language translation was changed after this translation was updated"},"state":{"type":"string","description":"State of translation","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]},"text":{"type":"string","description":"Translation text"}},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}},"title":"TranslationModel"},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}}},"title":"SetTranslationsResponseModel"}}}},"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"}]}}}}}}