Bad Request
diff --git a/apiSpecGeneration/apiSpecs.json b/apiSpecGeneration/apiSpecs.json
index 66a9fa47..893b6d68 100644
--- a/apiSpecGeneration/apiSpecs.json
+++ b/apiSpecGeneration/apiSpecs.json
@@ -1 +1 @@
-{"openapi":"3.0.1","info":{"title":"Tolgee API","description":"Tolgee Platform REST API reference","version":"v1.0"},"externalDocs":{"description":"Tolgee documentation","url":"https://tolgee.io"},"servers":[{"url":"https://app.tolgee.io","description":"Generated server url"}],"tags":[{"name":"Localization keys","description":"Manipulates localization keys, their translations and metadata","x-order":3},{"name":"Big Meta","description":"Handles big meta (context) for translation keys. Tolgee automatically stores contextual data about keys to provide this information to Tolgee AI translator."},{"name":"Slack slack commands","description":"Processes Slack slash commands, enabling users to execute specific actions within Slack"},{"name":"Import Settings","description":"These endpoints enable you to store default settings for import. These settings are only used in the UI of Tolgee platform. It's also the default for stateful importing via `/v2/projects/{projectId}/import/*` API endpoints. The settings are stored per user and per project."},{"name":"Languages","description":"Languages","x-order":2},{"name":"Content Delivery","description":"Endpoints for Content Delivery management"},{"name":"Import","description":"These endpoints handle multi-step data import","x-order":5},{"name":"Order translation","description":"Order professional translation"},{"name":"Tasks","description":"Manipulates tasks"},{"name":"API keys","description":"Manage Project API keys"},{"name":"All localization keys","description":"All localization keys in the project"},{"name":"Slack events","description":"Listens for Slack events, such as button clicks, and processes them"},{"name":"User","description":"Manipulates currently authenticated user"},{"name":"Invitations","description":"These endpoints manage inviting new users to projects or organizations"},{"name":"Project Transferring","description":"These endpoints manage transferring projects to other organizations"},{"name":"Tags","description":"Manipulates key tags","x-order":6},{"name":"Namespaces","description":"Manipulates key namespaces","x-order":7},{"name":"Server Administration","description":"**Only for self-hosted instances** \n\nManagees global Tolgee Platform instance data e.g., user accounts and organizations."},{"name":"Slack user login","description":"Connects Slack account with user account in Tolgee"},{"name":"Translations","description":"Operations related to translations in project","x-order":4},{"name":"Scope Info","description":"Returns info about permission scopes"},{"name":"Translation Comments","description":"Operations related to translation comments"},{"name":"Projects","x-order":1},{"name":"Export","x-order":4}],"paths":{"/v2/user":{"get":{"tags":["User"],"summary":"Get user info","description":"Returns information about currently authenticated user.","operationId":"getInfo_2","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"put":{"tags":["User"],"summary":"Update user","description":"Updates current user's profile information.","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequestDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":2},"delete":{"tags":["User"],"summary":"Delete user","operationId":"delete","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6}},"/v2/user/password":{"put":{"tags":["User"],"summary":"Update password","description":"Updates current user's password. Invalidates all previous sessions upon success.","operationId":"updateUserPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePasswordRequestDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":3}},"/v2/user/mfa/totp":{"put":{"tags":["User Multi-Factor Authentication"],"summary":"Enable TOTP","description":"Enables TOTP-based two-factor authentication. Invalidates all previous sessions upon success.","operationId":"enableMfa","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTotpEnableRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"delete":{"tags":["User Multi-Factor Authentication"],"summary":"Disable TOTP","description":"Disables TOTP-based two-factor authentication. Invalidates all previous sessions upon success.","operationId":"disableMfa","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTotpDisableRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/mfa/recovery":{"put":{"tags":["User Multi-Factor Authentication"],"summary":"Regenerate Codes","description":"Regenerates multi-factor authentication recovery codes","operationId":"regenerateRecoveryCodes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMfaRecoveryRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/avatar":{"put":{"tags":["User"],"summary":"Upload avatar","operationId":"uploadAvatar","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":4},"delete":{"tags":["User"],"summary":"Delete avatar","operationId":"removeAvatar","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":5}},"/v2/user-preferences/set-preferred-organization/{organizationId}":{"put":{"tags":["User preferences"],"summary":"Set user preferred organization","operationId":"setPreferredOrganization","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user-preferences/set-language/{languageTag}":{"put":{"tags":["User preferences"],"summary":"Set user's UI language","operationId":"setLanguage","parameters":[{"name":"languageTag","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/steps/{step}/complete":{"put":{"tags":["Quick start"],"summary":"Complete guide step","description":"Marks guide step as completed","operationId":"completeGuideStep","parameters":[{"name":"step","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/set-open/{open}":{"put":{"tags":["Quick start"],"summary":"Set open state","description":"Sets open state of the quick start guide","operationId":"setOpenState","parameters":[{"name":"open","in":"path","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/set-finished/{finished}":{"put":{"tags":["Quick start"],"summary":"Set finished state","description":"Sets finished state of the quick start guide","operationId":"setFinishedState","parameters":[{"name":"finished","in":"path","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Get one project","operationId":"get_4","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Projects"],"summary":"Update project settings","operationId":"editProject","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}],"x-order":4},"delete":{"tags":["Projects"],"summary":"Delete project","operationId":"deleteProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/webhook-configs/{id}":{"get":{"tags":["Webhooks configuration"],"summary":"Get one webhook configuration","operationId":"get_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"put":{"tags":["Webhooks configuration"],"summary":"Update webhook configuration","operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"delete":{"tags":["Webhooks configuration"],"summary":"Delete webhook configuration","operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/users/{userId}/set-permissions":{"put":{"tags":["Advanced permissions"],"summary":"Set user's project permission","description":"Set user's granular (scope-based) direct project permission","operationId":"setUsersPermissions","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"scopes","in":"query","description":"Granted scopes","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":["translations.view","translations.edit"]},{"name":"languages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"translateLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"viewLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"stateChangeLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/users/{userId}/set-permissions/{permissionType}":{"put":{"tags":["Projects"],"summary":"Set direct permission to user","operationId":"setUsersPermissions_1","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"permissionType","in":"path","required":true,"schema":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}},{"name":"languages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"translateLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"viewLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"stateChangeLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/users/{userId}/set-by-organization":{"put":{"tags":["Projects"],"summary":"Remove direct project permission","description":"Removes user's direct project permission, explicitly set for the project. User will have now base permissions from organization or no permission if they're not organization member.","operationId":"setOrganizationBase","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/users/{userId}/revoke-access":{"put":{"tags":["Projects"],"summary":"Revoke project access","operationId":"revokePermission","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/reopen":{"put":{"tags":["Tasks"],"summary":"Reopen task","operationId":"reopenTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":8}},"/v2/projects/{projectId}/tasks/{taskNumber}/keys/{keyId}":{"put":{"tags":["Tasks"],"summary":"Update task key","description":"Mark key as done, which updates task progress.","operationId":"updateTaskKey","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeyRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/keys":{"get":{"tags":["Tasks"],"summary":"Get task keys","operationId":"getTaskKeys","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskKeysResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Tasks"],"summary":"Add or remove task keys","operationId":"updateTaskKeys","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/finish":{"put":{"tags":["Tasks"],"summary":"Finish task","operationId":"finishTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":6}},"/v2/projects/{projectId}/tasks/{taskNumber}/close":{"put":{"tags":["Tasks"],"summary":"Close task","operationId":"closeTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":7}},"/v2/projects/{projectId}/tasks/{taskNumber}":{"get":{"tags":["Tasks"],"summary":"Get task","operationId":"getTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"put":{"tags":["Tasks"],"summary":"Update task","operationId":"updateTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/per-language-auto-translation-settings":{"get":{"tags":["Auto-translation Settings"],"summary":"Get per-language auto-translation settings","operationId":"getPerLanguageAutoTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelAutoTranslationConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Auto-translation Settings"],"summary":"Set per-language auto-translation settings","operationId":"setPerLanguageAutoTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AutoTranslationSettingsDto"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelAutoTranslationConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/namespaces/{id}":{"put":{"tags":["Namespaces"],"summary":"Update namespace","operationId":"update_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNamespaceDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4}},"/v2/projects/{projectId}/machine-translation-service-settings":{"get":{"tags":["Machine Translation Settings"],"summary":"Get machine translation settings","operationId":"getMachineTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageConfigItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Machine Translation Settings"],"summary":"Sets machine translation settings","operationId":"setMachineTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetMachineTranslationSettingsDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageConfigItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/disabled-languages":{"get":{"tags":["Localization keys"],"summary":"Get disabled languages","description":"Returns languages, in which key is disabled","operationId":"getDisabledLanguages","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Localization keys"],"summary":"Set disabled languages","description":"Sets languages, in which key is disabled","operationId":"setDisabledLanguages","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetDisabledLanguagesRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/complex-update":{"put":{"tags":["Localization keys"],"summary":"Edit key and related data","description":"Edits key name, translations, tags, screenshots, and other data","operationId":"complexEdit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexEditKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}":{"get":{"tags":["Localization keys"],"summary":"Get one key","operationId":"get_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Localization keys"],"summary":"Edit key name","operationId":"edit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4}},"/v2/projects/{projectId}/invite":{"put":{"tags":["Invitations"],"summary":"Generate user invitation link for project","operationId":"inviteUser","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInviteUserDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/content-storages/{contentStorageId}":{"get":{"tags":["Content Storages"],"summary":"Get Content Storage","operationId":"get_8","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"put":{"tags":["Content Storages"],"summary":"Update Content Storage","operationId":"update_3","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"delete":{"tags":["Content Storages"],"summary":"Delete Content Storage","operationId":"delete_6","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-delivery-configs/{id}":{"get":{"tags":["Content Delivery"],"summary":"Get one Content Delivery Config","operationId":"get_9","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Content Delivery"],"summary":"Update Content Delivery Config","operationId":"update_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Content Delivery"],"summary":"Publish to Content Delivery","description":"Immediately publishes content to the configured Content Delivery","operationId":"post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Content Delivery"],"summary":"Delete Content Delivery Config","operationId":"delete_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tag-complex":{"put":{"tags":["Tags"],"summary":"Execute complex tag operation","operationId":"executeComplexTagOperation","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexTagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{keyId}/tags":{"put":{"tags":["Tags"],"summary":"Tag key","description":"Tags a key with tag. If tag with provided name doesn't exist, it is created","operationId":"tagKey","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations/{translationId}/resolve/set-override":{"put":{"tags":["Import"],"summary":"Resolve conflict (override)","description":"Resolves translation conflict. The old translation will be overridden.","operationId":"resolveTranslationSetOverride","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations/{translationId}/resolve/set-keep-existing":{"put":{"tags":["Import"],"summary":"Resolve conflict (keep existing)","description":"Resolves translation conflict. The old translation will be kept.","operationId":"resolveTranslationSetKeepExisting","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/resolve-all/set-override":{"put":{"tags":["Import"],"summary":"Resolve all translation conflicts (override)","description":"Resolves all translation conflicts for provided language. The old translations will be overridden.","operationId":"resolveTranslationSetOverride_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/resolve-all/set-keep-existing":{"put":{"tags":["Import"],"summary":"Resolve all translation conflicts (keep existing)","description":"Resolves all translation conflicts for provided language. The old translations will be kept.","operationId":"resolveTranslationSetKeepExisting_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{importLanguageId}/select-existing/{existingLanguageId}":{"put":{"tags":["Import"],"summary":"Pair existing language","description":"Sets existing language to pair with language to import. Data will be imported to selected existing language when applied.","operationId":"selectExistingLanguage","parameters":[{"name":"importLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"existingLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{importLanguageId}/reset-existing":{"put":{"tags":["Import"],"summary":"Reset existing language pairing","description":"Resets existing language paired with language to import.","operationId":"resetExistingLanguage","parameters":[{"name":"importLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/files/{fileId}/select-namespace":{"put":{"tags":["Import"],"summary":"Select namespace","description":"Sets namespace for file to import.","operationId":"selectNamespace","parameters":[{"name":"fileId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetFileNamespaceRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/apply":{"put":{"tags":["Import"],"summary":"Apply import","description":"Imports the data prepared in previous step","operationId":"applyImport","parameters":[{"name":"forceMode","in":"query","description":"Whether override or keep all translations with unresolved conflicts","required":false,"schema":{"type":"string","enum":["OVERRIDE","KEEP","NO_FORCE"],"default":"NO_FORCE"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/import-settings":{"get":{"tags":["Import Settings"],"summary":"Get Import Settings","description":"Returns import settings for the authenticated user and the project.","operationId":"get_10","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Import Settings"],"summary":"Set Import Settings","description":"Stores import settings for the authenticated user and the project.","operationId":"store","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs/{id}/cancel":{"put":{"tags":["Batch Operations"],"summary":"Stop batch operation","description":"Stops batch operation if possible.","operationId":"cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/set-state/{state}":{"put":{"tags":["Translations"],"summary":"Set translation state","operationId":"setTranslationState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"string","enum":["TRANSLATED","REVIEWED"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments/{commentId}/set-state/{state}":{"put":{"tags":["Translation Comments"],"summary":"Set state of translation comment","operationId":"setState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments/{commentId}":{"get":{"tags":["Translation Comments"],"summary":"Get one translation comment","operationId":"get_14","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Translation Comments"],"summary":"Update translation comment","operationId":"update_5","parameters":[{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Translation Comments"],"summary":"Delete translation comment","operationId":"delete_8","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/set-outdated-flag/{state}":{"put":{"tags":["Translations"],"summary":"Set outdated value","description":"Set's \"outdated\" flag indicating the base translation was changed without updating current translation.","operationId":"setOutdated","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/dismiss-auto-translated-state":{"put":{"tags":["Translations"],"summary":"Dismiss auto-translated","description":"Removes \"auto translated\" indication","operationId":"dismissAutoTranslatedState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations":{"get":{"tags":["Translations"],"summary":"Get translations in project","operationId":"getTranslations","parameters":[{"name":"cursor","in":"query","description":"Cursor to get next data","required":false,"schema":{"type":"string"}},{"name":"filterState","in":"query","description":"Translation state in the format: languageTag,state. You can use this parameter multiple times.\n\nWhen used with multiple states for same language it is applied with logical OR. \n \nWhen used with multiple languages, it is applied with logical AND.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"languages","in":"query","description":"Languages to be contained in response.\n \nTo add multiple languages, repeat this param (eg. ?languages=en&languages=de)","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"search","in":"query","description":"String to search in key name or translation text","required":false,"schema":{"type":"string"}},{"name":"filterKeyName","in":"query","description":"Selects key with provided names. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyId","in":"query","description":"Selects key with provided ID. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterUntranslatedAny","in":"query","description":"Selects only keys for which the translation is missing in any returned language. It only filters for translations included in returned languages.","required":false,"schema":{"type":"boolean"}},{"name":"filterTranslatedAny","in":"query","description":"Selects only keys, where translation is provided in any language","required":false,"schema":{"type":"boolean"}},{"name":"filterUntranslatedInLang","in":"query","description":"Selects only keys where the translation is missing for the specified language. The specified language must be included in the returned languages. Otherwise, this filter doesn't apply.","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterTranslatedInLang","in":"query","description":"Selects only keys, where translation is provided in specified language","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterHasScreenshot","in":"query","description":"Selects only keys with screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterHasNoScreenshot","in":"query","description":"Selects only keys without screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterNamespace","in":"query","description":"Filter namespaces. \n\nTo filter default namespace, set to empty string.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTag","in":"query","description":"Selects only keys with provided tag","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterNotOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is not in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterRevisionId","in":"query","description":"Selects only key affected by activity with specidfied revision ID","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":1234567},{"name":"filterFailedKeysOfJob","in":"query","description":"Select only keys which were not successfully translated by batch job with provided id","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterTaskNumber","in":"query","description":"Select only keys which are in specified task","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeysWithTranslationsPageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5},"put":{"tags":["Translations"],"summary":"Update translations for existing key","description":"Sets translations for existing key","operationId":"setTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsWithKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsResponseModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"post":{"tags":["Translations"],"summary":"Create key or update translations","description":"Sets translations for existing key or creates new key and sets the translations to it.","operationId":"createOrUpdateTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsWithKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsResponseModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/transfer-to-organization/{organizationId}":{"put":{"tags":["Project Transferring"],"summary":"Transfer project","description":"Transfers project's ownership to organization","operationId":"transferProjectToOrganization","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/leave":{"put":{"tags":["Projects"],"summary":"Leave project","operationId":"leaveProject","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/languages/{languageId}":{"get":{"tags":["Languages"],"summary":"Get one language","operationId":"get_16","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Languages"],"summary":"Update language","operationId":"editLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"delete":{"tags":["Languages"],"summary":"Delete specific language","operationId":"deleteLanguage_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/languages/{languageId}/ai-prompt-customization":{"put":{"tags":["AI Customization"],"summary":"Sets language level prompt customization","operationId":"setLanguagePromptCustomization","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLanguagePromptCustomizationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/keys/{keyId}/auto-translate":{"put":{"tags":["Auto Translation"],"summary":"Auto translates keys","description":"Uses enabled auto-translation methods.\nYou need to set at least one of useMachineTranslation or useTranslationMemory to true.\n\nThis will replace the the existing translation with the result obtained from specified source!\n ","operationId":"autoTranslate","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"languages","in":"query","description":"Tags of languages to auto-translate. \nWhen no languages provided, it translates only untranslated languages.","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}}},{"name":"useMachineTranslation","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"useTranslationMemory","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/avatar":{"put":{"tags":["Projects"],"summary":"Upload project avatar","operationId":"uploadAvatar_1","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Projects"],"summary":"Delete project avatar","operationId":"removeAvatar_1","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/ai-prompt-customization":{"get":{"tags":["AI Customization"],"summary":"Returns project level prompt customization","operationId":"getPromptProjectCustomization","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true},"put":{"tags":["AI Customization"],"summary":"Sets project level prompt customization","operationId":"setPromptProjectCustomization","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetProjectPromptCustomizationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/pats/{id}":{"get":{"tags":["Personal Access Tokens"],"summary":"Get one PAK","operationId":"get_18","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"put":{"tags":["Personal Access Tokens"],"summary":"Update PAK","description":"Updates Personal Access Token","operationId":"update_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePatDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]},"delete":{"tags":["Personal Access Tokens"],"summary":"Delete PAK","description":"Deletes Personal Access Token","operationId":"delete_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/pats/{id}/regenerate":{"put":{"tags":["Personal Access Tokens"],"summary":"Regenerate PAK","description":"Regenerates Personal Access Token. It generates new token value and updates its time of expiration.","operationId":"regenerate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegeneratePatDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/users/{userId}/set-role":{"put":{"tags":["Organizations"],"summary":"Set user role","description":"Sets user role in organization. Owner or Member.","operationId":"setUserRole","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetOrganizationRoleDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/sso":{"get":{"tags":["sso-provider-controller"],"operationId":"findProvider","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoTenantModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]},"put":{"tags":["sso-provider-controller"],"operationId":"setProvider","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProviderRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoTenantModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/set-base-permissions":{"put":{"tags":["Advanced permissions"],"summary":"Set organization base permission","description":"Set default granular (scope-based) permissions for organization users, who don't have direct project permissions set.","operationId":"setBasePermissions","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"scopes","in":"query","description":"Granted scopes to all projects for all organization users without direct project permissions set.","required":true,"schema":{"type":"array","items":{"type":"string"}},"example":["translations.view","translations.edit"]}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/organizations/{organizationId}/set-base-permissions/{permissionType}":{"put":{"tags":["Organizations"],"summary":"Set organization base permission","description":"Sets default (level-based) permission for organization","operationId":"setBasePermissions_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"permissionType","in":"path","required":true,"schema":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/cancel-subscription":{"put":{"tags":["Cloud Billing"],"summary":"Cancel subscription","description":"When applied, current subscription will be cancelled at the period end.","operationId":"cancelSubscription","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{id}":{"get":{"tags":["Organizations"],"summary":"Get one organization","operationId":"get_20","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Organizations"],"summary":"Update organization data","operationId":"update_8","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":5},"delete":{"tags":["Organizations"],"summary":"Delete organization","description":"Deletes organization and all its data including projects","operationId":"delete_11","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6}},"/v2/organizations/{id}/leave":{"put":{"tags":["Organizations"],"summary":"Leave organization","description":"Remove current user from organization","operationId":"leaveOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/invite":{"put":{"tags":["Invitations"],"summary":"Generate invitation link for organization","description":"Generates invitation link for organization, so users can join organization. The invitation can also be sent to an e-mail address.","operationId":"inviteUser_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInviteUserDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/avatar":{"put":{"tags":["Organizations"],"summary":"Upload organizations avatar","operationId":"uploadAvatar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"delete":{"tags":["Organizations"],"summary":"Delete organization avatar","operationId":"removeAvatar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/ee-license/set-license-key":{"put":{"tags":["EE Licence"],"summary":"Sets the EE licence key","operationId":"setLicenseKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLicenseKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/ee-license/release-license-key":{"put":{"tags":["EE Licence"],"summary":"Remove the EE licence key","description":"This will remove the licence key from the instance.","operationId":"release","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/ee-license/refresh":{"put":{"tags":["EE Licence"],"summary":"Refresh the EE subscription","description":"This will refresh the subscription information from the license server and update the subscription info.","operationId":"refreshSubscription","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys/{apiKeyId}":{"put":{"tags":["API keys"],"summary":"Update API key","operationId":"update_9","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2EditApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6},"delete":{"tags":["API keys"],"summary":"Delete API key","operationId":"delete_13","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":7}},"/v2/api-keys/{apiKeyId}/regenerate":{"put":{"tags":["API keys"],"summary":"Regenerates API key. It generates new API key value and updates its time of expiration.","operationId":"regenerate_1","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/administration/users/{userId}/enable":{"put":{"tags":["Server Administration"],"summary":"Enable user","description":"Enables previously disabled user.","operationId":"enableUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/disable":{"put":{"tags":["Server Administration"],"summary":"Disable user","description":"Disables user account. User will not be able to log in, but their user data will be preserved, so you can enable the user later using the `enable` endpoint.","operationId":"disableUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/set-role/{role}":{"put":{"tags":["Server Administration"],"summary":"Set Role","description":"Set's the global role on the Tolgee Platform server.","operationId":"setRole","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"role","in":"path","required":true,"schema":{"type":"string","enum":["USER","ADMIN"]}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/user/send-email-verification":{"post":{"tags":["User"],"summary":"Resend email verification","description":"Resends email verification email to currently authenticated user.","operationId":"sendEmailVerification","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/generate-super-token":{"post":{"tags":["User"],"summary":"Get super JWT","description":"Generates new JWT token permitted to sensitive operations","operationId":"getSuperToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuperTokenRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slug/generate-organization":{"post":{"tags":["Slug generation"],"summary":"Generate organization slug","operationId":"generateOrganizationSlug","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSlugDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slack/user-login":{"post":{"tags":["Slack user login"],"summary":"User login","description":"Pairs user account with slack account.","operationId":"userLogin","parameters":[{"name":"data","in":"query","description":"The encrypted data about the desired connection between Slack account and Tolgee account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/public/slack":{"post":{"tags":["Slack slack commands"],"operationId":"slackCommand","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payload":{"$ref":"#/components/schemas/SlackCommandDto"},"body":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/slack/on-event":{"post":{"tags":["Slack events"],"summary":"On interactivity event","description":"This is triggered when interactivity event is triggered. E.g., when user clicks button provided in previous messages.","operationId":"onInteractivityEvent","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/slack/on-bot-event":{"post":{"tags":["Slack events"],"summary":"On bot event","description":"This is triggered when bot event is triggered. E.g., when app is uninstalled from workspace. \n\nHeads up! The events have to be configured via Slack App configuration in Event Subscription section.","operationId":"fetchBotEvent","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/projects":{"get":{"tags":["Projects"],"summary":"Get all permitted","description":"Returns all projects where current user has any permission","operationId":"getAll","parameters":[{"name":"filterId","in":"query","description":"Filter projects by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter projects without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Projects"],"summary":"Create project","description":"Creates a new project with languages and initial settings.","operationId":"createProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/webhook-configs":{"get":{"tags":["Webhooks configuration"],"summary":"List webhook configurations","operationId":"list","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelWebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"post":{"tags":["Webhooks configuration"],"summary":"Create new webhook configuration","operationId":"create","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/webhook-configs/{id}/test":{"post":{"tags":["Webhooks configuration"],"summary":"Test webhook configuration","description":"Sends a test request to the webhook","operationId":"test","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/tasks/create-multiple-tasks":{"post":{"tags":["Tasks"],"summary":"Create multiple tasks","operationId":"createTasks","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMultipleTasksRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/tasks/calculate-scope":{"post":{"tags":["Tasks"],"summary":"Calculate scope","operationId":"calculateScope","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateScopeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeysScopeView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks":{"get":{"tags":["Tasks"],"summary":"Get tasks","operationId":"getTasks_1","parameters":[{"name":"filterState","in":"query","description":"Filter tasks by state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterNotState","in":"query","description":"Filter tasks without state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterAssignee","in":"query","description":"Filter tasks by assignee","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterType","in":"query","description":"Filter tasks by type","required":false,"schema":{"type":"array","items":{"type":"string","enum":["TRANSLATE","REVIEW"]}}},{"name":"filterId","in":"query","description":"Filter tasks by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter tasks without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterProject","in":"query","description":"Filter tasks by project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotProject","in":"query","description":"Filter tasks without project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterLanguage","in":"query","description":"Filter tasks by language","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKey","in":"query","description":"Filter tasks by key","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter tasks by agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterDoneMinClosedAt","in":"query","description":"Exclude \"done\" tasks which are older than specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"post":{"tags":["Tasks"],"summary":"Create task","operationId":"createTask","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/info":{"post":{"tags":["Localization keys"],"summary":"Get key info","description":"Returns information about keys. (KeyData, Screenshots, Translation in specified language)If key is not found, it's not included in the response.","operationId":"getInfo","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetKeysRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/import-resolvable":{"post":{"tags":["Localization keys"],"summary":"Import keys (resolvable)","description":"Import's new keys with translations. Translations can be updated, when specified.","operationId":"importKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportKeysResolvableDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyImportResolvableResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/import":{"post":{"tags":["Localization keys"],"summary":"Import keys","description":"Imports new keys with translations. If key already exists, its translations and tags are not updated.","operationId":"importKeys_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportKeysDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys":{"get":{"tags":["Localization keys"],"summary":"Get all keys","operationId":"getAll_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Localization keys"],"summary":"Create new key","operationId":"create_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/KeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"delete":{"tags":["Localization keys"],"summary":"Delete one or multiple keys (post)","description":"Delete one or multiple keys by their IDs in request body. Useful for larger requests esxceeding allowed URL length.","operationId":"delete_4","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteKeysDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/content-storages":{"get":{"tags":["Content Storages"],"summary":"List Content Storages","operationId":"list_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"post":{"tags":["Content Storages"],"summary":"Create Content Storage","operationId":"create_5","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-storages/{id}/test":{"post":{"tags":["Content Storages"],"summary":"Test existing Content Storage","description":"Tests existing Content Storage with new configuration. (Uses existing secrets, if nulls provided)","operationId":"testExisting","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageTestResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-storages/test":{"post":{"tags":["Content Storages"],"summary":"Test Content Storage settings","operationId":"test_1","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageTestResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-delivery-configs":{"get":{"tags":["Content Delivery"],"summary":"List existing Content Delivery Configs","operationId":"list_2","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Content Delivery"],"summary":"Create Content Delivery Config","operationId":"create_6","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/billing/order-translation":{"post":{"tags":["Order translation"],"summary":"Create multiple tasks with assigned to an agency","operationId":"createTranslationOrder","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTranslationOrderRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/untag-keys":{"post":{"tags":["Batch Operations"],"summary":"Remove tags","operationId":"untagKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UntagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/tag-keys":{"post":{"tags":["Batch Operations"],"summary":"Add tags","operationId":"tagKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/set-translation-state":{"post":{"tags":["Batch Operations"],"summary":"Set translation state","operationId":"setTranslationState_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsStateStateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/set-keys-namespace":{"post":{"tags":["Batch Operations"],"summary":"Set keys namespace","operationId":"setKeysNamespace","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetKeysNamespaceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/pre-translate-by-tm":{"post":{"tags":["Batch Operations"],"summary":"Pre-translate by TM","description":"Pre-translate provided keys to provided languages by TM.","operationId":"translate_1","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreTranslationByTmRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/machine-translate":{"post":{"tags":["Batch Operations"],"summary":"Machine Translation","description":"Translate provided keys to provided languages through primary MT provider.","operationId":"machineTranslation","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MachineTranslationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/delete-keys":{"post":{"tags":["Batch Operations"],"summary":"Delete keys","operationId":"deleteKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/copy-translations":{"post":{"tags":["Batch Operations"],"summary":"Copy translation values","description":"Copy translation values from one language to other languages.","operationId":"copyTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyTranslationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/clear-translations":{"post":{"tags":["Batch Operations"],"summary":"Clear translation values","description":"Clear translation values for provided keys in selected languages.","operationId":"clearTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClearTranslationsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/single-step-import":{"post":{"tags":["Import"],"summary":"Single step import","description":"Unlike the /v2/projects/{projectId}/import endpoint, imports the data in single request by provided files and parameters. This is useful for automated importing via API or CLI.","operationId":"doImport","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["files","params"],"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"params":{"$ref":"#/components/schemas/SingleStepImportRequest"}}},"encoding":{"params":{"contentType":"application/json"}}}}},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/import":{"post":{"tags":["Import"],"summary":"Add files","description":"Prepares provided files to import.","operationId":"addFiles","parameters":[{"name":"structureDelimiter","in":"query","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","required":false,"schema":{"type":"string","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","example":"."},"example":"."},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["files"],"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportAddFilesResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"delete":{"tags":["Import"],"summary":"Delete","description":"Deletes prepared import data.","operationId":"cancelImport","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/export":{"get":{"tags":["Export"],"summary":"Export data","operationId":"exportData","parameters":[{"name":"languages","in":"query","description":"Languages to be contained in export.\n \nIf null, all languages are exported","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"format","in":"query","description":"Format to export to","required":false,"schema":{"type":"string","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]}},{"name":"structureDelimiter","in":"query","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter.","required":false,"schema":{"type":"string"}},{"name":"filterKeyId","in":"query","description":"Filter key IDs to be contained in export","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKeyIdNot","in":"query","description":"Filter key IDs not to be contained in export","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterTag","in":"query","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only.","required":false,"schema":{"type":"string"}},{"name":"filterTagIn","in":"query","description":"Filter keys tagged by one of provided tags","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTagNotIn","in":"query","description":"Filter keys not tagged by one of provided tags","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyPrefix","in":"query","description":"Filter keys with prefix","required":false,"schema":{"type":"string"}},{"name":"filterState","in":"query","description":"Filter translations with state. By default, all states except untranslated is exported.","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterNamespace","in":"query","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"zip","in":"query","description":"If false, it doesn't return zip of files, but it returns single file.\n \nThis is possible only when single language is exported. Otherwise it returns \"400 - Bad Request\" response.","required":false,"schema":{"type":"boolean"}},{"name":"messageFormat","in":"query","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","required":false,"schema":{"type":"string","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]}},{"name":"fileStructureTemplate","in":"query","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n","required":false,"schema":{"type":"string"}},{"name":"supportArrays","in":"query","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Export"],"summary":"Export data (post)","description":"Exports data (post). Useful when exceeding allowed URL size.","operationId":"exportPost","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportParams"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/big-meta":{"post":{"tags":["Big Meta"],"summary":"Store Big Meta","description":"Stores a bigMeta for a project","operationId":"store_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigMetaDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments":{"get":{"tags":["Translation Comments"],"summary":"Get translation comments","description":"Returns translation comments of translation","operationId":"getAll_5","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Translation Comments"],"summary":"Create translation comment","operationId":"create_7","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/create-comment":{"post":{"tags":["Translation Comments"],"summary":"Create translation comment","description":"Creates a translation comment. Empty translation is stored, when not exists.","operationId":"create_9","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentWithLangKeyDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TranslationWithCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/translation-memory":{"post":{"tags":["Translation suggestion"],"summary":"Get suggestions from translation memory","description":"Suggests machine translations from translation memory. The result is always sorted by similarity, so sorting is not supported.","operationId":"suggestTranslationMemory","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationMemoryItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/machine-translations-streaming":{"post":{"tags":["Translation suggestion"],"summary":"Get machine translation suggestions (streaming)","description":"Suggests machine translations from enabled services. The results are streamed to the output in ndjson format. If an error occurs when for any service provider used, the error information is returned as a part of the result item, while the response has 200 status code.","operationId":"suggestMachineTranslationsStreaming","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/x-ndjson":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/machine-translations":{"post":{"tags":["Translation suggestion"],"summary":"Get machine translation suggestions","description":"Suggests machine translations from enabled services","operationId":"suggestMachineTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/languages":{"get":{"tags":["Languages"],"summary":"Get all languages","operationId":"getAll_7","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["tag,ASC"]}},{"name":"filterId","in":"query","description":"Filter languages by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter languages without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Languages"],"summary":"Create language","operationId":"createLanguage","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/{keyId}/screenshots":{"get":{"tags":["Screenshots"],"summary":"Get screenshots","operationId":"getKeyScreenshots_1","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelScreenshotModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Screenshots"],"summary":"Upload screenshot","operationId":"uploadScreenshot_1","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["screenshot"],"type":"object","properties":{"screenshot":{"type":"string","format":"binary"},"info":{"$ref":"#/components/schemas/ScreenshotInfoDto"}}},"encoding":{"info":{"contentType":"application/json"}}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScreenshotModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/pats":{"get":{"tags":["Personal Access Tokens"],"summary":"Get PAKs","operationId":"getAll_9","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"post":{"tags":["Personal Access Tokens"],"summary":"Create PAK","operationId":"create_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePatDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RevealedPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations":{"get":{"tags":["Organizations"],"summary":"Get all permitted organizations","description":"Returns all organizations, which is current user allowed to view","operationId":"getAll_10","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"filterCurrentUserOwner","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"post":{"tags":["Organizations"],"summary":"Create organization","operationId":"create_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/organizations/{organizationId}/slack/connect":{"post":{"tags":["Organization Slack"],"summary":"Connect Slack workspace to organization","description":"This endpoint allows the owner of an organization to connect a Slack workspace to their organization.\nChecks if the Slack integration feature is enabled for the organization and proceeds with the connection.","operationId":"connectWorkspace","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectToSlackDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/subscriptions":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get self-hosted EE subscriptions","operationId":"getSelfHostedEeSubscriptions","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSelfHostedEeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/image-upload":{"post":{"tags":["Image upload"],"summary":"Upload an image for later use","operationId":"upload","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["image"],"type":"object","properties":{"image":{"type":"string","format":"binary"},"info":{"$ref":"#/components/schemas/ImageUploadInfoDto"}}},"encoding":{"info":{"contentType":"application/json"}}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UploadedImageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/ee-license/prepare-set-license-key":{"post":{"tags":["EE Licence"],"summary":"Get info before applying the license key","description":"Get info about the upcoming EE subscription. This will show, how much the subscription will cost when key is applied.","operationId":"prepareSetLicenseKey_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLicenseKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareSetEeLicenceKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys":{"get":{"tags":["API keys"],"summary":"Get all user's API keys","operationId":"allByUser","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"filterProjectId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":4},"post":{"tags":["API keys"],"summary":"Crete API key","description":"Creates new API key with provided scopes","operationId":"create_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":1}},"/v2/announcement/dismiss":{"post":{"tags":["New features announcements"],"summary":"Dismiss announcement","description":"Dismisses the latest announcement for the currently authenticated user","operationId":"dismiss","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/api/public/generatetoken":{"post":{"tags":["Authentication"],"summary":"Generate JWT token","operationId":"authenticateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/authorize_oauth/sso/authentication-url":{"post":{"tags":["Authentication"],"operationId":"getAuthenticationUrl","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoUrlResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/user/single-owned-organizations":{"get":{"tags":["User"],"summary":"Get all single owned organizations","description":"Returns all organizations owned only by current user","operationId":"getAllSingleOwnedOrganizations","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSimpleOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user-tasks":{"get":{"tags":["User tasks"],"summary":"Get user tasks","operationId":"getTasks","parameters":[{"name":"filterState","in":"query","description":"Filter tasks by state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterNotState","in":"query","description":"Filter tasks without state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterAssignee","in":"query","description":"Filter tasks by assignee","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterType","in":"query","description":"Filter tasks by type","required":false,"schema":{"type":"array","items":{"type":"string","enum":["TRANSLATE","REVIEW"]}}},{"name":"filterId","in":"query","description":"Filter tasks by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter tasks without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterProject","in":"query","description":"Filter tasks by project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotProject","in":"query","description":"Filter tasks without project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterLanguage","in":"query","description":"Filter tasks by language","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKey","in":"query","description":"Filter tasks by key","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter tasks by agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterDoneMinClosedAt","in":"query","description":"Exclude \"done\" tasks which are older than specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTaskWithProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/user-preferences":{"get":{"tags":["User preferences"],"summary":"Get user's preferences","operationId":"get","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slug/validate-organization/{slug}":{"get":{"tags":["Slug generation"],"summary":"Validate organization slug","operationId":"validateOrganizationSlug","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slack/user-login-info":{"get":{"tags":["Slack user login"],"summary":"Returns connection info","description":"Returns information about the connection between Slack account and Tolgee account which user is performing. The flow is the following. \n\n1. User executes slash command in Slack and gets link with encrypted Slack user ID, workspace ID and the Channel ID (to send success response to)\n\n2. User gets opens the link and the Tolgee Platform frontend and it uses this endpoint to get the data info about the future connection","operationId":"getInfo_3","parameters":[{"name":"data","in":"query","description":"The encrypted data","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackUserInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/public/scope-info/roles":{"get":{"tags":["Scope Info"],"summary":"Returns user roles and their scopes","operationId":"getRoles","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/scope-info/hierarchy":{"get":{"tags":["Scope Info"],"summary":"Returns hierarchy of scopes","operationId":"getHierarchy","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HierarchyItem"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/machine-translation-providers":{"get":{"tags":["Machine Translation Providers"],"summary":"Returns information about supported translation providers","description":"Get machine translation providers","operationId":"getInfo_4","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MachineTranslationProviderModel"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/export-info/formats":{"get":{"tags":["Export info"],"operationId":"get_2","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelExportFormatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/billing/plans":{"get":{"tags":["Cloud Billing"],"summary":"Get all public plans","operationId":"getPlans","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelCloudPlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/billing/mt-credit-prices":{"get":{"tags":["Cloud Billing"],"summary":"Get public MT credit prices","operationId":"getMtCreditPrices","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelMtCreditsPriceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"deprecated":true}},"/v2/projects/{projectId}/users":{"get":{"tags":["Projects"],"summary":"Get users with project access","description":"Returns all project users, who have permission to access project","operationId":"getAllUsers","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"filterId","in":"query","description":"Filter users by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter users without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter users from agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountInProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/used-namespaces":{"get":{"tags":["Namespaces"],"summary":"Get used namespaces","description":"Returns all used project namespaces. Response contains default (null) namespace if used.","operationId":"getUsedNamespaces","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelUsedNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/tasks/{taskNumber}/xlsx-report":{"get":{"tags":["Tasks"],"summary":"Get report in XLSX","description":"Detailed statistics about the task results","operationId":"getXlsxReport","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/per-user-report":{"get":{"tags":["Tasks"],"summary":"Get report","description":"Detailed statistics for every assignee","operationId":"getPerUserReport","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskPerUserReportModel"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/blocking-tasks":{"get":{"tags":["Tasks"],"summary":"Get blocking task numbers","description":"If the tasks is blocked by other tasks, it returns numbers of these tasks.","operationId":"getBlockingTasks","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/possible-assignees":{"get":{"tags":["Tasks"],"operationId":"getPossibleAssignees","parameters":[{"name":"filterId","in":"query","description":"Filter users by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterMinimalScope","in":"query","description":"Filter only users that have at least following scopes","required":false,"schema":{"type":"string"}},{"name":"filterViewLanguageId","in":"query","description":"Filter only users that can view language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterEditLanguageId","in":"query","description":"Filter only users that can edit language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterStateLanguageId","in":"query","description":"Filter only users that can edit state of language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelSimpleUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/namespaces":{"get":{"tags":["Namespaces"],"summary":"Get namespaces","operationId":"getAllNamespaces","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/namespace-by-name/{name}":{"get":{"tags":["Namespaces"],"summary":"Get namespace by name","description":"Returns information about a namespace by its name","operationId":"getByName","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/machine-translation-language-info":{"get":{"tags":["Machine Translation Settings"],"summary":"Machine translation info","description":"Get enabled services and configured formality for each language","operationId":"getMachineTranslationLanguageInfo","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/search":{"get":{"tags":["Localization keys"],"summary":"Search for keys","description":"This endpoint helps you to find desired key by keyName, base translation or translation in specified language.\n\nSort is ignored for this request.","operationId":"searchForKey","parameters":[{"name":"search","in":"query","description":"Search query","required":true,"schema":{"type":"string"}},{"name":"languageTag","in":"query","description":"Language to search in","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelKeySearchSearchResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/billing/order-translation/preferred-agency":{"get":{"tags":["Order translation"],"summary":"Get preferred agency","operationId":"getPreferredAgency","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferredAgencyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/all-keys":{"get":{"tags":["All localization keys"],"summary":"Get all keys in project","operationId":"getAllKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":0}},"/v2/projects/{projectId}/all-keys-with-disabled-languages":{"get":{"tags":["All localization keys"],"summary":"Get disabled languages for all keys in project","description":"Returns all project key with any disabled language.\n\nIf key has no disabled language, it is not returned.","operationId":"getDisabledLanguages_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyDisabledLanguagesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/activity/revisions/{revisionId}/modified-entities":{"get":{"tags":["Projects"],"summary":"Get modified entities in revision","operationId":"getModifiedEntitiesByRevision","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"revisionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"filterEntityClass","in":"query","description":"Filters results by specific entity class","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelModifiedEntityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}/activity/revisions/{revisionId}":{"get":{"tags":["Projects"],"summary":"Get one revision data","operationId":"getSingleRevision","parameters":[{"name":"revisionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectActivityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/activity":{"get":{"tags":["Projects"],"summary":"Get project activity","operationId":"getActivity","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectActivityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tags":{"get":{"tags":["Tags"],"summary":"Get tags","operationId":"getAll_3","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTagModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/my-batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"List user batch operations","description":"List all batch operations started by current user","operationId":"myList","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/machine-translation-credit-balance":{"get":{"tags":["Machine translation credits"],"summary":"Get credit balance for project","description":"Returns machine translation credit balance for specified project","operationId":"getProjectCredits","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalanceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/big-meta":{"get":{"tags":["Big Meta"],"summary":"Get Big Meta for key","operationId":"getBigMeta","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyWithBaseTranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations":{"get":{"tags":["Import"],"summary":"Get translations","description":"Returns translations prepared to import.","operationId":"getImportTranslations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"onlyConflicts","in":"query","description":"Whether only translations, which are in conflict with existing translations should be returned","required":false,"schema":{"type":"boolean","default":false}},{"name":"onlyUnresolved","in":"query","description":"Whether only translations with unresolved conflictswith existing translations should be returned","required":false,"schema":{"type":"boolean","default":false}},{"name":"search","in":"query","description":"String to search in translation text or key","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["keyName,ASC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportTranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}":{"get":{"tags":["Import"],"summary":"Get import language","description":"Returns language prepared to import.","operationId":"getImportLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Import"],"summary":"Delete language","description":"Deletes language prepared to import.","operationId":"deleteLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/files/{importFileId}/issues":{"get":{"tags":["Import"],"summary":"Get file issues","description":"Returns issues for uploaded file.","operationId":"getImportFileIssues","parameters":[{"name":"importFileId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportFileIssueModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result":{"get":{"tags":["Import"],"summary":"Get result","description":"Returns the result of preparation.","operationId":"getImportResult","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/all-namespaces":{"get":{"tags":["Import"],"summary":"Get namespaces","description":"Returns all existing and imported namespaces","operationId":"getAllNamespaces_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelImportNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/current-batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"Get all running and pending batch operations","description":"Returns all running and pending batch operations. Completed batch operations are returned only if they are not older than 1 hour. If user doesn't have permission to view all batch operations, only their operations are returned.","operationId":"currentJobs","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs/{id}":{"get":{"tags":["Batch Operations"],"summary":"Get batch operation","operationId":"get_12","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"List batch operations","operationId":"list_3","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/history":{"get":{"tags":["Translations"],"summary":"Get translation history","description":"Sorting is not supported for supported. It is automatically sorted from newest to oldest.","operationId":"getTranslationHistory","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["timestamp,DESC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationHistoryModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{languages}":{"get":{"tags":["Translations"],"summary":"Get all translations","description":"Returns all translations for specified languages","operationId":"getAllTranslations","parameters":[{"name":"languages","in":"path","description":"Comma-separated language tags to return translations in. Languages you are not permitted to see will be silently dropped and not returned.","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":["en","de","fr"]},{"name":"ns","in":"query","description":"Namespace to return","required":false,"schema":{"type":"string"}},{"name":"structureDelimiter","in":"query","description":"Delimiter to structure response content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": {\"title\": \"Hello\"}}} structure.\n\nWhen null, resulting file will be a flat key-value object.\n ","required":false,"schema":{"type":"string","default":"."}},{"name":"filterTag","in":"query","description":"Enables filtering of returned keys by their tags.\nOnly keys with at least one provided tag will be returned.\nOptional, filtering is not applied if not specified.","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":["productionReady","nextRelease"]},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","example":{"en":{"what a key":"Translated value","another key":"Another key translated"},"cs":{"what a key":"Překlad","another key":"Další překlad"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/select":{"get":{"tags":["Localization keys"],"summary":"Select keys","description":"Returns all key IDs for specified filter values. This way, you can apply the same filter as in the translation view and get the resulting key IDs for future use.","operationId":"selectKeys_2","parameters":[{"name":"filterState","in":"query","description":"Translation state in the format: languageTag,state. You can use this parameter multiple times.\n\nWhen used with multiple states for same language it is applied with logical OR. \n \nWhen used with multiple languages, it is applied with logical AND.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"languages","in":"query","description":"Languages to be contained in response.\n \nTo add multiple languages, repeat this param (eg. ?languages=en&languages=de)","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"search","in":"query","description":"String to search in key name or translation text","required":false,"schema":{"type":"string"}},{"name":"filterKeyName","in":"query","description":"Selects key with provided names. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyId","in":"query","description":"Selects key with provided ID. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterUntranslatedAny","in":"query","description":"Selects only keys for which the translation is missing in any returned language. It only filters for translations included in returned languages.","required":false,"schema":{"type":"boolean"}},{"name":"filterTranslatedAny","in":"query","description":"Selects only keys, where translation is provided in any language","required":false,"schema":{"type":"boolean"}},{"name":"filterUntranslatedInLang","in":"query","description":"Selects only keys where the translation is missing for the specified language. The specified language must be included in the returned languages. Otherwise, this filter doesn't apply.","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterTranslatedInLang","in":"query","description":"Selects only keys, where translation is provided in specified language","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterHasScreenshot","in":"query","description":"Selects only keys with screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterHasNoScreenshot","in":"query","description":"Selects only keys without screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterNamespace","in":"query","description":"Filter namespaces. \n\nTo filter default namespace, set to empty string.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTag","in":"query","description":"Selects only keys with provided tag","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterNotOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is not in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterRevisionId","in":"query","description":"Selects only key affected by activity with specidfied revision ID","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":1234567},{"name":"filterFailedKeysOfJob","in":"query","description":"Select only keys which were not successfully translated by batch job with provided id","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterTaskNumber","in":"query","description":"Select only keys which are in specified task","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectAllResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/transfer-options":{"get":{"tags":["Project Transferring"],"summary":"Get transfer to organization options","description":"Returns organizations to which project can be transferred","operationId":"getTransferOptions","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelProjectTransferOptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}/stats/daily-activity":{"get":{"tags":["Project Stats"],"summary":"Get project daily amount of events","operationId":"getProjectDailyActivity","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/stats":{"get":{"tags":["Project Stats"],"summary":"Get project stats","operationId":"getProjectStats","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/language-ai-prompt-customizations":{"get":{"tags":["AI Customization"],"summary":"Sets project level prompt customization","operationId":"getLanguagePromptCustomizations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/invitations":{"get":{"tags":["Invitations"],"summary":"Get project invitations","operationId":"getProjectInvitations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelProjectInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/api-keys":{"get":{"tags":["API keys"],"summary":"Get all project API keys","description":"Returns all API keys for specified project","operationId":"allByProject","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":5}},"/v2/pats/current":{"get":{"tags":["Personal Access Tokens"],"summary":"Return current PAK","description":"Returns current Personal Access Token. If the request is not authenticated with a Personal Access Token, it will return 400 response status.","operationId":"getCurrent","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatWithUserModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{slug}":{"get":{"tags":["Organizations"],"summary":"Get organization by slug","operationId":"get_19","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/organizations/{slug}/projects":{"get":{"tags":["Organizations"],"summary":"Get all accessible projects (by slug)","description":"Returns all organization projects the user has access to","operationId":"getAllProjects","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{slug}/projects-with-stats":{"get":{"tags":["Organizations"],"summary":"Get all projects with stats","description":"Returns all projects (including statistics) where current user has any permission (except none)","operationId":"getAllWithStatistics_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectWithStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/invitations":{"get":{"tags":["Invitations"],"summary":"Get all invitations to organization","operationId":"getInvitations","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelOrganizationInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/machine-translation-credit-balance":{"get":{"tags":["Machine translation credits"],"summary":"Get credit balance for organization","description":"Returns machine translation credit balance for organization","operationId":"getOrganizationCredits","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalanceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/usage":{"get":{"tags":["Organizations"],"summary":"Get current organization usage","operationId":"getUsage","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/workspaces":{"get":{"tags":["Organization Slack"],"summary":"Get connected workspaces","description":"Returns a list of workspaces connected to the organization","operationId":"getConnectedWorkspaces","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelWorkspaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/get-connect-url":{"get":{"tags":["Organization Slack"],"summary":"Get connect URL for Slack authentication","description":"Returns URL to which user should be redirected to connect Slack workspace","operationId":"connectToSlack","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectToSlackUrlModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/projects-with-stats":{"get":{"tags":["Organizations"],"summary":"Get all projects with stats","description":"Returns all projects (including statistics) where current user has any permission (except none)","operationId":"getAllWithStatistics_2","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectWithStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/subscription":{"get":{"tags":["Cloud Billing"],"summary":"Get active subscription","operationId":"getSubscription","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/subscriptions/{subscriptionId}/expected-usage":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get expected usage for current month","operationId":"getExpectedUsage","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/plans":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get self-hosted EE plans available for organization","operationId":"getSelfHostedPlans","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSelfHostedEePlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/plans":{"get":{"tags":["Cloud Billing"],"summary":"Get cloud plans","description":"Returns list of available cloud plans for specific organization.)","operationId":"getCloudPlans","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelCloudPlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices":{"get":{"tags":["Invoices"],"summary":"Get invoices","operationId":"getInvoices","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":10}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["createdAt,DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelInvoiceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/usage":{"get":{"tags":["Invoices"],"summary":"Get invoiced usage","operationId":"getUsage_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/usage/{type}.csv":{"get":{"tags":["Invoices"],"summary":"Get usage detail in CSV format","description":"Returns CSV file with usage detail for each time period and it's usage.","operationId":"getUsageDetail","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["SEATS","TRANSLATIONS"]}}],"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string","format":"byte"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/pdf":{"get":{"tags":["Invoices"],"summary":"Get invoice PDF","operationId":"getInvoicePdf","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/expected-usage":{"get":{"tags":["Cloud Billing"],"summary":"Get expected usage for current month","operationId":"getExpectedUsage_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/expected-usage/{type}.csv":{"get":{"tags":["Cloud Billing"],"summary":"Get expected usage detail in CSV format","description":"Returns CSV file with usage detail for each time period and it's usage.","operationId":"getExpectedUsageDetail","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["SEATS","TRANSLATIONS"]}}],"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string","format":"byte"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/billing-info":{"get":{"tags":["Cloud Billing"],"summary":"Get stored billing info","operationId":"getBillingInfo","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{id}/users":{"get":{"tags":["Organizations"],"summary":"Get all users in organization","description":"Returns all users in organization. The result also contains users who are only members of projects in the organization.","operationId":"getAllUsers_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC","username,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountWithOrganizationRoleModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/projects":{"get":{"tags":["Organizations"],"summary":"Get all accessible projects (by ID)","description":"Returns all organization projects the user has access to","operationId":"getAllProjects_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/invitations/{code}/accept":{"get":{"tags":["Invitations"],"summary":"Accepts invitation to project or organization","operationId":"acceptInvitation","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/ee-license/info":{"get":{"tags":["EE Licence"],"summary":"Get the info about the current EE subscription","operationId":"getInfo_5","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys/{keyId}":{"get":{"tags":["API keys"],"summary":"Get one API key","description":"Returns specific API key info","operationId":"get_22","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":2}},"/v2/api-keys/current":{"get":{"tags":["API keys"],"summary":"Get current API key info","description":"Returns info the API key which user currently authenticated with. Otherwise responds with 400 status code.","operationId":"getCurrent_1","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyWithLanguagesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/api-keys/current-permissions":{"get":{"tags":["API keys"],"summary":"Get current permission info","description":"Returns current PAK or PAT permissions for current user, api-key and project","operationId":"getCurrentPermissions","parameters":[{"name":"projectId","in":"query","description":"Required when using with PAT","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyPermissionsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/api-keys/availableScopes":{"get":{"tags":["API keys"],"summary":"Returns API key scopes for every permission type","operationId":"getScopes","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","example":{"TRANSLATE":["translations.view","translations.edit","screenshots.view"],"MANAGE":["translations.view","translations.edit","keys.edit","screenshots.view","screenshots.upload","screenshots.delete"],"EDIT":["translations.view","translations.edit","keys.edit","screenshots.view","screenshots.upload","screenshots.delete"],"VIEW":["translations.view","screenshots.view"]}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/announcement":{"get":{"tags":["New features announcements"],"summary":"Get announcement","description":"Returns the latest announcement for the currently authenticated user","operationId":"getLatest","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/administration/users":{"get":{"tags":["Server Administration"],"summary":"Get all server users","operationId":"getUsers","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/generate-token":{"get":{"tags":["Server Administration"],"summary":"Geneate user's JWT token","description":"Generates a JWT token for the user with provided ID. This is useful, when need to debug of the user's account. Or when an operation is required to be executed on behalf of the user.","operationId":"generateUserToken","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/organizations":{"get":{"tags":["Server Administration"],"summary":"Get all server organizations","operationId":"getOrganizations","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/api/public/invitation_info/{code}":{"get":{"tags":["Authentication"],"summary":"Info about invitation","operationId":"invitationInfo","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/configuration":{"get":{"tags":["Public configuration controller"],"summary":"Get server configuration","operationId":"getPublicConfiguration","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicConfigurationDTO"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/authorize_oauth/{serviceType}":{"get":{"tags":["Authentication"],"summary":"Authenticate user (third-part, oAuth)","description":"Authenticates user using third party oAuth service","operationId":"authenticateUser_1","parameters":[{"name":"serviceType","in":"path","required":true,"schema":{"type":"string"}},{"name":"code","in":"query","required":false,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":false,"schema":{"type":"string"}},{"name":"invitationCode","in":"query","required":false,"schema":{"type":"string"}},{"name":"domain","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/project/{projectId}/export/jsonZip":{"get":{"tags":["Export"],"summary":"Export to ZIP of jsons","description":"Exports data as ZIP of jsons","operationId":"doExportJsonZip","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/zip":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"deprecated":true,"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{ids}":{"delete":{"tags":["Localization keys"],"summary":"Delete one or multiple keys","operationId":"delete_2","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/keys/{keyId}/tags/{tagId}":{"delete":{"tags":["Tags"],"summary":"Remove tag","description":"Removes tag with provided id from key with provided id","operationId":"removeTag","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"tagId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{keyId}/screenshots/{ids}":{"delete":{"tags":["Screenshots"],"summary":"Delete screenshots","operationId":"deleteScreenshots_1","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/users/{userId}":{"delete":{"tags":["Organizations"],"summary":"Remove user from organization","operationId":"removeUser","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/workspaces/{workspaceId}":{"delete":{"tags":["Organization Slack"],"summary":"Disconnect workspace","description":"Disconnects a workspace from the organization","operationId":"disconnectWorkspace","parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/invitations/{invitationId}":{"delete":{"tags":["Invitations"],"summary":"Deletes invitation by ID","operationId":"deleteInvitation","parameters":[{"name":"invitationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/image-upload/{ids}":{"delete":{"tags":["Image upload"],"summary":"Delete uploaded images","operationId":"delete_12","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/administration/users/{userId}":{"delete":{"tags":["Server Administration"],"summary":"Delete user","operationId":"deleteUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}}},"components":{"schemas":{"ErrorResponseTyped":{"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_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","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","address_part_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","plan_auto_assignment_organization_ids_not_in_for_organization_ids","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"]},"params":{"type":"array","items":{"type":"object"}}}},"ErrorResponseBody":{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}}},"UserUpdateRequestDto":{"required":["email","name"],"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"currentPassword":{"maxLength":50,"minLength":0,"type":"string"},"callbackUrl":{"type":"string","description":"Callback url for link sent in e-mail. This may be omitted, when server has set frontEndUrl in properties."}}},"Avatar":{"required":["large","thumbnail"],"type":"object","properties":{"large":{"type":"string"},"thumbnail":{"type":"string"}}},"PrivateUserAccountModel":{"required":["accountType","deletable","globalServerRole","id","mfaEnabled","needsSuperJwtToken","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"emailAwaitingVerification":{"type":"string"},"mfaEnabled":{"type":"boolean"},"avatar":{"$ref":"#/components/schemas/Avatar"},"accountType":{"type":"string","enum":["LOCAL","MANAGED","THIRD_PARTY"]},"globalServerRole":{"type":"string","enum":["USER","ADMIN"]},"deletable":{"type":"boolean"},"needsSuperJwtToken":{"type":"boolean"}}},"UserUpdatePasswordRequestDto":{"required":["currentPassword","password"],"type":"object","properties":{"currentPassword":{"maxLength":50,"minLength":0,"type":"string"},"password":{"maxLength":50,"minLength":8,"type":"string"}}},"JwtAuthenticationResponse":{"type":"object","properties":{"accessToken":{"type":"string"},"tokenType":{"type":"string"}}},"UserTotpEnableRequestDto":{"required":["otp","password","totpKey"],"type":"object","properties":{"totpKey":{"maxLength":16,"minLength":16,"pattern":"^(?:[a-z2-7]{8})*$","type":"string"},"otp":{"maxLength":6,"minLength":6,"type":"string"},"password":{"maxLength":50,"minLength":0,"type":"string"}}},"UserMfaRecoveryRequestDto":{"required":["password"],"type":"object","properties":{"password":{"maxLength":50,"minLength":0,"type":"string"}}},"QuickStartModel":{"required":["completedSteps","finished","open"],"type":"object","properties":{"finished":{"type":"boolean"},"completedSteps":{"type":"array","items":{"type":"string"}},"open":{"type":"boolean"}}},"EditProjectRequest":{"required":["icuPlaceholders","name","useNamespaces"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string"},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string"},"baseLanguageId":{"type":"integer","format":"int64"},"useNamespaces":{"type":"boolean"},"defaultNamespaceId":{"type":"integer","format":"int64"},"description":{"maxLength":2000,"minLength":3,"type":"string"},"icuPlaceholders":{"type":"boolean","description":"Whether to use ICU placeholder visualization in the editor and it's support."}}},"ComputedPermissionModel":{"required":["origin","scopes"],"type":"object","properties":{"permissionModel":{"$ref":"#/components/schemas/PermissionModel"},"origin":{"type":"string","enum":["ORGANIZATION_BASE","DIRECT","ORGANIZATION_OWNER","NONE","SERVER_ADMIN"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}}},"LanguageModel":{"required":["base","id","name","tag"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","description":"Language name in english","example":"Czech"},"tag":{"type":"string","description":"Language tag according to BCP 47 definition","example":"cs-CZ"},"originalName":{"type":"string","description":"Language name in this language","example":"čeština"},"flagEmoji":{"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"},"base":{"type":"boolean","description":"Whether is base language of project","example":false}}},"NamespaceModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace","format":"int64","example":10000048},"name":{"type":"string","example":"homepage"}}},"PermissionModel":{"required":["scopes"],"type":"object","properties":{"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}}},"description":"Current user's direct permission","example":"MANAGE"},"ProjectModel":{"required":["computedPermission","icuPlaceholders","id","name","useNamespaces"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationOwner":{"$ref":"#/components/schemas/SimpleOrganizationModel"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"useNamespaces":{"type":"boolean"},"defaultNamespace":{"$ref":"#/components/schemas/NamespaceModel"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"directPermission":{"$ref":"#/components/schemas/PermissionModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"},"icuPlaceholders":{"type":"boolean","description":"Whether to disable ICU placeholder visualization in the editor and it's support."}}},"SimpleOrganizationModel":{"required":["basePermissions","id","name","slug"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"Beautiful organization"},"slug":{"type":"string","example":"btforg"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"basePermissions":{"$ref":"#/components/schemas/PermissionModel"},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"WebhookConfigRequest":{"required":["url"],"type":"object","properties":{"url":{"maxLength":255,"minLength":0,"type":"string"}}},"WebhookConfigModel":{"required":["id","url","webhookSecret"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"url":{"type":"string"},"webhookSecret":{"type":"string"},"firstFailed":{"type":"integer","description":"Date of the first failed webhook request. If the last webhook request is successful, this value is set to null.","format":"int64"},"lastExecuted":{"type":"integer","description":"Date of the last webhook request.","format":"int64"}}},"SimpleUserAccountModel":{"required":["deleted","id","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"deleted":{"type":"boolean"}}},"TaskModel":{"required":["assignees","baseCharacterCount","baseWordCount","description","doneItems","language","name","number","state","totalItems","type"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"language":{"$ref":"#/components/schemas/LanguageModel"},"dueDate":{"type":"integer","format":"int64"},"assignees":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}},"totalItems":{"type":"integer","format":"int64"},"doneItems":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","format":"int64"},"closedAt":{"type":"integer","format":"int64"},"state":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"TranslationAgencySimpleModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"url":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"UpdateTaskKeyRequest":{"required":["done"],"type":"object","properties":{"done":{"type":"boolean"}}},"UpdateTaskKeyResponse":{"required":["done","taskFinished"],"type":"object","properties":{"done":{"type":"boolean","description":"Task key is marked as done"},"taskFinished":{"type":"boolean","description":"Task progress is 100%"}}},"UpdateTaskKeysRequest":{"type":"object","properties":{"addKeys":{"uniqueItems":true,"type":"array","description":"Keys to add to task","items":{"type":"integer","description":"Keys to add to task","format":"int64"}},"removeKeys":{"uniqueItems":true,"type":"array","description":"Keys to remove from task","items":{"type":"integer","description":"Keys to remove from task","format":"int64"}}}},"UpdateTaskRequest":{"required":["assignees","description","name"],"type":"object","properties":{"name":{"maxLength":255,"minLength":3,"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string"},"dueDate":{"type":"integer","description":"Due to date in epoch format (milliseconds).","format":"int64","example":1661172869000},"assignees":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"AutoTranslationSettingsDto":{"required":["enableForImport","usingMachineTranslation","usingTranslationMemory"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"usingTranslationMemory":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operation using translation memory when 100% match is found"},"usingMachineTranslation":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operationusing primary machine translation service.When \"usingTranslationMemory\" is enabled, it tries to translate it with translation memory first."},"enableForImport":{"type":"boolean","description":"If true, import will trigger batch operation to translate the new new keys.\nIt includes also the data imported via CLI, Figma, or other integrations using batch key import."}}},"AutoTranslationConfigModel":{"required":["enableForImport","usingMachineTranslation","usingTranslationMemory"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"usingTranslationMemory":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operation using translation memory when 100% match is found"},"usingMachineTranslation":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operationusing primary machine translation service.When \"usingTranslationMemory\" is enabled, it tries to translate it with translation memory first."},"enableForImport":{"type":"boolean","description":"If true, import will trigger batch operation to translate the new new keys.\nIt includes also the data imported via CLI, Figma, or other integrations using batch key import."}}},"CollectionModelAutoTranslationConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/components/schemas/AutoTranslationConfigModel"}}}}}},"UpdateNamespaceDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}}},"MachineTranslationLanguagePropsDto":{"type":"object","properties":{"targetLanguageId":{"type":"integer","description":"The language to apply those rules. If null, then this settings are default.","format":"int64"},"primaryService":{"type":"string","description":"This service will be used for automated translation","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"primaryServiceInfo":{"$ref":"#/components/schemas/MtServiceInfo"},"enabledServices":{"uniqueItems":true,"type":"array","description":"List of enabled services (deprecated: use enabledServicesInfo)","deprecated":true,"items":{"type":"string","description":"List of enabled services (deprecated: use enabledServicesInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"enabledServicesInfo":{"uniqueItems":true,"type":"array","description":"Info about enabled services","items":{"$ref":"#/components/schemas/MtServiceInfo"}}}},"MtServiceInfo":{"required":["serviceType"],"type":"object","properties":{"serviceType":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"formality":{"type":"string","enum":["FORMAL","INFORMAL","DEFAULT"]}},"description":"Info about enabled services"},"SetMachineTranslationSettingsDto":{"required":["settings"],"type":"object","properties":{"settings":{"type":"array","items":{"$ref":"#/components/schemas/MachineTranslationLanguagePropsDto"}}}},"CollectionModelLanguageConfigItemModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languageConfigs":{"type":"array","items":{"$ref":"#/components/schemas/LanguageConfigItemModel"}}}}}},"LanguageConfigItemModel":{"required":["enabledServices","enabledServicesInfo"],"type":"object","properties":{"targetLanguageId":{"type":"integer","description":"When null, its a default configuration applied to not configured languages","format":"int64"},"targetLanguageTag":{"type":"string","description":"When null, its a default configuration applied to not configured languages"},"targetLanguageName":{"type":"string","description":"When null, its a default configuration applied to not configured languages"},"primaryService":{"type":"string","description":"Service used for automated translating (deprecated: use primaryServiceInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"primaryServiceInfo":{"$ref":"#/components/schemas/MtServiceInfo"},"enabledServices":{"uniqueItems":true,"type":"array","description":"Services to be used for suggesting (deprecated: use enabledServicesInfo)","deprecated":true,"items":{"type":"string","description":"Services to be used for suggesting (deprecated: use enabledServicesInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"enabledServicesInfo":{"uniqueItems":true,"type":"array","description":"Info about enabled services","items":{"$ref":"#/components/schemas/MtServiceInfo"}}}},"SetDisabledLanguagesRequest":{"required":["languageIds"],"type":"object","properties":{"languageIds":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CollectionModelLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}}}}}},"ComplexEditKeyDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the key"},"namespace":{"type":"string"},"translations":{"type":"object","additionalProperties":{"type":"string","description":"Translations to update"},"description":"Translations to update"},"states":{"type":"object","additionalProperties":{"type":"string","description":"Translation states to update, if not provided states won't be modified","enum":["TRANSLATED","REVIEWED"]},"description":"Translation states to update, if not provided states won't be modified"},"tags":{"type":"array","description":"Tags of the key. If not provided tags won't be modified","items":{"type":"string","description":"Tags of the key. If not provided tags won't be modified"}},"screenshotIdsToDelete":{"type":"array","description":"IDs of screenshots to delete","items":{"type":"integer","description":"IDs of screenshots to delete","format":"int64"}},"screenshotUploadedImageIds":{"type":"array","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","items":{"type":"integer","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","format":"int64"}},"screenshotsToAdd":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key. It's also used as a context for Tolgee AI translator"},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor. If null, value won't be modified."},"pluralArgName":{"type":"string","description":"The argument name for the plural. If null, value won't be modified. If isPlural is false, this value will be ignored."},"warnOnDataLoss":{"type":"boolean","description":"If true, it will fail with 400 (with code plural_forms_data_loss) if plural is disabled and there are plural forms, which would be lost by the action. You can get rid of this warning by setting this value to false."},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key. If not provided, custom values won't be modified"},"description":"Custom values of the key. If not provided, custom values won't be modified"}}},"KeyInScreenshotPositionDto":{"required":["height","width","x","y"],"type":"object","properties":{"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"KeyScreenshotDto":{"required":["uploadedImageId"],"type":"object","properties":{"text":{"type":"string"},"uploadedImageId":{"type":"integer","description":"Ids of screenshot uploaded with /v2/image-upload endpoint","format":"int64"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotPositionDto"}}}},"RelatedKeyDto":{"required":["keyName"],"type":"object","properties":{"namespace":{"type":"string"},"keyName":{"type":"string"}},"description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. "},"KeyInScreenshotModel":{"required":["keyId","keyName"],"type":"object","properties":{"keyId":{"type":"integer","format":"int64"},"position":{"$ref":"#/components/schemas/KeyInScreenshotPosition"},"keyName":{"type":"string"},"keyNamespace":{"type":"string"},"originalText":{"type":"string"}}},"KeyInScreenshotPosition":{"required":["height","width","x","y"],"type":"object","properties":{"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"KeyWithDataModel":{"required":["custom","id","isPlural","name","screenshots","tags","translations"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationModel"},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}},"tags":{"uniqueItems":true,"type":"array","description":"Tags of key","items":{"$ref":"#/components/schemas/TagModel"}},"screenshots":{"type":"array","description":"Screenshots of the key","items":{"$ref":"#/components/schemas/ScreenshotModel"}},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor"},"pluralArgName":{"type":"string","description":"The argument name for the plural"},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key"},"description":"Custom values of the key"}}},"ScreenshotModel":{"required":["fileUrl","filename","id","keyReferences","thumbnail","thumbnailUrl"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"filename":{"type":"string","description":"File name, which may be downloaded from the screenshot path.\n\nWhen images are secured. Encrypted timestamp is appended to the filename. \n "},"thumbnail":{"type":"string","description":"Thumbnail file name, which may be downloaded from the screenshot path.\n\nWhen images are secured. Encrypted timestamp is appended to the filename. \n "},"fileUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"keyReferences":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotModel"}},"location":{"type":"string"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}},"description":"Screenshots of the key"},"TagModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"description":"Tags of key"},"TranslationModel":{"required":["auto","id","outdated","state"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation record","format":"int64"},"text":{"type":"string","description":"Translation text"},"state":{"type":"string","description":"State of translation","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]},"outdated":{"type":"boolean","description":"Whether base language translation was changed after this translation was updated"},"auto":{"type":"boolean","description":"Was translated using Translation Memory or Machine translation service?"},"mtProvider":{"type":"string","description":"Which machine translation service was used to auto translate this","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}},"EditKeyDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key","example":"This key is used on homepage. It's a label of sign up button."}}},"KeyModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key"},"description":"Custom values of the key"}}},"ProjectInviteUserDto":{"type":"object","properties":{"type":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"scopes":{"uniqueItems":true,"type":"array","description":"Granted scopes for the invited user","example":["translations.view","translations.edit"],"items":{"type":"string","description":"Granted scopes for the invited user","example":"[\"translations.view\",\"translations.edit\"]"}},"languages":{"uniqueItems":true,"type":"array","description":"Deprecated -> use translate languages","deprecated":true,"items":{"type":"integer","description":"Deprecated -> use translate languages","format":"int64","deprecated":true}},"translateLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can translate to","deprecated":true,"items":{"type":"integer","description":"Languages user can translate to","format":"int64","deprecated":true}},"viewLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can view","deprecated":true,"items":{"type":"integer","description":"Languages user can view","format":"int64","deprecated":true}},"stateChangeLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can change translation state (review)","deprecated":true,"items":{"type":"integer","description":"Languages user can change translation state (review)","format":"int64","deprecated":true}},"email":{"maxLength":250,"minLength":0,"type":"string","description":"Email to send invitation to"},"name":{"maxLength":250,"minLength":0,"type":"string","description":"Name of invited user"},"agencyId":{"type":"integer","description":"Id of invited agency","format":"int64"}}},"PermissionWithAgencyModel":{"required":["scopes"],"type":"object","properties":{"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"ProjectInvitationModel":{"required":["createdAt","id","permission"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"type":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","items":{"type":"integer","format":"int64"}},"createdAt":{"type":"string","format":"date-time"},"invitedUserName":{"type":"string"},"invitedUserEmail":{"type":"string"},"permission":{"$ref":"#/components/schemas/PermissionWithAgencyModel"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}},"AzureContentStorageConfigDto":{"required":["containerName"],"type":"object","properties":{"connectionString":{"maxLength":255,"minLength":0,"type":"string"},"containerName":{"maxLength":255,"minLength":0,"type":"string"}}},"ContentStorageRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"minLength":0,"type":"string"},"azureContentStorageConfig":{"$ref":"#/components/schemas/AzureContentStorageConfigDto"},"s3ContentStorageConfig":{"$ref":"#/components/schemas/S3ContentStorageConfigDto"},"publicUrlPrefix":{"maxLength":255,"minLength":0,"type":"string"}}},"S3ContentStorageConfigDto":{"required":["bucketName","endpoint","signingRegion"],"type":"object","properties":{"bucketName":{"maxLength":255,"minLength":0,"type":"string"},"accessKey":{"maxLength":255,"minLength":0,"type":"string"},"secretKey":{"maxLength":255,"minLength":0,"type":"string"},"endpoint":{"maxLength":255,"minLength":0,"type":"string"},"signingRegion":{"maxLength":255,"minLength":0,"type":"string"},"contentStorageType":{"type":"string","enum":["S3","AZURE"]},"enabled":{"type":"boolean"}}},"AzureContentStorageConfigModel":{"type":"object","properties":{"containerName":{"type":"string"}}},"ContentStorageModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"publicUrlPrefix":{"type":"string"},"azureContentStorageConfig":{"$ref":"#/components/schemas/AzureContentStorageConfigModel"},"s3ContentStorageConfig":{"$ref":"#/components/schemas/S3ContentStorageConfigModel"}}},"S3ContentStorageConfigModel":{"required":["bucketName","endpoint","signingRegion"],"type":"object","properties":{"bucketName":{"type":"string"},"endpoint":{"type":"string"},"signingRegion":{"type":"string"}}},"ContentDeliveryConfigRequest":{"required":["autoPublish","format","name","pruneBeforePublish","supportArrays"],"type":"object","properties":{"name":{"type":"string"},"contentStorageId":{"type":"integer","description":"Id of custom storage to use for content delivery. If null, default server storage is used. Tolgee Cloud provides default Content Storage.","format":"int64"},"autoPublish":{"type":"boolean","description":"If true, data are published to the content delivery automatically after each change."},"slug":{"maxLength":60,"minLength":1,"type":"string","description":"Tolgee uses a custom slug as a directory name for content storage and public content delivery URL. It is only applicable for custom storage. This field needs to be kept null for Tolgee Cloud content storage or global server storage on self-hosted instances.\n\nSlag has to match following regular expression: `^[a-z0-9]+(?:-[a-z0-9]+)*$`.\n\nIf null is provided for update operation, slug will be assigned with generated value."},"pruneBeforePublish":{"type":"boolean","description":"Whether the data in the CDN should be pruned before publishing new data.\n\nIn some cases, you might want to keep the data in the storage and only replace the files created by following publish operation."},"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"}}},"ContentDeliveryConfigModel":{"required":["autoPublish","format","id","lastPublishedFiles","name","pruneBeforePublish","slug","supportArrays"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"slug":{"type":"string"},"pruneBeforePublish":{"type":"boolean"},"storage":{"$ref":"#/components/schemas/ContentStorageModel"},"publicUrl":{"type":"string"},"autoPublish":{"type":"boolean"},"lastPublished":{"type":"integer","format":"int64"},"lastPublishedFiles":{"type":"array","items":{"type":"string"}},"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"}}},"ComplexTagKeysRequest":{"type":"object","properties":{"filterKeys":{"type":"array","description":"Include keys filtered by the provided key information","items":{"$ref":"#/components/schemas/KeyId"}},"filterKeysNot":{"type":"array","description":"Exclude keys filtered by the provided key information","items":{"$ref":"#/components/schemas/KeyId"}},"filterTag":{"type":"array","description":"Include keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`.","items":{"type":"string","description":"Include keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`."}},"filterTagNot":{"type":"array","description":"Exclude keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`.","items":{"type":"string","description":"Exclude keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`."}},"tagFiltered":{"type":"array","description":"Specified tags will be added to filtered keys","items":{"type":"string","description":"Specified tags will be added to filtered keys"}},"untagFiltered":{"type":"array","description":"Specified tags will be removed from filtered keys. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`.","items":{"type":"string","description":"Specified tags will be removed from filtered keys. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`."}},"tagOther":{"type":"array","description":"Specified tags will be added to keys not filtered by any of the specified filters.","items":{"type":"string","description":"Specified tags will be added to keys not filtered by any of the specified filters."}},"untagOther":{"type":"array","description":"Specified tags will be removed from keys not filtered by any of the specified filters. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`.","items":{"type":"string","description":"Specified tags will be removed from keys not filtered by any of the specified filters. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`."}}}},"KeyId":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"},"id":{"type":"integer","description":"If key id is provided, name and namespace are ignored.","format":"int64"}},"description":"Exclude keys filtered by the provided key information"},"TagKeyDto":{"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"minLength":0,"type":"string"}}},"SetFileNamespaceRequest":{"type":"object","properties":{"namespace":{"type":"string"}}},"StreamingResponseBody":{"type":"object"},"ImportSettingsRequest":{"required":["convertPlaceholdersToIcu","createNewKeys","overrideKeyDescriptions"],"type":"object","properties":{"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"},"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"}}},"ImportSettingsModel":{"required":["convertPlaceholdersToIcu","createNewKeys","overrideKeyDescriptions"],"type":"object","properties":{"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"},"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"}}},"TranslationCommentModel":{"required":["author","createdAt","id","state","text","updatedAt"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation comment record","format":"int64"},"text":{"type":"string","description":"Text of comment"},"state":{"type":"string","description":"State of translation","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"string","description":"Date when it was created","format":"date-time"},"updatedAt":{"type":"string","description":"Date when it was updated","format":"date-time"}}},"TranslationCommentDto":{"required":["state","text"],"type":"object","properties":{"text":{"type":"string"},"state":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}}},"SetTranslationsWithKeyDto":{"required":["key","translations"],"type":"object","properties":{"key":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"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!"}},"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\"]"}}}},"SetTranslationsResponseModel":{"required":["keyId","keyIsPlural","keyName","translations"],"type":"object","properties":{"keyId":{"type":"integer","description":"Id of key record","format":"int64"},"keyName":{"type":"string","description":"Name of key","example":"this_is_super_key"},"keyNamespace":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyIsPlural":{"type":"boolean"},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationModel"},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}}}},"LanguageRequest":{"required":["name","originalName","tag"],"type":"object","properties":{"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"},"flagEmoji":{"maxLength":20,"minLength":0,"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"}}},"SetLanguagePromptCustomizationRequest":{"type":"object","properties":{"description":{"maxLength":2000,"minLength":0,"type":"string","description":"The language description used in the prompt that helps AI translator to fine tune results for specific language","example":"For arabic language, we are super formal. Always use these translations: \nPaper -> ورقة\nOffice -> مكتب\n"}}},"LanguageAiPromptCustomizationModel":{"required":["language"],"type":"object","properties":{"description":{"type":"string","description":"The language description used in the prompt that helps AI translator to fine tune results for specific language","example":"For arabic language, we are super formal. Always use these translations: \nPaper -> ورقة\nOffice -> مكتب\n"},"language":{"$ref":"#/components/schemas/LanguageModel"}}},"SetProjectPromptCustomizationRequest":{"type":"object","properties":{"description":{"maxLength":2000,"minLength":0,"type":"string","description":"The project description used in the prompt that helps AI translator to understand the context of your project.","example":"We are Dunder Mifflin, a paper company. We sell paper. This is an project of translations for out paper selling app."}}},"ProjectAiPromptCustomizationModel":{"type":"object","properties":{"description":{"type":"string","description":"The project description used in the prompt that helps AI translator to understand the context of your project.","example":"We are Dunder Mifflin, a paper company. We sell paper. This is an project of translations for out paper selling app."}}},"UpdatePatDto":{"required":["description"],"type":"object","properties":{"description":{"type":"string","description":"New description of the PAT"}}},"PatModel":{"required":["createdAt","description","id","updatedAt"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"description":{"type":"string"},"expiresAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"}}},"RegeneratePatDto":{"type":"object","properties":{"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"RevealedPatModel":{"required":["createdAt","description","id","token","updatedAt"],"type":"object","properties":{"token":{"type":"string"},"expiresAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"SetOrganizationRoleDto":{"required":["roleType"],"type":"object","properties":{"roleType":{"type":"string","enum":["MEMBER","OWNER"]}}},"CreateProviderRequest":{"required":["authorizationUri","clientId","clientSecret","domain","enabled","tokenUri"],"type":"object","properties":{"enabled":{"type":"boolean"},"clientId":{"maxLength":255,"minLength":0,"type":"string"},"clientSecret":{"maxLength":255,"minLength":0,"type":"string"},"authorizationUri":{"maxLength":255,"minLength":0,"type":"string"},"tokenUri":{"maxLength":255,"minLength":0,"type":"string"},"domain":{"maxLength":255,"minLength":0,"type":"string"}}},"SsoTenantModel":{"required":["authorizationUri","clientId","clientSecret","domain","enabled","global","tokenUri"],"type":"object","properties":{"enabled":{"type":"boolean"},"authorizationUri":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"},"tokenUri":{"type":"string"},"domain":{"type":"string"},"global":{"type":"boolean"}}},"CollectionModelSelfHostedEeSubscriptionModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/SelfHostedEeSubscriptionModel"}}}}}},"PlanIncludedUsageModel":{"required":["mtCredits","seats","translationSlots","translations"],"type":"object","properties":{"seats":{"type":"integer","format":"int64"},"translationSlots":{"type":"integer","format":"int64"},"translations":{"type":"integer","format":"int64"},"mtCredits":{"type":"integer","format":"int64"}}},"PlanPricesModel":{"required":["perSeat","subscriptionMonthly","subscriptionYearly"],"type":"object","properties":{"perSeat":{"type":"number"},"perThousandTranslations":{"type":"number"},"perThousandMtCredits":{"type":"number"},"subscriptionMonthly":{"type":"number"},"subscriptionYearly":{"type":"number"}}},"SelfHostedEePlanModel":{"required":["enabledFeatures","free","hasYearlyPrice","id","includedUsage","name","nonCommercial","prices","public"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"public":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"prices":{"$ref":"#/components/schemas/PlanPricesModel"},"includedUsage":{"$ref":"#/components/schemas/PlanIncludedUsageModel"},"hasYearlyPrice":{"type":"boolean"},"free":{"type":"boolean"},"nonCommercial":{"type":"boolean"}}},"SelfHostedEeSubscriptionModel":{"required":["createdAt","currentBillingPeriod","id","plan","status"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"currentPeriodStart":{"type":"integer","format":"int64"},"currentPeriodEnd":{"type":"integer","format":"int64"},"currentBillingPeriod":{"type":"string","enum":["MONTHLY","YEARLY"]},"createdAt":{"type":"integer","format":"int64"},"plan":{"$ref":"#/components/schemas/SelfHostedEePlanModel"},"status":{"type":"string","enum":["ACTIVE","CANCELED","PAST_DUE","UNPAID","ERROR","KEY_USED_BY_ANOTHER_INSTANCE"]},"licenseKey":{"type":"string"},"estimatedCosts":{"type":"number"}}},"CloudPlanModel":{"required":["enabledFeatures","free","hasYearlyPrice","id","includedUsage","name","nonCommercial","prices","public","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"free":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"type":{"type":"string","enum":["PAY_AS_YOU_GO","FIXED","SLOTS_FIXED"]},"prices":{"$ref":"#/components/schemas/PlanPricesModel"},"includedUsage":{"$ref":"#/components/schemas/PlanIncludedUsageModel"},"hasYearlyPrice":{"type":"boolean"},"public":{"type":"boolean"},"nonCommercial":{"type":"boolean"}}},"CloudSubscriptionModel":{"required":["cancelAtPeriodEnd","createdAt","organizationId","plan"],"type":"object","properties":{"organizationId":{"type":"integer","format":"int64"},"plan":{"$ref":"#/components/schemas/CloudPlanModel"},"currentPeriodStart":{"type":"integer","format":"int64"},"currentPeriodEnd":{"type":"integer","format":"int64"},"currentBillingPeriod":{"type":"string","enum":["MONTHLY","YEARLY"]},"cancelAtPeriodEnd":{"type":"boolean"},"estimatedCosts":{"type":"number"},"createdAt":{"type":"integer","format":"int64"}}},"OrganizationDto":{"required":["name"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string","example":"Beautiful organization"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string","example":"btforg"}}},"OrganizationModel":{"required":["basePermissions","id","name","slug"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"Beautiful organization"},"slug":{"type":"string","example":"btforg"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"basePermissions":{"$ref":"#/components/schemas/PermissionModel"},"currentUserRole":{"type":"string","description":"The role of currently authorized user. \n \nCan be null when user has direct access to one of the projects owned by the organization.","enum":["MEMBER","OWNER"]},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"OrganizationInviteUserDto":{"required":["roleType"],"type":"object","properties":{"roleType":{"type":"string","enum":["MEMBER","OWNER"]},"name":{"maxLength":250,"minLength":0,"type":"string","description":"Name of invited user"},"email":{"maxLength":250,"minLength":0,"type":"string","description":"Email to send invitation to"}}},"OrganizationInvitationModel":{"required":["code","createdAt","id","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"type":{"type":"string","enum":["MEMBER","OWNER"]},"createdAt":{"type":"string","format":"date-time"},"invitedUserName":{"type":"string"},"invitedUserEmail":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}},"SetLicenseKeyDto":{"required":["licenseKey"],"type":"object","properties":{"licenseKey":{"type":"string"}}},"EeSubscriptionModel":{"required":["cancelAtPeriodEnd","currentUserCount","enabledFeatures","licenseKey","name","nonCommerical","status"],"type":"object","properties":{"name":{"type":"string"},"licenseKey":{"type":"string"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"currentPeriodEnd":{"type":"integer","format":"int64"},"cancelAtPeriodEnd":{"type":"boolean"},"currentUserCount":{"type":"integer","format":"int64"},"status":{"type":"string","enum":["ACTIVE","CANCELED","PAST_DUE","UNPAID","ERROR","KEY_USED_BY_ANOTHER_INSTANCE"]},"nonCommerical":{"type":"boolean"},"lastValidCheck":{"type":"string","format":"date-time"}}},"V2EditApiKeyDto":{"required":["scopes"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"description":{"type":"string"}}},"ApiKeyModel":{"required":["description","id","projectId","projectName","scopes"],"type":"object","properties":{"id":{"type":"integer","description":"ID of the API key","format":"int64"},"description":{"type":"string","description":"Description"},"username":{"type":"string","description":"Username of user owner"},"userFullName":{"type":"string","description":"Full name of user owner"},"projectId":{"type":"integer","description":"Api key's project ID","format":"int64"},"projectName":{"type":"string","description":"Api key's project name"},"expiresAt":{"type":"integer","description":"Timestamp of API key expiraion","format":"int64"},"lastUsedAt":{"type":"integer","description":"Timestamp of API key last usage","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","description":"Api key's permission scopes","example":["screenshots.upload","screenshots.delete","translations.edit","screenshots.view","translations.view","keys.edit"],"items":{"type":"string","description":"Api key's permission scopes","example":"[\"screenshots.upload\",\"screenshots.delete\",\"translations.edit\",\"screenshots.view\",\"translations.view\",\"keys.edit\"]"}}}},"RegenerateApiKeyDto":{"type":"object","properties":{"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"RevealedApiKeyModel":{"required":["description","id","key","projectId","projectName","scopes"],"type":"object","properties":{"key":{"type":"string","description":"Resulting user's api key"},"userFullName":{"type":"string"},"projectName":{"type":"string"},"projectId":{"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"expiresAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"},"username":{"type":"string"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"SuperTokenRequest":{"type":"object","properties":{"otp":{"type":"string","description":"Has to be provided when TOTP enabled"},"password":{"type":"string","description":"Has to be provided when TOTP not enabled"}}},"GenerateSlugDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"oldSlug":{"type":"string"}}},"SlackCommandDto":{"required":["channel_id","channel_name","command","team_domain","team_id","text","user_id","user_name"],"type":"object","properties":{"token":{"type":"string"},"team_id":{"type":"string"},"channel_id":{"type":"string"},"command":{"type":"string"},"channel_name":{"type":"string"},"user_id":{"type":"string"},"user_name":{"type":"string"},"text":{"type":"string"},"trigger_id":{"type":"string"},"team_domain":{"type":"string"}}},"AverageProportionalUsageItemModel":{"required":["total","unusedQuantity","usedQuantity","usedQuantityOverPlan"],"type":"object","properties":{"total":{"type":"number"},"unusedQuantity":{"type":"number"},"usedQuantity":{"type":"number"},"usedQuantityOverPlan":{"type":"number"}}},"PrepareSetEeLicenceKeyModel":{"required":["plan","usage"],"type":"object","properties":{"plan":{"$ref":"#/components/schemas/SelfHostedEePlanModel"},"usage":{"$ref":"#/components/schemas/UsageModel"}}},"SumUsageItemModel":{"required":["total","unusedQuantity","usedQuantity","usedQuantityOverPlan"],"type":"object","properties":{"total":{"type":"number"},"unusedQuantity":{"type":"integer","format":"int64"},"usedQuantity":{"type":"integer","format":"int64"},"usedQuantityOverPlan":{"type":"integer","format":"int64"}}},"UsageModel":{"required":["seats","total","translations"],"type":"object","properties":{"subscriptionPrice":{"type":"number"},"appliedStripeCredits":{"type":"number","description":"Relevant for invoices only. When there are applied stripe credits, we need to reduce the total price by this amount."},"seats":{"$ref":"#/components/schemas/AverageProportionalUsageItemModel"},"translations":{"$ref":"#/components/schemas/AverageProportionalUsageItemModel"},"credits":{"$ref":"#/components/schemas/SumUsageItemModel"},"total":{"type":"number"}}},"CreateProjectRequest":{"required":["icuPlaceholders","languages","name","organizationId"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string"},"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageRequest"}},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string","description":"Slug of your project used in url e.g. \"/v2/projects/what-a-project\". If not provided, it will be generated"},"organizationId":{"minimum":1,"type":"integer","description":"Organization to create the project in","format":"int64"},"baseLanguageTag":{"type":"string","description":"Tag of one of created languages, to select it as base language. If not provided, first language will be selected as base."},"icuPlaceholders":{"type":"boolean","description":"Whether to use ICU placeholder visualization in the editor and it's support."}}},"WebhookTestResponse":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"}}},"CreateMultipleTasksRequest":{"required":["tasks"],"type":"object","properties":{"tasks":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/CreateTaskRequest"}}}},"CreateTaskRequest":{"required":["assignees","description","keys","languageId","name","type"],"type":"object","properties":{"name":{"maxLength":255,"minLength":3,"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"dueDate":{"type":"integer","description":"Due to date in epoch format (milliseconds).","format":"int64","example":1661172869000},"languageId":{"type":"integer","description":"Id of language, this task is attached to.","format":"int64","example":1},"assignees":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}},"keys":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"CalculateScopeRequest":{"required":["keys","languageId","type"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"keys":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"KeysScopeView":{"required":["characterCount","keyCount","keyCountIncludingConflicts","wordCount"],"type":"object","properties":{"keyCount":{"type":"integer","format":"int64"},"characterCount":{"type":"integer","format":"int64"},"wordCount":{"type":"integer","format":"int64"},"keyCountIncludingConflicts":{"type":"integer","format":"int64"}}},"GetKeysRequestDto":{"required":["keys","languageTags"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyDefinitionDto"}},"languageTags":{"type":"array","description":"Tags to return language translations in","items":{"type":"string","description":"Tags to return language translations in"}}}},"KeyDefinitionDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"CollectionModelKeyWithDataModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithDataModel"}}}}}},"ImportKeysResolvableDto":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/ImportKeysResolvableItemDto"}}}},"ImportKeysResolvableItemDto":{"required":["name","translations"],"type":"object","properties":{"name":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"namespace":{"type":"string","description":"The namespace of the key. (When empty or null default namespace will be used)"},"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ImportTranslationResolvableDto"},"description":"Object mapping language tag to translation"}}},"ImportTranslationResolvableDto":{"required":["resolution","text"],"type":"object","properties":{"text":{"type":"string","description":"Translation text","example":"Hello! I am a translation!"},"resolution":{"type":"string","description":"Determines, how conflict is resolved.\n\n- KEEP: Translation is not changed\n- OVERRIDE: Translation is overridden\n- NEW: New translation is created\n- FORCE_OVERRIDE: Translation is updated, created or kept.\n","example":"OVERRIDE","enum":["KEEP","OVERRIDE","NEW","FORCE_OVERRIDE"]}},"description":"Object mapping language tag to translation"},"KeyImportResolvableResultModel":{"required":["keys","screenshots"],"type":"object","properties":{"keys":{"type":"array","description":"List of keys","items":{"$ref":"#/components/schemas/KeyModel"}},"screenshots":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ScreenshotModel"},"description":"Map uploadedImageId to screenshot"}}},"ImportKeysDto":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/ImportKeysItemDto"}}}},"ImportKeysItemDto":{"required":["name","translations"],"type":"object","properties":{"name":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"namespace":{"type":"string","description":"The namespace of the key. (When empty or null default namespace will be used)"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"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!"}},"tags":{"type":"array","description":"Tags of the key","example":["homepage","user-profile"],"items":{"type":"string","description":"Tags of the key","example":"[\"homepage\",\"user-profile\"]"}}}},"CreateKeyDto":{"required":["isPlural","name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the key"},"namespace":{"type":"string"},"translations":{"type":"object","additionalProperties":{"type":"string"}},"states":{"type":"object","additionalProperties":{"type":"string","description":"Translation states to update, if not provided states won't be modified","enum":["TRANSLATED","REVIEWED"]},"description":"Translation states to update, if not provided states won't be modified"},"tags":{"type":"array","items":{"type":"string"}},"screenshotUploadedImageIds":{"type":"array","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","items":{"type":"integer","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","format":"int64"}},"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key","example":"This key is used on homepage. It's a label of sign up button."},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor"},"pluralArgName":{"type":"string","description":"The argument name for the plural. If null, value will be guessed from the values provided in translations."}}},"StorageTestResult":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"},"message":{"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_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","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","address_part_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","plan_auto_assignment_organization_ids_not_in_for_organization_ids","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"]},"params":{"type":"array","items":{"type":"object"}}}},"CreateTranslationOrderRequest":{"required":["agencyId","sendReadOnlyInvitation","tasks"],"type":"object","properties":{"agencyId":{"type":"integer","format":"int64"},"tasks":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/CreateTaskRequest"}},"sendReadOnlyInvitation":{"type":"boolean"}}},"UntagKeysRequest":{"required":["keyIds","tags"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"tags":{"type":"array","items":{"type":"string"}}}},"BatchJobModel":{"required":["createdAt","id","progress","status","totalItems","type","updatedAt"],"type":"object","properties":{"id":{"type":"integer","description":"Batch job id","format":"int64"},"status":{"type":"string","description":"Status of the batch job","enum":["PENDING","RUNNING","SUCCESS","FAILED","CANCELLED","DEBOUNCED"]},"type":{"type":"string","description":"Type of the batch job","enum":["PRE_TRANSLATE_BT_TM","MACHINE_TRANSLATE","AUTO_TRANSLATE","DELETE_KEYS","SET_TRANSLATIONS_STATE","CLEAR_TRANSLATIONS","COPY_TRANSLATIONS","TAG_KEYS","UNTAG_KEYS","SET_KEYS_NAMESPACE","AUTOMATION"]},"progress":{"type":"integer","description":"Total items, that have been processed so far","format":"int32"},"totalItems":{"type":"integer","description":"Total items","format":"int32"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","description":"The time when the job created","format":"int64"},"updatedAt":{"type":"integer","description":"The time when the job was last updated (status change)","format":"int64"},"activityRevisionId":{"type":"integer","description":"The activity revision id, that stores the activity details of the job","format":"int64"},"errorMessage":{"type":"string","description":"If the job failed, this is the error message"}}},"TagKeysRequest":{"required":["keyIds","tags"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"tags":{"type":"array","items":{"type":"string"}}}},"SetTranslationsStateStateRequest":{"required":["keyIds","languageIds","state"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"languageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}},"state":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},"SetKeysNamespaceRequest":{"required":["keyIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"namespace":{"maxLength":100,"minLength":0,"type":"string"}}},"PreTranslationByTmRequest":{"required":["keyIds","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"MachineTranslationRequest":{"required":["keyIds","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"DeleteKeysRequest":{"required":["keyIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CopyTranslationRequest":{"required":["keyIds","sourceLanguageId","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"sourceLanguageId":{"minimum":1,"type":"integer","format":"int64"},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"ClearTranslationsRequest":{"required":["keyIds","languageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"languageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"ImportFileMapping":{"required":["fileName"],"type":"object","properties":{"fileName":{"type":"string","description":"Name of the file to import. This is the name of the file provided in `files` request part or in uploaded archive."},"namespace":{"type":"string","description":"Namespace to import the file to. If not provided, the key will be imported without namespace."},"format":{"type":"string","description":"Format of the file. If not provided, Tolgee will try to guess the format from the file name or file contents.\n\nIt is recommended to provide these values to prevent any issues with format detection.","enum":["CSV_ICU","CSV_JAVA","CSV_PHP","CSV_RUBY","JSON_I18NEXT","JSON_ICU","JSON_JAVA","JSON_PHP","JSON_RUBY","JSON_C","PO_PHP","PO_C","PO_JAVA","PO_ICU","PO_RUBY","STRINGS","STRINGSDICT","APPLE_XLIFF","PROPERTIES_ICU","PROPERTIES_JAVA","PROPERTIES_UNKNOWN","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","YAML_RUBY","YAML_JAVA","YAML_ICU","YAML_PHP","YAML_UNKNOWN","XLIFF_ICU","XLIFF_JAVA","XLIFF_PHP","XLIFF_RUBY","RESX_ICU"]},"languageTag":{"type":"string","description":"The existing language tag in the Tolgee platform to which the imported language should be mapped.\n\nWhen null, Tolgee will try to guess the language from the file contents or file name."}},"description":"Definition of mapping for each file to import."},"LanguageMapping":{"required":["importLanguage","platformLanguageTag"],"type":"object","properties":{"importLanguage":{"type":"string","description":"The language from the imported file.\n\nFor xliff files, this is the `source-language` or the `target-language` attribute value of `file` element.","example":"en-US"},"platformLanguageTag":{"type":"string","description":"The tag of language existing in the Tolgee platform to which the imported language should be mapped.","example":"en-US"}},"description":"Maps the languages from imported files to languages existing in the Tolgee platform.\n\nUse this field only when your files contain multiple languages (e.g., XLIFF files).\n\nOtherwise, use the `languageTag` property of `fileMappings`.\n\nExample: In xliff files, there are `source-language` and `target-language` attributes defined on `file` element. Using this field you can map source and target values to languages stored in the Tolgee Platform."},"SingleStepImportRequest":{"required":["convertPlaceholdersToIcu","createNewKeys","fileMappings","forceMode","overrideKeyDescriptions","tagNewKeys"],"type":"object","properties":{"structureDelimiter":{"type":"string","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","example":"."},"forceMode":{"type":"string","description":"Whether to override existing translation data.\n\nWhen set to `KEEP`, existing translations will be kept.\n\nWhen set to `OVERRIDE`, existing translations will be overwrote.\n\nWhen set to `NO_FORCE`, error will be thrown on conflict.","enum":["OVERRIDE","KEEP","NO_FORCE"]},"languageMappings":{"type":"array","description":"Maps the languages from imported files to languages existing in the Tolgee platform.\n\nUse this field only when your files contain multiple languages (e.g., XLIFF files).\n\nOtherwise, use the `languageTag` property of `fileMappings`.\n\nExample: In xliff files, there are `source-language` and `target-language` attributes defined on `file` element. Using this field you can map source and target values to languages stored in the Tolgee Platform.","items":{"$ref":"#/components/schemas/LanguageMapping"}},"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"},"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"},"fileMappings":{"type":"array","description":"Definition of mapping for each file to import.","items":{"$ref":"#/components/schemas/ImportFileMapping"}},"tagNewKeys":{"type":"array","description":"Keys created by this import will be tagged with these tags. It add tags only to new keys. The keys that already exist will not be tagged.","items":{"type":"string","description":"Keys created by this import will be tagged with these tags. It add tags only to new keys. The keys that already exist will not be tagged."}},"removeOtherKeys":{"type":"boolean","description":"If yes, keys from project that were not included in import will be deleted."}}},"ImportAddFilesResultModel":{"required":["errors","warnings"],"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorResponseBody"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ErrorResponseBody"}},"result":{"$ref":"#/components/schemas/PagedModelImportLanguageModel"}}},"ImportLanguageModel":{"required":["conflictCount","id","importFileId","importFileIssueCount","importFileName","name","resolvedCount","totalCount"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"existingLanguageId":{"type":"integer","format":"int64"},"existingLanguageTag":{"type":"string"},"existingLanguageAbbreviation":{"type":"string"},"existingLanguageName":{"type":"string"},"importFileName":{"type":"string"},"importFileId":{"type":"integer","format":"int64"},"importFileIssueCount":{"type":"integer","format":"int32"},"namespace":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"conflictCount":{"type":"integer","format":"int32"},"resolvedCount":{"type":"integer","format":"int32"}}},"PageMetadata":{"type":"object","properties":{"size":{"type":"integer","format":"int64"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int64"},"number":{"type":"integer","format":"int64"}}},"PagedModelImportLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/ImportLanguageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ExportParams":{"required":["format","supportArrays","zip"],"type":"object","properties":{"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"zip":{"type":"boolean"},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"}}},"BigMetaDto":{"type":"object","properties":{"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}}}},"TranslationCommentWithLangKeyDto":{"required":["keyId","languageId","state","text"],"type":"object","properties":{"keyId":{"type":"integer","format":"int64"},"languageId":{"type":"integer","format":"int64"},"text":{"type":"string"},"state":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}}},"TranslationWithCommentModel":{"required":["comment","translation"],"type":"object","properties":{"translation":{"$ref":"#/components/schemas/TranslationModel"},"comment":{"$ref":"#/components/schemas/TranslationCommentModel"}}},"SuggestRequestDto":{"required":["targetLanguageId"],"type":"object","properties":{"keyId":{"type":"integer","description":"Key Id to get results for. Use when key is stored already.","format":"int64"},"targetLanguageId":{"type":"integer","format":"int64"},"baseText":{"type":"string","description":"Text value of base translation. Useful, when base translation is not stored yet."},"isPlural":{"type":"boolean","description":"Whether base text is plural. This value is ignored if baseText is null."},"services":{"uniqueItems":true,"type":"array","description":"List of services to use. If null, then all enabled services are used.","items":{"type":"string","description":"List of services to use. If null, then all enabled services are used.","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"plural":{"type":"boolean","writeOnly":true}}},"PagedModelTranslationMemoryItemModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translationMemoryItems":{"type":"array","items":{"$ref":"#/components/schemas/TranslationMemoryItemModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"TranslationMemoryItemModel":{"required":["baseText","keyName","similarity","targetText"],"type":"object","properties":{"targetText":{"type":"string"},"baseText":{"type":"string"},"keyName":{"type":"string"},"similarity":{"type":"number","format":"float"}}},"SuggestResultModel":{"required":["baseBlank"],"type":"object","properties":{"machineTranslations":{"type":"object","additionalProperties":{"type":"string","description":"String translations provided by enabled services. (deprecated, use `result` instead)","example":"\n {\n \"GOOGLE\": \"This was translated by Google\",\n \"TOLGEE\": \"This was translated by Tolgee Translator\",\n }\n ","deprecated":true},"description":"String translations provided by enabled services. (deprecated, use `result` instead)","example":"\n {\n \"GOOGLE\": \"This was translated by Google\",\n \"TOLGEE\": \"This was translated by Tolgee Translator\",\n }\n ","deprecated":true},"result":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationItemModel"},"description":"Results provided by enabled services.","example":{"GOOGLE":{"output":"This was translated by Google","contextDescription":null},"TOLGEE":{"output":"This was translated by Tolgee Translator","contextDescription":"This is an example in swagger"}}},"baseBlank":{"type":"boolean","description":"If true, the base translation was empty and no translation was provided."}}},"TranslationItemModel":{"required":["output"],"type":"object","properties":{"output":{"type":"string"},"contextDescription":{"type":"string"}},"description":"Results provided by enabled services.","example":{"GOOGLE":{"output":"This was translated by Google","contextDescription":null},"TOLGEE":{"output":"This was translated by Tolgee Translator","contextDescription":"This is an example in swagger"}}},"ScreenshotInfoDto":{"type":"object","properties":{"text":{"type":"string"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotPositionDto"}},"location":{"type":"string"}}},"CreatePatDto":{"required":["description"],"type":"object","properties":{"description":{"type":"string","description":"Description of the PAT"},"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null, token never expires.","format":"int64","example":1661172869000}}},"ConnectToSlackDto":{"required":["code"],"type":"object","properties":{"code":{"type":"string"}}},"ImageUploadInfoDto":{"type":"object","properties":{"location":{"type":"string"}}},"UploadedImageModel":{"required":["createdAt","fileUrl","filename","id","requestFilename"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"filename":{"type":"string"},"fileUrl":{"type":"string"},"requestFilename":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"location":{"type":"string"}}},"CreateApiKeyDto":{"required":["projectId","scopes"],"type":"object","properties":{"projectId":{"minimum":1,"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"description":{"type":"string","description":"Description of the project API key"},"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"LoginRequest":{"required":["password","username"],"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"otp":{"type":"string"}}},"DomainRequest":{"required":["domain","state"],"type":"object","properties":{"domain":{"type":"string"},"state":{"type":"string"}}},"SsoUrlResponse":{"required":["redirectUrl"],"type":"object","properties":{"redirectUrl":{"type":"string"}}},"CollectionModelSimpleOrganizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/SimpleOrganizationModel"}}}}}},"PagedModelTaskWithProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/TaskWithProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"SimpleProjectModel":{"required":["icuPlaceholders","id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"icuPlaceholders":{"type":"boolean"}}},"TaskWithProjectModel":{"required":["assignees","baseCharacterCount","baseWordCount","description","doneItems","language","name","number","project","state","totalItems","type"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"language":{"$ref":"#/components/schemas/LanguageModel"},"dueDate":{"type":"integer","format":"int64"},"assignees":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}},"totalItems":{"type":"integer","format":"int64"},"doneItems":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","format":"int64"},"closedAt":{"type":"integer","format":"int64"},"state":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]},"project":{"$ref":"#/components/schemas/SimpleProjectModel"},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"UserPreferencesModel":{"type":"object","properties":{"language":{"type":"string"},"preferredOrganizationId":{"type":"integer","format":"int64"}}},"SlackUserInfoModel":{"required":["slackAvatar","slackId","teamName"],"type":"object","properties":{"teamName":{"type":"string"},"slackName":{"type":"string"},"slackId":{"type":"string"},"slackRealName":{"type":"string"},"slackAvatar":{"type":"string"}}},"HierarchyItem":{"required":["requires","scope"],"type":"object","properties":{"scope":{"type":"string","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]},"requires":{"type":"array","items":{"$ref":"#/components/schemas/HierarchyItem"}}}},"MachineTranslationProviderModel":{"type":"object","properties":{"supportedLanguages":{"type":"array","description":"BCP 47 tags of languages supported by the translation service. When null, all possible languages are supported. \n\nPlease note that Tolgee tries to fall back to a higher subtag if the subtag is not supported.\n\nE.g., if `pt-BR` is not supported. Tolgee fallbacks to `pt`.","items":{"type":"string","description":"BCP 47 tags of languages supported by the translation service. When null, all possible languages are supported. \n\nPlease note that Tolgee tries to fall back to a higher subtag if the subtag is not supported.\n\nE.g., if `pt-BR` is not supported. Tolgee fallbacks to `pt`."}}}},"AnnouncementDto":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["FEATURE_BATCH_OPERATIONS","FEATURE_MT_FORMALITY","FEATURE_CONTENT_DELIVERY_AND_WEBHOOKS","NEW_PRICING","FEATURE_AI_CUSTOMIZATION","FEATURE_VISUAL_EDITOR","FEATURE_CLI_2","FEATURE_TASKS"]}}},"AuthMethodsDTO":{"required":["github","google","oauth2","ssoGlobal","ssoOrganizations"],"type":"object","properties":{"github":{"$ref":"#/components/schemas/OAuthPublicConfigDTO"},"google":{"$ref":"#/components/schemas/OAuthPublicConfigDTO"},"oauth2":{"$ref":"#/components/schemas/OAuthPublicExtendsConfigDTO"},"ssoGlobal":{"$ref":"#/components/schemas/SsoGlobalPublicConfigDTO"},"ssoOrganizations":{"$ref":"#/components/schemas/SsoOrganizationsPublicConfigDTO"}}},"MtServiceDTO":{"required":["defaultEnabledForProject","enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"defaultEnabledForProject":{"type":"boolean"}}},"MtServicesDTO":{"required":["services"],"type":"object","properties":{"defaultPrimaryService":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"services":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MtServiceDTO"}}}},"OAuthPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"clientId":{"type":"string"},"enabled":{"type":"boolean"}}},"OAuthPublicExtendsConfigDTO":{"required":["enabled"],"type":"object","properties":{"clientId":{"type":"string"},"authorizationUrl":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"}}},"PlausibleDto":{"required":["scriptUrl","url"],"type":"object","properties":{"domain":{"type":"string"},"url":{"type":"string"},"scriptUrl":{"type":"string"}}},"PublicBillingConfigurationDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"}}},"PublicConfigurationDTO":{"required":["allowRegistrations","appName","authentication","billing","contentDeliveryConfigured","internalControllerEnabled","machineTranslationServices","maxTranslationTextLength","maxUploadFileSize","nativeEnabled","needsEmailVerification","passwordResettable","plausible","screenshotsUrl","showVersion","slack","userCanCreateOrganizations","userSourceField","version"],"type":"object","properties":{"machineTranslationServices":{"$ref":"#/components/schemas/MtServicesDTO"},"billing":{"$ref":"#/components/schemas/PublicBillingConfigurationDTO"},"version":{"type":"string"},"authentication":{"type":"boolean"},"authMethods":{"$ref":"#/components/schemas/AuthMethodsDTO"},"nativeEnabled":{"type":"boolean"},"passwordResettable":{"type":"boolean"},"allowRegistrations":{"type":"boolean"},"screenshotsUrl":{"type":"string"},"maxUploadFileSize":{"type":"integer","format":"int32"},"clientSentryDsn":{"type":"string"},"needsEmailVerification":{"type":"boolean"},"userCanCreateOrganizations":{"type":"boolean"},"appName":{"type":"string"},"showVersion":{"type":"boolean"},"internalControllerEnabled":{"type":"boolean"},"maxTranslationTextLength":{"type":"integer","format":"int64"},"recaptchaSiteKey":{"type":"string"},"chatwootToken":{"type":"string"},"capterraTracker":{"type":"string"},"ga4Tag":{"type":"string"},"postHogApiKey":{"type":"string"},"postHogHost":{"type":"string"},"contentDeliveryConfigured":{"type":"boolean"},"userSourceField":{"type":"boolean"},"plausible":{"$ref":"#/components/schemas/PlausibleDto"},"slack":{"$ref":"#/components/schemas/SlackDTO"}}},"SlackDTO":{"required":["connected","enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"connected":{"type":"boolean"}}},"SsoGlobalPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"clientId":{"type":"string"},"domain":{"type":"string"},"customLogoUrl":{"type":"string"},"customLoginText":{"type":"string"}}},"SsoOrganizationsPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"}}},"CollectionModelExportFormatModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"exportFormats":{"type":"array","items":{"$ref":"#/components/schemas/ExportFormatModel"}}}}}},"ExportFormatModel":{"required":["defaultFileStructureTemplate","extension","format","mediaType"],"type":"object","properties":{"format":{"type":"string","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"extension":{"type":"string"},"mediaType":{"type":"string"},"defaultFileStructureTemplate":{"type":"string"}}},"CollectionModelCloudPlanModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/CloudPlanModel"}}}}}},"CollectionModelMtCreditsPriceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"prices":{"type":"array","items":{"$ref":"#/components/schemas/MtCreditsPriceModel"}}}}}},"MtCreditsPriceModel":{"required":["amount","id","price"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"price":{"type":"number"},"amount":{"type":"integer","format":"int64"}}},"PagedModelProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/ProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelWebhookConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"webhookConfigs":{"type":"array","items":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelUserAccountInProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountInProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountInProjectModel":{"required":["computedPermission","id","organizationBasePermission","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"organizationBasePermission":{"$ref":"#/components/schemas/PermissionModel"},"directPermission":{"$ref":"#/components/schemas/PermissionWithAgencyModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"}}},"CollectionModelUsedNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/UsedNamespaceModel"}}}}}},"UsedNamespaceModel":{"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace. Null for default namespace.","format":"int64","example":10000048},"name":{"type":"string","description":"Name of namespace. Null if default.","example":"homepage"}}},"TaskPerUserReportModel":{"required":["baseCharacterCount","baseWordCount","doneItems","user"],"type":"object","properties":{"user":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"doneItems":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"}}},"TaskKeysResponse":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"type":"integer","format":"int64"}}}},"PagedModelSimpleUserAccountModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTaskModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/TaskModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/NamespaceModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelLanguageInfoModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languageInfos":{"type":"array","items":{"$ref":"#/components/schemas/LanguageInfoModel"}}}}}},"LanguageInfoModel":{"required":["supportedServices"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"supportedServices":{"type":"array","items":{"$ref":"#/components/schemas/MtSupportedService"}}}},"MtSupportedService":{"required":["formalitySupported","serviceType"],"type":"object","properties":{"serviceType":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"formalitySupported":{"type":"boolean"}}},"KeySearchResultView":{"required":["id","name"],"type":"object","properties":{"translation":{"type":"string"},"baseTranslation":{"type":"string"},"description":{"type":"string"},"namespace":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"KeySearchSearchResultModel":{"required":["id","name"],"type":"object","properties":{"view":{"$ref":"#/components/schemas/KeySearchResultView"},"translation":{"type":"string"},"baseTranslation":{"type":"string"},"description":{"type":"string"},"namespace":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"PagedModelKeySearchSearchResultModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeySearchSearchResultModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelContentStorageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"contentStorages":{"type":"array","items":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelContentDeliveryConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"contentDeliveryConfigs":{"type":"array","items":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PreferredAgencyResponse":{"type":"object","properties":{"preferredAgencyId":{"type":"integer","format":"int64"}}},"CollectionModelKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyModel"}}}}}},"CollectionModelKeyDisabledLanguagesModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyDisabledLanguagesModel"}}}}}},"KeyDisabledLanguageModel":{"required":["id","tag"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tag":{"type":"string"}},"description":"Disabled languages"},"KeyDisabledLanguagesModel":{"required":["disabledLanguages","id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"disabledLanguages":{"type":"array","description":"Disabled languages","items":{"$ref":"#/components/schemas/KeyDisabledLanguageModel"}}}},"EntityDescriptionWithRelations":{"required":["data","entityClass","entityId"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"data":{"type":"object","additionalProperties":{"type":"object"}}}},"ExistenceEntityDescription":{"required":["data","entityClass","entityId","relations"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"data":{"type":"object","additionalProperties":{"type":"object"}},"relations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EntityDescriptionWithRelations"}},"exists":{"type":"boolean"}}},"ModifiedEntityModel":{"required":["entityClass","entityId"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"description":{"type":"object","additionalProperties":{"type":"object"}},"modifications":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PropertyModification"}},"relations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ExistenceEntityDescription"}},"exists":{"type":"boolean"}}},"PagedModelModifiedEntityModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"modifiedEntities":{"type":"array","items":{"$ref":"#/components/schemas/ModifiedEntityModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PropertyModification":{"type":"object","properties":{"old":{"type":"object"},"new":{"type":"object"}}},"ProjectActivityAuthorModel":{"required":["deleted","id"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"deleted":{"type":"boolean"}}},"ProjectActivityModel":{"required":["revisionId","timestamp","type"],"type":"object","properties":{"revisionId":{"type":"integer","format":"int64"},"timestamp":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["UNKNOWN","SET_TRANSLATION_STATE","SET_TRANSLATIONS","DISMISS_AUTO_TRANSLATED_STATE","SET_OUTDATED_FLAG","TRANSLATION_COMMENT_ADD","TRANSLATION_COMMENT_DELETE","TRANSLATION_COMMENT_EDIT","TRANSLATION_COMMENT_SET_STATE","SCREENSHOT_DELETE","SCREENSHOT_ADD","KEY_TAGS_EDIT","KEY_NAME_EDIT","KEY_DELETE","CREATE_KEY","COMPLEX_EDIT","IMPORT","CREATE_LANGUAGE","EDIT_LANGUAGE","DELETE_LANGUAGE","HARD_DELETE_LANGUAGE","CREATE_PROJECT","EDIT_PROJECT","NAMESPACE_EDIT","BATCH_PRE_TRANSLATE_BY_TM","BATCH_MACHINE_TRANSLATE","AUTO_TRANSLATE","BATCH_CLEAR_TRANSLATIONS","BATCH_COPY_TRANSLATIONS","BATCH_SET_TRANSLATION_STATE","BATCH_TAG_KEYS","BATCH_UNTAG_KEYS","BATCH_SET_KEYS_NAMESPACE","AUTOMATION","CONTENT_DELIVERY_CONFIG_CREATE","CONTENT_DELIVERY_CONFIG_UPDATE","CONTENT_DELIVERY_CONFIG_DELETE","CONTENT_STORAGE_CREATE","CONTENT_STORAGE_UPDATE","CONTENT_STORAGE_DELETE","WEBHOOK_CONFIG_CREATE","WEBHOOK_CONFIG_UPDATE","WEBHOOK_CONFIG_DELETE","COMPLEX_TAG_OPERATION","TASKS_CREATE","TASK_CREATE","TASK_UPDATE","TASK_KEYS_UPDATE","TASK_FINISH","TASK_CLOSE","TASK_REOPEN","TASK_KEY_UPDATE","ORDER_TRANSLATION"]},"author":{"$ref":"#/components/schemas/ProjectActivityAuthorModel"},"modifiedEntities":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ModifiedEntityModel"}}},"meta":{"type":"object","additionalProperties":{"type":"object"}},"counts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"params":{"type":"object"}}},"PagedModelProjectActivityModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"activities":{"type":"array","items":{"$ref":"#/components/schemas/ProjectActivityModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTagModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelBatchJobModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"batchJobs":{"type":"array","items":{"$ref":"#/components/schemas/BatchJobModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CreditBalanceModel":{"required":["bucketSize","creditBalance","extraCreditBalance"],"type":"object","properties":{"creditBalance":{"type":"integer","format":"int64"},"bucketSize":{"type":"integer","format":"int64"},"extraCreditBalance":{"type":"integer","format":"int64"}}},"CollectionModelKeyWithBaseTranslationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithBaseTranslationModel"}}}}}},"KeyWithBaseTranslationModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"baseTranslation":{"type":"string","description":"Base translation","example":"This is translation"}}},"ImportTranslationModel":{"required":["existingKeyIsPlural","id","isPlural","keyId","keyName","override","resolved"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"text":{"type":"string"},"keyName":{"type":"string"},"keyId":{"type":"integer","format":"int64"},"keyDescription":{"type":"string"},"conflictId":{"type":"integer","format":"int64"},"conflictText":{"type":"string"},"override":{"type":"boolean"},"resolved":{"type":"boolean"},"isPlural":{"type":"boolean"},"existingKeyIsPlural":{"type":"boolean"}}},"PagedModelImportTranslationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translations":{"type":"array","items":{"$ref":"#/components/schemas/ImportTranslationModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ImportFileIssueModel":{"required":["id","params","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["KEY_IS_NOT_STRING","MULTIPLE_VALUES_FOR_KEY_AND_LANGUAGE","VALUE_IS_NOT_STRING","KEY_IS_EMPTY","VALUE_IS_EMPTY","PO_MSGCTXT_NOT_SUPPORTED","ID_ATTRIBUTE_NOT_PROVIDED","TARGET_NOT_PROVIDED","TRANSLATION_TOO_LONG","KEY_IS_BLANK","TRANSLATION_DEFINED_IN_ANOTHER_FILE","INVALID_CUSTOM_VALUES","DESCRIPTION_TOO_LONG"]},"params":{"type":"array","items":{"$ref":"#/components/schemas/ImportFileIssueParamModel"}}}},"ImportFileIssueParamModel":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["KEY_NAME","KEY_ID","LANGUAGE_ID","KEY_INDEX","VALUE","LINE","FILE_NODE_ORIGINAL","LANGUAGE_NAME"]},"value":{"type":"string"}}},"PagedModelImportFileIssueModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"importFileIssues":{"type":"array","items":{"$ref":"#/components/schemas/ImportFileIssueModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelImportNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/ImportNamespaceModel"}}}}}},"ImportNamespaceModel":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace. When null, namespace doesn't exist and will be created by import.","format":"int64","example":10000048},"name":{"type":"string","example":"homepage"}}},"CollectionModelBatchJobModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"batchJobs":{"type":"array","items":{"$ref":"#/components/schemas/BatchJobModel"}}}}}},"PagedModelTranslationCommentModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translationComments":{"type":"array","items":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTranslationHistoryModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"revisions":{"type":"array","items":{"$ref":"#/components/schemas/TranslationHistoryModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"TranslationHistoryModel":{"required":["revisionType","timestamp"],"type":"object","properties":{"modifications":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PropertyModification"},"description":"Modified fields"},"timestamp":{"type":"integer","description":"Unix timestamp of the revision","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"revisionType":{"type":"string","enum":["ADD","MOD","DEL"]}}},"SelectAllResponse":{"required":["ids"],"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer","format":"int64"}}}},"KeyTaskViewModel":{"required":["done","languageId","languageTag","number","type","userAssigned"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"done":{"type":"boolean"},"userAssigned":{"type":"boolean"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]}},"description":"Tasks related to this key"},"KeyWithTranslationsModel":{"required":["contextPresent","keyId","keyIsPlural","keyName","keyTags","screenshotCount","translations"],"type":"object","properties":{"keyId":{"type":"integer","description":"Id of key record","format":"int64"},"keyName":{"type":"string","description":"Name of key","example":"this_is_super_key"},"keyIsPlural":{"type":"boolean","description":"Is this key a plural?","example":true},"keyPluralArgName":{"type":"string","description":"The placeholder name for plural parameter","example":"value"},"keyNamespaceId":{"type":"integer","description":"The namespace id of the key","format":"int64","example":100000282},"keyNamespace":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyDescription":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyTags":{"type":"array","description":"Tags of key","items":{"$ref":"#/components/schemas/TagModel"}},"screenshotCount":{"type":"integer","description":"Count of screenshots provided for the key","format":"int64","example":1},"screenshots":{"type":"array","description":"Key screenshots. Not provided when API key hasn't screenshots.view scope permission.","items":{"$ref":"#/components/schemas/ScreenshotModel"}},"contextPresent":{"type":"boolean","description":"There is a context available for this key"},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationViewModel"},"description":"Translations object","example":"\n {\n \"en\": {\n \"id\": 100000003, \n \"text\": \"This is super translation!\"\n \"state\": \"TRANSLATED\",\n \"commentCount\": 1\n }\n }\n "},"tasks":{"type":"array","description":"Tasks related to this key","items":{"$ref":"#/components/schemas/KeyTaskViewModel"}}}},"KeysWithTranslationsPageModel":{"required":["selectedLanguages"],"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithTranslationsModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"},"selectedLanguages":{"type":"array","description":"Provided languages data","items":{"$ref":"#/components/schemas/LanguageModel"}},"nextCursor":{"type":"string","description":"Cursor to get next data","example":"eyJrZXlJZCI6eyJkaXJlY3Rpb24iOiJBU0MiLCJ2YWx1ZSI6IjEwMDAwMDAxMjAifX0="}}},"TranslationViewModel":{"required":["auto","commentCount","fromTranslationMemory","id","outdated","state","unresolvedCommentCount"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation record","format":"int64"},"text":{"type":"string","description":"Translation text"},"state":{"type":"string","description":"State of translation","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]},"outdated":{"type":"boolean","description":"Whether base language translation was changed after this translation was updated"},"auto":{"type":"boolean","description":"Was translated using Translation Memory or Machine translation service?"},"mtProvider":{"type":"string","description":"Which machine translation service was used to auto translate this","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"commentCount":{"type":"integer","description":"Count of translation comments","format":"int64"},"unresolvedCommentCount":{"type":"integer","description":"Count of unresolved translation comments","format":"int64"},"fromTranslationMemory":{"type":"boolean","description":"Was translation memory used to translate this?"}},"description":"Translations object","example":"\n {\n \"en\": {\n \"id\": 100000003, \n \"text\": \"This is super translation!\"\n \"state\": \"TRANSLATED\",\n \"commentCount\": 1\n }\n }\n "},"CollectionModelProjectTransferOptionModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"transferOptions":{"type":"array","items":{"$ref":"#/components/schemas/ProjectTransferOptionModel"}}}}}},"ProjectTransferOptionModel":{"required":["id","name","slug"],"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"LanguageStatsModel":{"required":["reviewedKeyCount","reviewedPercentage","reviewedWordCount","translatedKeyCount","translatedPercentage","translatedWordCount","untranslatedKeyCount","untranslatedPercentage","untranslatedWordCount"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"languageName":{"type":"string"},"languageOriginalName":{"type":"string"},"languageFlagEmoji":{"type":"string"},"translatedKeyCount":{"type":"integer","format":"int64"},"translatedWordCount":{"type":"integer","format":"int64"},"translatedPercentage":{"type":"number","format":"double"},"reviewedKeyCount":{"type":"integer","format":"int64"},"reviewedWordCount":{"type":"integer","format":"int64"},"reviewedPercentage":{"type":"number","format":"double"},"untranslatedKeyCount":{"type":"integer","format":"int64"},"untranslatedWordCount":{"type":"integer","format":"int64"},"untranslatedPercentage":{"type":"number","format":"double"}}},"ProjectStatsModel":{"required":["baseWordsCount","keyCount","languageCount","languageStats","membersCount","projectId","reviewedPercentage","tagCount","taskCount","translatedPercentage"],"type":"object","properties":{"projectId":{"type":"integer","format":"int64"},"languageCount":{"type":"integer","format":"int32"},"keyCount":{"type":"integer","format":"int64"},"taskCount":{"type":"integer","format":"int64"},"baseWordsCount":{"type":"integer","format":"int64"},"translatedPercentage":{"type":"number","format":"double"},"reviewedPercentage":{"type":"number","format":"double"},"membersCount":{"type":"integer","format":"int64"},"tagCount":{"type":"integer","format":"int64"},"languageStats":{"type":"array","items":{"$ref":"#/components/schemas/LanguageStatsModel"}}}},"PagedModelLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelLanguageAiPromptCustomizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"promptCustomizations":{"type":"array","items":{"$ref":"#/components/schemas/LanguageAiPromptCustomizationModel"}}}}}},"CollectionModelProjectInvitationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"invitations":{"type":"array","items":{"$ref":"#/components/schemas/ProjectInvitationModel"}}}}}},"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}},"PagedModelApiKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"apiKeys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelProjectWithStatsModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/ProjectWithStatsModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ProjectStatistics":{"required":["keyCount","languageCount","projectId","translationStatePercentages"],"type":"object","properties":{"projectId":{"type":"integer","format":"int64"},"keyCount":{"type":"integer","format":"int64"},"languageCount":{"type":"integer","format":"int64"},"translationStatePercentages":{"type":"object","additionalProperties":{"type":"number"}}}},"ProjectWithStatsModel":{"required":["computedPermission","icuPlaceholders","id","languages","name","stats"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationOwner":{"$ref":"#/components/schemas/SimpleOrganizationModel"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"directPermission":{"$ref":"#/components/schemas/PermissionModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"},"stats":{"$ref":"#/components/schemas/ProjectStatistics"},"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}},"icuPlaceholders":{"type":"boolean","description":"Whether to disable ICU placeholder visualization in the editor and it's support."}}},"CollectionModelScreenshotModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/ScreenshotModel"}}}}}},"PagedModelPatModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"pats":{"type":"array","items":{"$ref":"#/components/schemas/PatModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PatWithUserModel":{"required":["createdAt","description","id","updatedAt","user"],"type":"object","properties":{"user":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"expiresAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"PagedModelOrganizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelOrganizationInvitationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizationInvitations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationInvitationModel"}}}}}},"PublicUsageModel":{"required":["availablePayAsYouGoMtCredits","creditBalance","creditBalanceNextRefillAt","creditBalanceRefilledAt","currentPayAsYouGoMtCredits","currentTranslationSlots","currentTranslations","extraCreditBalance","includedMtCredits","includedTranslationSlots","includedTranslations","organizationId","translationSlotsLimit","translationsLimit"],"type":"object","properties":{"organizationId":{"type":"integer","format":"int64"},"creditBalance":{"type":"integer","description":"Current balance of standard credits. Standard credits are refilled every month","format":"int64"},"includedMtCredits":{"type":"integer","description":"How many credits are included in your current plan","format":"int64"},"creditBalanceRefilledAt":{"type":"integer","description":"Date when credits were refilled. (In epoch format)","format":"int64"},"creditBalanceNextRefillAt":{"type":"integer","description":"Date when credits will be refilled. (In epoch format)","format":"int64"},"currentPayAsYouGoMtCredits":{"type":"integer","description":"Currently used credits over credits included in plan and extra credits","format":"int64"},"availablePayAsYouGoMtCredits":{"type":"integer","description":"The maximum amount organization can spend on MT credit usage before they reach the spending limit","format":"int64"},"extraCreditBalance":{"type":"integer","description":"Extra credits, which are neither refilled nor reset every month. These credits are used when there are no standard credits","format":"int64"},"translationSlotsLimit":{"type":"integer","description":"How many translations can be stored within your organization","format":"int64"},"includedTranslationSlots":{"type":"integer","description":"How many translation slots are included in current subscription plan. How many translation slots can organization use without additional costs","format":"int64"},"includedTranslations":{"type":"integer","description":"How many translations are included in current subscription plan. How many translations can organization use without additional costs","format":"int64"},"currentTranslationSlots":{"type":"integer","description":"How many translations slots are currently used by organization","format":"int64"},"currentTranslations":{"type":"integer","description":"How many non-empty translations are currently stored by organization","format":"int64"},"translationsLimit":{"type":"integer","description":"How many translations can be stored until reaching the limit. (For pay us you go, the top limit is the spending limit)","format":"int64"}}},"CollectionModelWorkspaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"workspaces":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceModel"}}}}}},"WorkspaceModel":{"required":["id","slackTeamId","slackTeamName"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"slackTeamName":{"type":"string"},"slackTeamId":{"type":"string"}}},"ConnectToSlackUrlModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string"}}},"CollectionModelSelfHostedEePlanModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/SelfHostedEePlanModel"}}}}}},"InvoiceModel":{"required":["createdAt","hasUsage","id","number","pdfReady","total"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"number":{"type":"string","description":"The number on the invoice"},"createdAt":{"type":"integer","format":"int64"},"total":{"type":"number","description":"The Total amount with tax"},"taxRatePercentage":{"type":"number"},"pdfReady":{"type":"boolean","description":"Whether pdf is ready to download. If not, wait around few minutes until it's generated."},"hasUsage":{"type":"boolean"}}},"PagedModelInvoiceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"invoices":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"BillingInfoModel":{"type":"object","properties":{"name":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"state":{"type":"string"},"countryIso":{"type":"string"},"registrationNo":{"type":"string"},"vatNo":{"type":"string"},"email":{"type":"string"}}},"PagedModelUserAccountWithOrganizationRoleModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"usersInOrganization":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountWithOrganizationRoleModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountWithOrganizationRoleModel":{"required":["id","name","projectsWithDirectPermission","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"username":{"type":"string"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"projectsWithDirectPermission":{"type":"array","items":{"$ref":"#/components/schemas/SimpleProjectModel"}},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"ApiKeyWithLanguagesModel":{"required":["description","id","projectId","projectName","scopes"],"type":"object","properties":{"permittedLanguageIds":{"uniqueItems":true,"type":"array","description":"Languages for which user has translate permission.","deprecated":true,"items":{"type":"integer","description":"Languages for which user has translate permission.","format":"int64","deprecated":true}},"userFullName":{"type":"string"},"projectName":{"type":"string"},"projectId":{"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"expiresAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"},"username":{"type":"string"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"ApiKeyPermissionsModel":{"required":["project","projectId","scopes"],"type":"object","properties":{"projectId":{"type":"integer","description":"The API key's project id or the one provided as query param","format":"int64"},"viewLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"translateLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"stateChangeLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if user has assigned granular permissions or if returning API key's permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"project":{"$ref":"#/components/schemas/SimpleProjectModel"}}},"PagedModelUserAccountModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountModel":{"required":["deleted","disabled","globalServerRole","id","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"emailAwaitingVerification":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"globalServerRole":{"type":"string","enum":["USER","ADMIN"]},"deleted":{"type":"boolean"},"disabled":{"type":"boolean"}}},"PublicInvitationModel":{"required":["code","id"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"projectName":{"type":"string"},"organizationName":{"type":"string"}}},"UserTotpDisableRequestDto":{"required":["password"],"type":"object","properties":{"password":{"maxLength":50,"minLength":0,"type":"string"}}},"DeleteKeysDto":{"required":["ids"],"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","description":"IDs of keys to delete","items":{"type":"integer","description":"IDs of keys to delete","format":"int64"}}}}},"securitySchemes":{"JwtToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"SuperJwtToken":{"type":"http","description":"Super JWT token is required for sensitive operations when user has set 2FA. You can obtain super JWT token via `/v2/user/generate-super-token` endpoint. But be careful! Super JWT Token has super powers!","scheme":"bearer","bearerFormat":"JWT"},"ApiKeyInHeader":{"type":"apiKey","name":"X-API-Key","in":"header"},"ApiKeyInQueryParam":{"type":"apiKey","description":"It's not recommended to use API key in query param, since it can be stored in logs.","name":"ak","in":"query"}}}}
\ No newline at end of file
+{"openapi":"3.0.1","info":{"title":"Tolgee API","description":"Tolgee Platform REST API reference","version":"v1.0"},"externalDocs":{"description":"Tolgee documentation","url":"https://tolgee.io"},"servers":[{"url":"https://app.tolgee.io","description":"Generated server url"}],"tags":[{"name":"Localization keys","description":"Manipulates localization keys, their translations and metadata","x-order":3},{"name":"Big Meta","description":"Handles big meta (context) for translation keys. Tolgee automatically stores contextual data about keys to provide this information to Tolgee AI translator."},{"name":"Slack slack commands","description":"Processes Slack slash commands, enabling users to execute specific actions within Slack"},{"name":"Import Settings","description":"These endpoints enable you to store default settings for import. These settings are only used in the UI of Tolgee platform. It's also the default for stateful importing via `/v2/projects/{projectId}/import/*` API endpoints. The settings are stored per user and per project."},{"name":"Languages","description":"Languages","x-order":2},{"name":"Content Delivery","description":"Endpoints for Content Delivery management"},{"name":"Import","description":"These endpoints handle multi-step data import","x-order":5},{"name":"Order translation","description":"Order professional translation"},{"name":"Tasks","description":"Manipulates tasks"},{"name":"API keys","description":"Manage Project API keys"},{"name":"All localization keys","description":"All localization keys in the project"},{"name":"Slack events","description":"Listens for Slack events, such as button clicks, and processes them"},{"name":"User","description":"Manipulates currently authenticated user"},{"name":"Invitations","description":"These endpoints manage inviting new users to projects or organizations"},{"name":"Project Transferring","description":"These endpoints manage transferring projects to other organizations"},{"name":"Tags","description":"Manipulates key tags","x-order":6},{"name":"Namespaces","description":"Manipulates key namespaces","x-order":7},{"name":"Server Administration","description":"**Only for self-hosted instances** \n\nManagees global Tolgee Platform instance data e.g., user accounts and organizations."},{"name":"Slack user login","description":"Connects Slack account with user account in Tolgee"},{"name":"Translations","description":"Operations related to translations in project","x-order":4},{"name":"Scope Info","description":"Returns info about permission scopes"},{"name":"Translation Comments","description":"Operations related to translation comments"},{"name":"Projects","x-order":1},{"name":"Export","x-order":4}],"paths":{"/v2/user":{"get":{"tags":["User"],"summary":"Get user info","description":"Returns information about currently authenticated user.","operationId":"getInfo_2","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"put":{"tags":["User"],"summary":"Update user","description":"Updates current user's profile information.","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequestDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":2},"delete":{"tags":["User"],"summary":"Delete user","operationId":"delete","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6}},"/v2/user/password":{"put":{"tags":["User"],"summary":"Update password","description":"Updates current user's password. Invalidates all previous sessions upon success.","operationId":"updateUserPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePasswordRequestDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":3}},"/v2/user/mfa/totp":{"put":{"tags":["User Multi-Factor Authentication"],"summary":"Enable TOTP","description":"Enables TOTP-based two-factor authentication. Invalidates all previous sessions upon success.","operationId":"enableMfa","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTotpEnableRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"delete":{"tags":["User Multi-Factor Authentication"],"summary":"Disable TOTP","description":"Disables TOTP-based two-factor authentication. Invalidates all previous sessions upon success.","operationId":"disableMfa","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTotpDisableRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/mfa/recovery":{"put":{"tags":["User Multi-Factor Authentication"],"summary":"Regenerate Codes","description":"Regenerates multi-factor authentication recovery codes","operationId":"regenerateRecoveryCodes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMfaRecoveryRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/avatar":{"put":{"tags":["User"],"summary":"Upload avatar","operationId":"uploadAvatar","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":4},"delete":{"tags":["User"],"summary":"Delete avatar","operationId":"removeAvatar","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":5}},"/v2/user-preferences/set-preferred-organization/{organizationId}":{"put":{"tags":["User preferences"],"summary":"Set user preferred organization","operationId":"setPreferredOrganization","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user-preferences/set-language/{languageTag}":{"put":{"tags":["User preferences"],"summary":"Set user's UI language","operationId":"setLanguage","parameters":[{"name":"languageTag","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/steps/{step}/complete":{"put":{"tags":["Quick start"],"summary":"Complete guide step","description":"Marks guide step as completed","operationId":"completeGuideStep","parameters":[{"name":"step","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/set-open/{open}":{"put":{"tags":["Quick start"],"summary":"Set open state","description":"Sets open state of the quick start guide","operationId":"setOpenState","parameters":[{"name":"open","in":"path","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/quick-start/set-finished/{finished}":{"put":{"tags":["Quick start"],"summary":"Set finished state","description":"Sets finished state of the quick start guide","operationId":"setFinishedState","parameters":[{"name":"finished","in":"path","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickStartModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Get one project","operationId":"get_4","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Projects"],"summary":"Update project settings","operationId":"editProject","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}],"x-order":4},"delete":{"tags":["Projects"],"summary":"Delete project","operationId":"deleteProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/webhook-configs/{id}":{"get":{"tags":["Webhooks configuration"],"summary":"Get one webhook configuration","operationId":"get_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"put":{"tags":["Webhooks configuration"],"summary":"Update webhook configuration","operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"delete":{"tags":["Webhooks configuration"],"summary":"Delete webhook configuration","operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/users/{userId}/set-permissions":{"put":{"tags":["Advanced permissions"],"summary":"Set user's project permission","description":"Set user's granular (scope-based) direct project permission","operationId":"setUsersPermissions","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"scopes","in":"query","description":"Granted scopes","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":["translations.view","translations.edit"]},{"name":"languages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"translateLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"viewLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"stateChangeLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/users/{userId}/set-permissions/{permissionType}":{"put":{"tags":["Projects"],"summary":"Set direct permission to user","operationId":"setUsersPermissions_1","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"permissionType","in":"path","required":true,"schema":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}},{"name":"languages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"translateLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"viewLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"stateChangeLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/users/{userId}/set-by-organization":{"put":{"tags":["Projects"],"summary":"Remove direct project permission","description":"Removes user's direct project permission, explicitly set for the project. User will have now base permissions from organization or no permission if they're not organization member.","operationId":"setOrganizationBase","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/users/{userId}/revoke-access":{"put":{"tags":["Projects"],"summary":"Revoke project access","operationId":"revokePermission","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/reopen":{"put":{"tags":["Tasks"],"summary":"Reopen task","operationId":"reopenTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":8}},"/v2/projects/{projectId}/tasks/{taskNumber}/keys/{keyId}":{"put":{"tags":["Tasks"],"summary":"Update task key","description":"Mark key as done, which updates task progress.","operationId":"updateTaskKey","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeyRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/keys":{"get":{"tags":["Tasks"],"summary":"Get task keys","operationId":"getTaskKeys","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskKeysResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Tasks"],"summary":"Add or remove task keys","operationId":"updateTaskKeys","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/finish":{"put":{"tags":["Tasks"],"summary":"Finish task","operationId":"finishTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":6}},"/v2/projects/{projectId}/tasks/{taskNumber}/close":{"put":{"tags":["Tasks"],"summary":"Close task","operationId":"closeTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":7}},"/v2/projects/{projectId}/tasks/{taskNumber}":{"get":{"tags":["Tasks"],"summary":"Get task","operationId":"getTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"put":{"tags":["Tasks"],"summary":"Update task","operationId":"updateTask","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/per-language-auto-translation-settings":{"get":{"tags":["Auto-translation Settings"],"summary":"Get per-language auto-translation settings","operationId":"getPerLanguageAutoTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelAutoTranslationConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Auto-translation Settings"],"summary":"Set per-language auto-translation settings","operationId":"setPerLanguageAutoTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AutoTranslationSettingsDto"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelAutoTranslationConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/namespaces/{id}":{"put":{"tags":["Namespaces"],"summary":"Update namespace","operationId":"update_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNamespaceDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4}},"/v2/projects/{projectId}/machine-translation-service-settings":{"get":{"tags":["Machine Translation Settings"],"summary":"Get machine translation settings","operationId":"getMachineTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageConfigItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Machine Translation Settings"],"summary":"Sets machine translation settings","operationId":"setMachineTranslationSettings","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetMachineTranslationSettingsDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageConfigItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/disabled-languages":{"get":{"tags":["Localization keys"],"summary":"Get disabled languages","description":"Returns languages, in which key is disabled","operationId":"getDisabledLanguages","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Localization keys"],"summary":"Set disabled languages","description":"Sets languages, in which key is disabled","operationId":"setDisabledLanguages","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetDisabledLanguagesRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/complex-update":{"put":{"tags":["Localization keys"],"summary":"Edit key and related data","description":"Edits key name, translations, tags, screenshots, and other data","operationId":"complexEdit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexEditKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}":{"get":{"tags":["Localization keys"],"summary":"Get one key","operationId":"get_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Localization keys"],"summary":"Edit key name","operationId":"edit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4}},"/v2/projects/{projectId}/invite":{"put":{"tags":["Invitations"],"summary":"Generate user invitation link for project","operationId":"inviteUser","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInviteUserDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/content-storages/{contentStorageId}":{"get":{"tags":["Content Storages"],"summary":"Get Content Storage","operationId":"get_8","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"put":{"tags":["Content Storages"],"summary":"Update Content Storage","operationId":"update_3","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"delete":{"tags":["Content Storages"],"summary":"Delete Content Storage","operationId":"delete_6","parameters":[{"name":"contentStorageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-delivery-configs/{id}":{"get":{"tags":["Content Delivery"],"summary":"Get one Content Delivery Config","operationId":"get_9","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Content Delivery"],"summary":"Update Content Delivery Config","operationId":"update_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Content Delivery"],"summary":"Publish to Content Delivery","description":"Immediately publishes content to the configured Content Delivery","operationId":"post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Content Delivery"],"summary":"Delete Content Delivery Config","operationId":"delete_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tag-complex":{"put":{"tags":["Tags"],"summary":"Execute complex tag operation","operationId":"executeComplexTagOperation","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexTagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{keyId}/tags":{"put":{"tags":["Tags"],"summary":"Tag key","description":"Tags a key with tag. If tag with provided name doesn't exist, it is created","operationId":"tagKey","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations/{translationId}/resolve/set-override":{"put":{"tags":["Import"],"summary":"Resolve conflict (override)","description":"Resolves translation conflict. The old translation will be overridden.","operationId":"resolveTranslationSetOverride","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations/{translationId}/resolve/set-keep-existing":{"put":{"tags":["Import"],"summary":"Resolve conflict (keep existing)","description":"Resolves translation conflict. The old translation will be kept.","operationId":"resolveTranslationSetKeepExisting","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/resolve-all/set-override":{"put":{"tags":["Import"],"summary":"Resolve all translation conflicts (override)","description":"Resolves all translation conflicts for provided language. The old translations will be overridden.","operationId":"resolveTranslationSetOverride_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/resolve-all/set-keep-existing":{"put":{"tags":["Import"],"summary":"Resolve all translation conflicts (keep existing)","description":"Resolves all translation conflicts for provided language. The old translations will be kept.","operationId":"resolveTranslationSetKeepExisting_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{importLanguageId}/select-existing/{existingLanguageId}":{"put":{"tags":["Import"],"summary":"Pair existing language","description":"Sets existing language to pair with language to import. Data will be imported to selected existing language when applied.","operationId":"selectExistingLanguage","parameters":[{"name":"importLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"existingLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{importLanguageId}/reset-existing":{"put":{"tags":["Import"],"summary":"Reset existing language pairing","description":"Resets existing language paired with language to import.","operationId":"resetExistingLanguage","parameters":[{"name":"importLanguageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/files/{fileId}/select-namespace":{"put":{"tags":["Import"],"summary":"Select namespace","description":"Sets namespace for file to import.","operationId":"selectNamespace","parameters":[{"name":"fileId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetFileNamespaceRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/apply":{"put":{"tags":["Import"],"summary":"Apply import","description":"Imports the data prepared in previous step","operationId":"applyImport","parameters":[{"name":"forceMode","in":"query","description":"Whether override or keep all translations with unresolved conflicts","required":false,"schema":{"type":"string","enum":["OVERRIDE","KEEP","NO_FORCE"],"default":"NO_FORCE"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/import-settings":{"get":{"tags":["Import Settings"],"summary":"Get Import Settings","description":"Returns import settings for the authenticated user and the project.","operationId":"get_10","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Import Settings"],"summary":"Set Import Settings","description":"Stores import settings for the authenticated user and the project.","operationId":"store","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSettingsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs/{id}/cancel":{"put":{"tags":["Batch Operations"],"summary":"Stop batch operation","description":"Stops batch operation if possible.","operationId":"cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/set-state/{state}":{"put":{"tags":["Translations"],"summary":"Set translation state","operationId":"setTranslationState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"string","enum":["TRANSLATED","REVIEWED"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments/{commentId}/set-state/{state}":{"put":{"tags":["Translation Comments"],"summary":"Set state of translation comment","operationId":"setState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments/{commentId}":{"get":{"tags":["Translation Comments"],"summary":"Get one translation comment","operationId":"get_14","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"put":{"tags":["Translation Comments"],"summary":"Update translation comment","operationId":"update_5","parameters":[{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Translation Comments"],"summary":"Delete translation comment","operationId":"delete_8","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/set-outdated-flag/{state}":{"put":{"tags":["Translations"],"summary":"Set outdated value","description":"Set's \"outdated\" flag indicating the base translation was changed without updating current translation.","operationId":"setOutdated","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"state","in":"path","required":true,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/dismiss-auto-translated-state":{"put":{"tags":["Translations"],"summary":"Dismiss auto-translated","description":"Removes \"auto translated\" indication","operationId":"dismissAutoTranslatedState","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations":{"get":{"tags":["Translations"],"summary":"Get translations in project","operationId":"getTranslations","parameters":[{"name":"cursor","in":"query","description":"Cursor to get next data","required":false,"schema":{"type":"string"}},{"name":"filterState","in":"query","description":"Translation state in the format: languageTag,state. You can use this parameter multiple times.\n\nWhen used with multiple states for same language it is applied with logical OR. \n \nWhen used with multiple languages, it is applied with logical AND.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"languages","in":"query","description":"Languages to be contained in response.\n \nTo add multiple languages, repeat this param (eg. ?languages=en&languages=de)","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"search","in":"query","description":"String to search in key name or translation text","required":false,"schema":{"type":"string"}},{"name":"filterKeyName","in":"query","description":"Selects key with provided names. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyId","in":"query","description":"Selects key with provided ID. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterUntranslatedAny","in":"query","description":"Selects only keys for which the translation is missing in any returned language. It only filters for translations included in returned languages.","required":false,"schema":{"type":"boolean"}},{"name":"filterTranslatedAny","in":"query","description":"Selects only keys, where translation is provided in any language","required":false,"schema":{"type":"boolean"}},{"name":"filterUntranslatedInLang","in":"query","description":"Selects only keys where the translation is missing for the specified language. The specified language must be included in the returned languages. Otherwise, this filter doesn't apply.","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterTranslatedInLang","in":"query","description":"Selects only keys, where translation is provided in specified language","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterHasScreenshot","in":"query","description":"Selects only keys with screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterHasNoScreenshot","in":"query","description":"Selects only keys without screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterNamespace","in":"query","description":"Filter namespaces. \n\nTo filter default namespace, set to empty string.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTag","in":"query","description":"Selects only keys with provided tag","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterNotOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is not in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterRevisionId","in":"query","description":"Selects only key affected by activity with specidfied revision ID","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":1234567},{"name":"filterFailedKeysOfJob","in":"query","description":"Select only keys which were not successfully translated by batch job with provided id","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterTaskNumber","in":"query","description":"Select only keys which are in specified task","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterTaskKeysNotDone","in":"query","description":"Filter task keys which are `not done`","required":false,"schema":{"type":"boolean"}},{"name":"filterTaskKeysDone","in":"query","description":"Filter task keys which are `done`","required":false,"schema":{"type":"boolean"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeysWithTranslationsPageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5},"put":{"tags":["Translations"],"summary":"Update translations for existing key","description":"Sets translations for existing key","operationId":"setTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsWithKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsResponseModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"post":{"tags":["Translations"],"summary":"Create key or update translations","description":"Sets translations for existing key or creates new key and sets the translations to it.","operationId":"createOrUpdateTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsWithKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsResponseModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/transfer-to-organization/{organizationId}":{"put":{"tags":["Project Transferring"],"summary":"Transfer project","description":"Transfers project's ownership to organization","operationId":"transferProjectToOrganization","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/leave":{"put":{"tags":["Projects"],"summary":"Leave project","operationId":"leaveProject","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/languages/{languageId}":{"get":{"tags":["Languages"],"summary":"Get one language","operationId":"get_16","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Languages"],"summary":"Update language","operationId":"editLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"delete":{"tags":["Languages"],"summary":"Delete specific language","operationId":"deleteLanguage_2","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/languages/{languageId}/ai-prompt-customization":{"put":{"tags":["AI Customization"],"summary":"Sets language level prompt customization","operationId":"setLanguagePromptCustomization","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLanguagePromptCustomizationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/keys/{keyId}/auto-translate":{"put":{"tags":["Auto Translation"],"summary":"Auto translates keys","description":"Uses enabled auto-translation methods.\nYou need to set at least one of useMachineTranslation or useTranslationMemory to true.\n\nThis will replace the the existing translation with the result obtained from specified source!\n ","operationId":"autoTranslate","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"languages","in":"query","description":"Tags of languages to auto-translate. \nWhen no languages provided, it translates only untranslated languages.","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}}},{"name":"useMachineTranslation","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"useTranslationMemory","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/avatar":{"put":{"tags":["Projects"],"summary":"Upload project avatar","operationId":"uploadAvatar_1","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Projects"],"summary":"Delete project avatar","operationId":"removeAvatar_1","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/ai-prompt-customization":{"get":{"tags":["AI Customization"],"summary":"Returns project level prompt customization","operationId":"getPromptProjectCustomization","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true},"put":{"tags":["AI Customization"],"summary":"Sets project level prompt customization","operationId":"setPromptProjectCustomization","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetProjectPromptCustomizationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/pats/{id}":{"get":{"tags":["Personal Access Tokens"],"summary":"Get one PAK","operationId":"get_18","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"put":{"tags":["Personal Access Tokens"],"summary":"Update PAK","description":"Updates Personal Access Token","operationId":"update_7","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePatDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]},"delete":{"tags":["Personal Access Tokens"],"summary":"Delete PAK","description":"Deletes Personal Access Token","operationId":"delete_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/pats/{id}/regenerate":{"put":{"tags":["Personal Access Tokens"],"summary":"Regenerate PAK","description":"Regenerates Personal Access Token. It generates new token value and updates its time of expiration.","operationId":"regenerate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegeneratePatDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/users/{userId}/set-role":{"put":{"tags":["Organizations"],"summary":"Set user role","description":"Sets user role in organization. Owner or Member.","operationId":"setUserRole","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetOrganizationRoleDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/sso":{"get":{"tags":["sso-provider-controller"],"operationId":"findProvider","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoTenantModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]},"put":{"tags":["sso-provider-controller"],"operationId":"setProvider","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProviderRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoTenantModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/set-base-permissions":{"put":{"tags":["Advanced permissions"],"summary":"Set organization base permission","description":"Set default granular (scope-based) permissions for organization users, who don't have direct project permissions set.","operationId":"setBasePermissions","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"scopes","in":"query","description":"Granted scopes to all projects for all organization users without direct project permissions set.","required":true,"schema":{"type":"array","items":{"type":"string"}},"example":["translations.view","translations.edit"]}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/organizations/{organizationId}/set-base-permissions/{permissionType}":{"put":{"tags":["Organizations"],"summary":"Set organization base permission","description":"Sets default (level-based) permission for organization","operationId":"setBasePermissions_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"permissionType","in":"path","required":true,"schema":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/cancel-subscription":{"put":{"tags":["Cloud Billing"],"summary":"Cancel subscription","description":"When applied, current subscription will be cancelled at the period end.","operationId":"cancelSubscription","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{id}":{"get":{"tags":["Organizations"],"summary":"Get one organization","operationId":"get_20","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2},"put":{"tags":["Organizations"],"summary":"Update organization data","operationId":"update_8","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":5},"delete":{"tags":["Organizations"],"summary":"Delete organization","description":"Deletes organization and all its data including projects","operationId":"delete_11","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6}},"/v2/organizations/{id}/leave":{"put":{"tags":["Organizations"],"summary":"Leave organization","description":"Remove current user from organization","operationId":"leaveOrganization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/invite":{"put":{"tags":["Invitations"],"summary":"Generate invitation link for organization","description":"Generates invitation link for organization, so users can join organization. The invitation can also be sent to an e-mail address.","operationId":"inviteUser_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInviteUserDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/avatar":{"put":{"tags":["Organizations"],"summary":"Upload organizations avatar","operationId":"uploadAvatar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["avatar"],"type":"object","properties":{"avatar":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"delete":{"tags":["Organizations"],"summary":"Delete organization avatar","operationId":"removeAvatar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/ee-license/set-license-key":{"put":{"tags":["EE Licence"],"summary":"Sets the EE licence key","operationId":"setLicenseKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLicenseKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/ee-license/release-license-key":{"put":{"tags":["EE Licence"],"summary":"Remove the EE licence key","description":"This will remove the licence key from the instance.","operationId":"release","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/ee-license/refresh":{"put":{"tags":["EE Licence"],"summary":"Refresh the EE subscription","description":"This will refresh the subscription information from the license server and update the subscription info.","operationId":"refreshSubscription","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys/{apiKeyId}":{"put":{"tags":["API keys"],"summary":"Update API key","operationId":"update_9","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2EditApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":6},"delete":{"tags":["API keys"],"summary":"Delete API key","operationId":"delete_13","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":7}},"/v2/api-keys/{apiKeyId}/regenerate":{"put":{"tags":["API keys"],"summary":"Regenerates API key. It generates new API key value and updates its time of expiration.","operationId":"regenerate_1","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/administration/users/{userId}/enable":{"put":{"tags":["Server Administration"],"summary":"Enable user","description":"Enables previously disabled user.","operationId":"enableUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/disable":{"put":{"tags":["Server Administration"],"summary":"Disable user","description":"Disables user account. User will not be able to log in, but their user data will be preserved, so you can enable the user later using the `enable` endpoint.","operationId":"disableUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/set-role/{role}":{"put":{"tags":["Server Administration"],"summary":"Set Role","description":"Set's the global role on the Tolgee Platform server.","operationId":"setRole","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"role","in":"path","required":true,"schema":{"type":"string","enum":["USER","ADMIN"]}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/user/send-email-verification":{"post":{"tags":["User"],"summary":"Resend email verification","description":"Resends email verification email to currently authenticated user.","operationId":"sendEmailVerification","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user/generate-super-token":{"post":{"tags":["User"],"summary":"Get super JWT","description":"Generates new JWT token permitted to sensitive operations","operationId":"getSuperToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuperTokenRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slug/generate-organization":{"post":{"tags":["Slug generation"],"summary":"Generate organization slug","operationId":"generateOrganizationSlug","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSlugDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slack/user-login":{"post":{"tags":["Slack user login"],"summary":"User login","description":"Pairs user account with slack account.","operationId":"userLogin","parameters":[{"name":"data","in":"query","description":"The encrypted data about the desired connection between Slack account and Tolgee account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/public/slack":{"post":{"tags":["Slack slack commands"],"operationId":"slackCommand","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payload":{"$ref":"#/components/schemas/SlackCommandDto"},"body":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/slack/on-event":{"post":{"tags":["Slack events"],"summary":"On interactivity event","description":"This is triggered when interactivity event is triggered. E.g., when user clicks button provided in previous messages.","operationId":"onInteractivityEvent","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/slack/on-bot-event":{"post":{"tags":["Slack events"],"summary":"On bot event","description":"This is triggered when bot event is triggered. E.g., when app is uninstalled from workspace. \n\nHeads up! The events have to be configured via Slack App configuration in Event Subscription section.","operationId":"fetchBotEvent","parameters":[{"name":"X-Slack-Signature","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Slack-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/projects":{"get":{"tags":["Projects"],"summary":"Get all permitted","description":"Returns all projects where current user has any permission","operationId":"getAll","parameters":[{"name":"filterId","in":"query","description":"Filter projects by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter projects without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Projects"],"summary":"Create project","description":"Creates a new project with languages and initial settings.","operationId":"createProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/webhook-configs":{"get":{"tags":["Webhooks configuration"],"summary":"List webhook configurations","operationId":"list","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelWebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"post":{"tags":["Webhooks configuration"],"summary":"Create new webhook configuration","operationId":"create","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/webhook-configs/{id}/test":{"post":{"tags":["Webhooks configuration"],"summary":"Test webhook configuration","description":"Sends a test request to the webhook","operationId":"test","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/tasks/create-multiple-tasks":{"post":{"tags":["Tasks"],"summary":"Create multiple tasks","operationId":"createTasks","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMultipleTasksRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/tasks/calculate-scope":{"post":{"tags":["Tasks"],"summary":"Calculate scope","operationId":"calculateScope","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateScopeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeysScopeView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks":{"get":{"tags":["Tasks"],"summary":"Get tasks","operationId":"getTasks_1","parameters":[{"name":"filterState","in":"query","description":"Filter tasks by state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterNotState","in":"query","description":"Filter tasks without state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterAssignee","in":"query","description":"Filter tasks by assignee","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterType","in":"query","description":"Filter tasks by type","required":false,"schema":{"type":"array","items":{"type":"string","enum":["TRANSLATE","REVIEW"]}}},{"name":"filterId","in":"query","description":"Filter tasks by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter tasks without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterProject","in":"query","description":"Filter tasks by project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotProject","in":"query","description":"Filter tasks without project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterLanguage","in":"query","description":"Filter tasks by language","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKey","in":"query","description":"Filter tasks by key","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter tasks by agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterDoneMinClosedAt","in":"query","description":"Exclude \"done\" tasks which are older than specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterNotClosedBefore","in":"query","description":"Exclude tasks which were closed before specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"post":{"tags":["Tasks"],"summary":"Create task","operationId":"createTask","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/info":{"post":{"tags":["Localization keys"],"summary":"Get key info","description":"Returns information about keys. (KeyData, Screenshots, Translation in specified language)If key is not found, it's not included in the response.","operationId":"getInfo","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetKeysRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/import-resolvable":{"post":{"tags":["Localization keys"],"summary":"Import keys (resolvable)","description":"Import's new keys with translations. Translations can be updated, when specified.","operationId":"importKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportKeysResolvableDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyImportResolvableResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/import":{"post":{"tags":["Localization keys"],"summary":"Import keys","description":"Imports new keys with translations. If key already exists, its translations and tags are not updated.","operationId":"importKeys_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportKeysDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys":{"get":{"tags":["Localization keys"],"summary":"Get all keys","operationId":"getAll_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Localization keys"],"summary":"Create new key","operationId":"create_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/KeyWithDataModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"delete":{"tags":["Localization keys"],"summary":"Delete one or multiple keys (post)","description":"Delete one or multiple keys by their IDs in request body. Useful for larger requests esxceeding allowed URL length.","operationId":"delete_4","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteKeysDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/content-storages":{"get":{"tags":["Content Storages"],"summary":"List Content Storages","operationId":"list_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true},"post":{"tags":["Content Storages"],"summary":"Create Content Storage","operationId":"create_5","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-storages/{id}/test":{"post":{"tags":["Content Storages"],"summary":"Test existing Content Storage","description":"Tests existing Content Storage with new configuration. (Uses existing secrets, if nulls provided)","operationId":"testExisting","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageTestResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-storages/test":{"post":{"tags":["Content Storages"],"summary":"Test Content Storage settings","operationId":"test_1","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentStorageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageTestResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/content-delivery-configs":{"get":{"tags":["Content Delivery"],"summary":"List existing Content Delivery Configs","operationId":"list_2","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Content Delivery"],"summary":"Create Content Delivery Config","operationId":"create_6","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/billing/order-translation":{"post":{"tags":["Order translation"],"summary":"Create multiple tasks with assigned to an agency","operationId":"createTranslationOrder","parameters":[{"name":"filterState","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterOutdated","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTranslationOrderRequest"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/untag-keys":{"post":{"tags":["Batch Operations"],"summary":"Remove tags","operationId":"untagKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UntagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/tag-keys":{"post":{"tags":["Batch Operations"],"summary":"Add tags","operationId":"tagKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/set-translation-state":{"post":{"tags":["Batch Operations"],"summary":"Set translation state","operationId":"setTranslationState_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTranslationsStateStateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/set-keys-namespace":{"post":{"tags":["Batch Operations"],"summary":"Set keys namespace","operationId":"setKeysNamespace","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetKeysNamespaceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/pre-translate-by-tm":{"post":{"tags":["Batch Operations"],"summary":"Pre-translate by TM","description":"Pre-translate provided keys to provided languages by TM.","operationId":"translate_1","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreTranslationByTmRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/machine-translate":{"post":{"tags":["Batch Operations"],"summary":"Machine Translation","description":"Translate provided keys to provided languages through primary MT provider.","operationId":"machineTranslation","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MachineTranslationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/delete-keys":{"post":{"tags":["Batch Operations"],"summary":"Delete keys","operationId":"deleteKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteKeysRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/copy-translations":{"post":{"tags":["Batch Operations"],"summary":"Copy translation values","description":"Copy translation values from one language to other languages.","operationId":"copyTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyTranslationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/start-batch-job/clear-translations":{"post":{"tags":["Batch Operations"],"summary":"Clear translation values","description":"Clear translation values for provided keys in selected languages.","operationId":"clearTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClearTranslationsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/single-step-import":{"post":{"tags":["Import"],"summary":"Single step import","description":"Unlike the /v2/projects/{projectId}/import endpoint, imports the data in single request by provided files and parameters. This is useful for automated importing via API or CLI.","operationId":"doImport","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["files","params"],"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"params":{"$ref":"#/components/schemas/SingleStepImportRequest"}}},"encoding":{"params":{"contentType":"application/json"}}}}},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/import":{"post":{"tags":["Import"],"summary":"Add files","description":"Prepares provided files to import.","operationId":"addFiles","parameters":[{"name":"structureDelimiter","in":"query","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","required":false,"schema":{"type":"string","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","example":"."},"example":"."},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["files"],"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportAddFilesResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1},"delete":{"tags":["Import"],"summary":"Delete","description":"Deletes prepared import data.","operationId":"cancelImport","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/export":{"get":{"tags":["Export"],"summary":"Export data","operationId":"exportData","parameters":[{"name":"languages","in":"query","description":"Languages to be contained in export.\n \nIf null, all languages are exported","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"format","in":"query","description":"Format to export to","required":false,"schema":{"type":"string","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]}},{"name":"structureDelimiter","in":"query","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter.","required":false,"schema":{"type":"string"}},{"name":"filterKeyId","in":"query","description":"Filter key IDs to be contained in export","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKeyIdNot","in":"query","description":"Filter key IDs not to be contained in export","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterTag","in":"query","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only.","required":false,"schema":{"type":"string"}},{"name":"filterTagIn","in":"query","description":"Filter keys tagged by one of provided tags","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTagNotIn","in":"query","description":"Filter keys not tagged by one of provided tags","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyPrefix","in":"query","description":"Filter keys with prefix","required":false,"schema":{"type":"string"}},{"name":"filterState","in":"query","description":"Filter translations with state. By default, all states except untranslated is exported.","required":false,"schema":{"type":"array","items":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},{"name":"filterNamespace","in":"query","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"zip","in":"query","description":"If false, it doesn't return zip of files, but it returns single file.\n \nThis is possible only when single language is exported. Otherwise it returns \"400 - Bad Request\" response.","required":false,"schema":{"type":"boolean"}},{"name":"messageFormat","in":"query","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","required":false,"schema":{"type":"string","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]}},{"name":"fileStructureTemplate","in":"query","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n","required":false,"schema":{"type":"string"}},{"name":"supportArrays","in":"query","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Export"],"summary":"Export data (post)","description":"Exports data (post). Useful when exceeding allowed URL size.","operationId":"exportPost","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportParams"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/big-meta":{"post":{"tags":["Big Meta"],"summary":"Store Big Meta","description":"Stores a bigMeta for a project","operationId":"store_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigMetaDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/comments":{"get":{"tags":["Translation Comments"],"summary":"Get translation comments","description":"Returns translation comments of translation","operationId":"getAll_5","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Translation Comments"],"summary":"Create translation comment","operationId":"create_7","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/create-comment":{"post":{"tags":["Translation Comments"],"summary":"Create translation comment","description":"Creates a translation comment. Empty translation is stored, when not exists.","operationId":"create_9","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommentWithLangKeyDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TranslationWithCommentModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/translation-memory":{"post":{"tags":["Translation suggestion"],"summary":"Get suggestions from translation memory","description":"Suggests machine translations from translation memory. The result is always sorted by similarity, so sorting is not supported.","operationId":"suggestTranslationMemory","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationMemoryItemModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/machine-translations-streaming":{"post":{"tags":["Translation suggestion"],"summary":"Get machine translation suggestions (streaming)","description":"Suggests machine translations from enabled services. The results are streamed to the output in ndjson format. If an error occurs when for any service provider used, the error information is returned as a part of the result item, while the response has 200 status code.","operationId":"suggestMachineTranslationsStreaming","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/x-ndjson":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/suggest/machine-translations":{"post":{"tags":["Translation suggestion"],"summary":"Get machine translation suggestions","description":"Suggests machine translations from enabled services","operationId":"suggestMachineTranslations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/languages":{"get":{"tags":["Languages"],"summary":"Get all languages","operationId":"getAll_7","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["tag,ASC"]}},{"name":"filterId","in":"query","description":"Filter languages by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter languages without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3},"post":{"tags":["Languages"],"summary":"Create language","operationId":"createLanguage","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/{keyId}/screenshots":{"get":{"tags":["Screenshots"],"summary":"Get screenshots","operationId":"getKeyScreenshots_1","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelScreenshotModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"post":{"tags":["Screenshots"],"summary":"Upload screenshot","operationId":"uploadScreenshot_1","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["screenshot"],"type":"object","properties":{"screenshot":{"type":"string","format":"binary"},"info":{"$ref":"#/components/schemas/ScreenshotInfoDto"}}},"encoding":{"info":{"contentType":"application/json"}}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScreenshotModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/pats":{"get":{"tags":["Personal Access Tokens"],"summary":"Get PAKs","operationId":"getAll_9","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]},"post":{"tags":["Personal Access Tokens"],"summary":"Create PAK","operationId":"create_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePatDto"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RevealedPatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations":{"get":{"tags":["Organizations"],"summary":"Get all permitted organizations","description":"Returns all organizations, which is current user allowed to view","operationId":"getAll_10","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"filterCurrentUserOwner","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":4},"post":{"tags":["Organizations"],"summary":"Create organization","operationId":"create_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/organizations/{organizationId}/slack/connect":{"post":{"tags":["Organization Slack"],"summary":"Connect Slack workspace to organization","description":"This endpoint allows the owner of an organization to connect a Slack workspace to their organization.\nChecks if the Slack integration feature is enabled for the organization and proceeds with the connection.","operationId":"connectWorkspace","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectToSlackDto"}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/subscriptions":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get self-hosted EE subscriptions","operationId":"getSelfHostedEeSubscriptions","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSelfHostedEeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/image-upload":{"post":{"tags":["Image upload"],"summary":"Upload an image for later use","operationId":"upload","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["image"],"type":"object","properties":{"image":{"type":"string","format":"binary"},"info":{"$ref":"#/components/schemas/ImageUploadInfoDto"}}},"encoding":{"info":{"contentType":"application/json"}}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UploadedImageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/ee-license/prepare-set-license-key":{"post":{"tags":["EE Licence"],"summary":"Get info before applying the license key","description":"Get info about the upcoming EE subscription. This will show, how much the subscription will cost when key is applied.","operationId":"prepareSetLicenseKey_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLicenseKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareSetEeLicenceKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys":{"get":{"tags":["API keys"],"summary":"Get all user's API keys","operationId":"allByUser","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"filterProjectId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":4},"post":{"tags":["API keys"],"summary":"Crete API key","description":"Creates new API key with provided scopes","operationId":"create_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-order":1}},"/v2/announcement/dismiss":{"post":{"tags":["New features announcements"],"summary":"Dismiss announcement","description":"Dismisses the latest announcement for the currently authenticated user","operationId":"dismiss","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/api/public/generatetoken":{"post":{"tags":["Authentication"],"summary":"Generate JWT token","operationId":"authenticateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/authorize_oauth/sso/authentication-url":{"post":{"tags":["Authentication"],"operationId":"getAuthenticationUrl","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoUrlResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/user/single-owned-organizations":{"get":{"tags":["User"],"summary":"Get all single owned organizations","description":"Returns all organizations owned only by current user","operationId":"getAllSingleOwnedOrganizations","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSimpleOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/user-tasks":{"get":{"tags":["User tasks"],"summary":"Get user tasks","operationId":"getTasks","parameters":[{"name":"filterState","in":"query","description":"Filter tasks by state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterNotState","in":"query","description":"Filter tasks without state","required":false,"schema":{"type":"array","items":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]}}},{"name":"filterAssignee","in":"query","description":"Filter tasks by assignee","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterType","in":"query","description":"Filter tasks by type","required":false,"schema":{"type":"array","items":{"type":"string","enum":["TRANSLATE","REVIEW"]}}},{"name":"filterId","in":"query","description":"Filter tasks by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter tasks without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterProject","in":"query","description":"Filter tasks by project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotProject","in":"query","description":"Filter tasks without project","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterLanguage","in":"query","description":"Filter tasks by language","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterKey","in":"query","description":"Filter tasks by key","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter tasks by agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterDoneMinClosedAt","in":"query","description":"Exclude \"done\" tasks which are older than specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterNotClosedBefore","in":"query","description":"Exclude tasks which were closed before specified timestamp","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTaskWithProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/user-preferences":{"get":{"tags":["User preferences"],"summary":"Get user's preferences","operationId":"get","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slug/validate-organization/{slug}":{"get":{"tags":["Slug generation"],"summary":"Validate organization slug","operationId":"validateOrganizationSlug","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/slack/user-login-info":{"get":{"tags":["Slack user login"],"summary":"Returns connection info","description":"Returns information about the connection between Slack account and Tolgee account which user is performing. The flow is the following. \n\n1. User executes slash command in Slack and gets link with encrypted Slack user ID, workspace ID and the Channel ID (to send success response to)\n\n2. User gets opens the link and the Tolgee Platform frontend and it uses this endpoint to get the data info about the future connection","operationId":"getInfo_3","parameters":[{"name":"data","in":"query","description":"The encrypted data","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackUserInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/public/scope-info/roles":{"get":{"tags":["Scope Info"],"summary":"Returns user roles and their scopes","operationId":"getRoles","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/scope-info/hierarchy":{"get":{"tags":["Scope Info"],"summary":"Returns hierarchy of scopes","operationId":"getHierarchy","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HierarchyItem"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/machine-translation-providers":{"get":{"tags":["Machine Translation Providers"],"summary":"Returns information about supported translation providers","description":"Get machine translation providers","operationId":"getInfo_4","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MachineTranslationProviderModel"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/export-info/formats":{"get":{"tags":["Export info"],"operationId":"get_2","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelExportFormatModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/billing/plans":{"get":{"tags":["Cloud Billing"],"summary":"Get all public plans","operationId":"getPlans","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelCloudPlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/v2/public/billing/mt-credit-prices":{"get":{"tags":["Cloud Billing"],"summary":"Get public MT credit prices","operationId":"getMtCreditPrices","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelMtCreditsPriceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"deprecated":true}},"/v2/projects/{projectId}/users":{"get":{"tags":["Projects"],"summary":"Get users with project access","description":"Returns all project users, who have permission to access project","operationId":"getAllUsers","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"filterId","in":"query","description":"Filter users by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterNotId","in":"query","description":"Filter users without id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterAgency","in":"query","description":"Filter users from agency","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountInProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/used-namespaces":{"get":{"tags":["Namespaces"],"summary":"Get used namespaces","description":"Returns all used project namespaces. Response contains default (null) namespace if used.","operationId":"getUsedNamespaces","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelUsedNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":2}},"/v2/projects/{projectId}/tasks/{taskNumber}/xlsx-report":{"get":{"tags":["Tasks"],"summary":"Get report in XLSX","description":"Detailed statistics about the task results","operationId":"getXlsxReport","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/per-user-report":{"get":{"tags":["Tasks"],"summary":"Get report","description":"Detailed statistics for every assignee","operationId":"getPerUserReport","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskPerUserReportModel"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/{taskNumber}/blocking-tasks":{"get":{"tags":["Tasks"],"summary":"Get blocking task numbers","description":"If the tasks is blocked by other tasks, it returns numbers of these tasks.","operationId":"getBlockingTasks","parameters":[{"name":"taskNumber","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tasks/possible-assignees":{"get":{"tags":["Tasks"],"operationId":"getPossibleAssignees","parameters":[{"name":"filterId","in":"query","description":"Filter users by id","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterMinimalScope","in":"query","description":"Filter only users that have at least following scopes","required":false,"schema":{"type":"string"}},{"name":"filterViewLanguageId","in":"query","description":"Filter only users that can view language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterEditLanguageId","in":"query","description":"Filter only users that can edit language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterStateLanguageId","in":"query","description":"Filter only users that can edit state of language","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelSimpleUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/namespaces":{"get":{"tags":["Namespaces"],"summary":"Get namespaces","operationId":"getAllNamespaces","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/namespace-by-name/{name}":{"get":{"tags":["Namespaces"],"summary":"Get namespace by name","description":"Returns information about a namespace by its name","operationId":"getByName","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/projects/{projectId}/machine-translation-language-info":{"get":{"tags":["Machine Translation Settings"],"summary":"Machine translation info","description":"Get enabled services and configured formality for each language","operationId":"getMachineTranslationLanguageInfo","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/search":{"get":{"tags":["Localization keys"],"summary":"Search for keys","description":"This endpoint helps you to find desired key by keyName, base translation or translation in specified language.\n\nSort is ignored for this request.","operationId":"searchForKey","parameters":[{"name":"search","in":"query","description":"Search query","required":true,"schema":{"type":"string"}},{"name":"languageTag","in":"query","description":"Language to search in","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelKeySearchSearchResultModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/billing/order-translation/preferred-agency":{"get":{"tags":["Order translation"],"summary":"Get preferred agency","operationId":"getPreferredAgency","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferredAgencyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/all-keys":{"get":{"tags":["All localization keys"],"summary":"Get all keys in project","operationId":"getAllKeys","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":0}},"/v2/projects/{projectId}/all-keys-with-disabled-languages":{"get":{"tags":["All localization keys"],"summary":"Get disabled languages for all keys in project","description":"Returns all project key with any disabled language.\n\nIf key has no disabled language, it is not returned.","operationId":"getDisabledLanguages_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyDisabledLanguagesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/activity/revisions/{revisionId}/modified-entities":{"get":{"tags":["Projects"],"summary":"Get modified entities in revision","operationId":"getModifiedEntitiesByRevision","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"revisionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"filterEntityClass","in":"query","description":"Filters results by specific entity class","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelModifiedEntityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}/activity/revisions/{revisionId}":{"get":{"tags":["Projects"],"summary":"Get one revision data","operationId":"getSingleRevision","parameters":[{"name":"revisionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectActivityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/activity":{"get":{"tags":["Projects"],"summary":"Get project activity","operationId":"getActivity","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectActivityModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/tags":{"get":{"tags":["Tags"],"summary":"Get tags","operationId":"getAll_3","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTagModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/my-batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"List user batch operations","description":"List all batch operations started by current user","operationId":"myList","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/machine-translation-credit-balance":{"get":{"tags":["Machine translation credits"],"summary":"Get credit balance for project","description":"Returns machine translation credit balance for specified project","operationId":"getProjectCredits","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalanceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{id}/big-meta":{"get":{"tags":["Big Meta"],"summary":"Get Big Meta for key","operationId":"getBigMeta","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelKeyWithBaseTranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}/translations":{"get":{"tags":["Import"],"summary":"Get translations","description":"Returns translations prepared to import.","operationId":"getImportTranslations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"onlyConflicts","in":"query","description":"Whether only translations, which are in conflict with existing translations should be returned","required":false,"schema":{"type":"boolean","default":false}},{"name":"onlyUnresolved","in":"query","description":"Whether only translations with unresolved conflictswith existing translations should be returned","required":false,"schema":{"type":"boolean","default":false}},{"name":"search","in":"query","description":"String to search in translation text or key","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["keyName,ASC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportTranslationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/languages/{languageId}":{"get":{"tags":["Import"],"summary":"Get import language","description":"Returns language prepared to import.","operationId":"getImportLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]},"delete":{"tags":["Import"],"summary":"Delete language","description":"Deletes language prepared to import.","operationId":"deleteLanguage","parameters":[{"name":"languageId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result/files/{importFileId}/issues":{"get":{"tags":["Import"],"summary":"Get file issues","description":"Returns issues for uploaded file.","operationId":"getImportFileIssues","parameters":[{"name":"importFileId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportFileIssueModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/result":{"get":{"tags":["Import"],"summary":"Get result","description":"Returns the result of preparation.","operationId":"getImportResult","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelImportLanguageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/import/all-namespaces":{"get":{"tags":["Import"],"summary":"Get namespaces","description":"Returns all existing and imported namespaces","operationId":"getAllNamespaces_2","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelImportNamespaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/current-batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"Get all running and pending batch operations","description":"Returns all running and pending batch operations. Completed batch operations are returned only if they are not older than 1 hour. If user doesn't have permission to view all batch operations, only their operations are returned.","operationId":"currentJobs","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs/{id}":{"get":{"tags":["Batch Operations"],"summary":"Get batch operation","operationId":"get_12","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/batch-jobs":{"get":{"tags":["Batch Operations"],"summary":"List batch operations","operationId":"list_3","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelBatchJobModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{translationId}/history":{"get":{"tags":["Translations"],"summary":"Get translation history","description":"Sorting is not supported for supported. It is automatically sorted from newest to oldest.","operationId":"getTranslationHistory","parameters":[{"name":"translationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["timestamp,DESC"]}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelTranslationHistoryModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/translations/{languages}":{"get":{"tags":["Translations"],"summary":"Get all translations","description":"Returns all translations for specified languages","operationId":"getAllTranslations","parameters":[{"name":"languages","in":"path","description":"Comma-separated language tags to return translations in. Languages you are not permitted to see will be silently dropped and not returned.","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":["en","de","fr"]},{"name":"ns","in":"query","description":"Namespace to return","required":false,"schema":{"type":"string"}},{"name":"structureDelimiter","in":"query","description":"Delimiter to structure response content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": {\"title\": \"Hello\"}}} structure.\n\nWhen null, resulting file will be a flat key-value object.\n ","required":false,"schema":{"type":"string","default":"."}},{"name":"filterTag","in":"query","description":"Enables filtering of returned keys by their tags.\nOnly keys with at least one provided tag will be returned.\nOptional, filtering is not applied if not specified.","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":["productionReady","nextRelease"]},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","example":{"en":{"what a key":"Translated value","another key":"Another key translated"},"cs":{"what a key":"Překlad","another key":"Další překlad"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":1}},"/v2/projects/{projectId}/keys/select":{"get":{"tags":["Localization keys"],"summary":"Select keys","description":"Returns all key IDs for specified filter values. This way, you can apply the same filter as in the translation view and get the resulting key IDs for future use.","operationId":"selectKeys_2","parameters":[{"name":"filterState","in":"query","description":"Translation state in the format: languageTag,state. You can use this parameter multiple times.\n\nWhen used with multiple states for same language it is applied with logical OR. \n \nWhen used with multiple languages, it is applied with logical AND.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"languages","in":"query","description":"Languages to be contained in response.\n \nTo add multiple languages, repeat this param (eg. ?languages=en&languages=de)","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"example":"en"},{"name":"search","in":"query","description":"String to search in key name or translation text","required":false,"schema":{"type":"string"}},{"name":"filterKeyName","in":"query","description":"Selects key with provided names. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterKeyId","in":"query","description":"Selects key with provided ID. Use this param multiple times to fetch more keys.","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterUntranslatedAny","in":"query","description":"Selects only keys for which the translation is missing in any returned language. It only filters for translations included in returned languages.","required":false,"schema":{"type":"boolean"}},{"name":"filterTranslatedAny","in":"query","description":"Selects only keys, where translation is provided in any language","required":false,"schema":{"type":"boolean"}},{"name":"filterUntranslatedInLang","in":"query","description":"Selects only keys where the translation is missing for the specified language. The specified language must be included in the returned languages. Otherwise, this filter doesn't apply.","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterTranslatedInLang","in":"query","description":"Selects only keys, where translation is provided in specified language","required":false,"schema":{"type":"string"},"example":"en-US"},{"name":"filterHasScreenshot","in":"query","description":"Selects only keys with screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterHasNoScreenshot","in":"query","description":"Selects only keys without screenshots","required":false,"schema":{"type":"boolean"}},{"name":"filterNamespace","in":"query","description":"Filter namespaces. \n\nTo filter default namespace, set to empty string.\n ","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterTag","in":"query","description":"Selects only keys with provided tag","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"filterOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterNotOutdatedLanguage","in":"query","description":"Selects only keys, where translation in provided langs is not in outdated state","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":"en-US"},{"name":"filterRevisionId","in":"query","description":"Selects only key affected by activity with specidfied revision ID","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":1234567},{"name":"filterFailedKeysOfJob","in":"query","description":"Select only keys which were not successfully translated by batch job with provided id","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"filterTaskNumber","in":"query","description":"Select only keys which are in specified task","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"filterTaskKeysNotDone","in":"query","description":"Filter task keys which are `not done`","required":false,"schema":{"type":"boolean"}},{"name":"filterTaskKeysDone","in":"query","description":"Filter task keys which are `done`","required":false,"schema":{"type":"boolean"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectAllResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/transfer-options":{"get":{"tags":["Project Transferring"],"summary":"Get transfer to organization options","description":"Returns organizations to which project can be transferred","operationId":"getTransferOptions","parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelProjectTransferOptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/projects/{projectId}/stats/daily-activity":{"get":{"tags":["Project Stats"],"summary":"Get project daily amount of events","operationId":"getProjectDailyActivity","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/stats":{"get":{"tags":["Project Stats"],"summary":"Get project stats","operationId":"getProjectStats","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/language-ai-prompt-customizations":{"get":{"tags":["AI Customization"],"summary":"Sets project level prompt customization","operationId":"getLanguagePromptCustomizations","parameters":[{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelLanguageAiPromptCustomizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-ee":true}},"/v2/projects/{projectId}/invitations":{"get":{"tags":["Invitations"],"summary":"Get project invitations","operationId":"getProjectInvitations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelProjectInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"SuperJwtToken":[]}]}},"/v2/projects/{projectId}/api-keys":{"get":{"tags":["API keys"],"summary":"Get all project API keys","description":"Returns all API keys for specified project","operationId":"allByProject","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":5}},"/v2/pats/current":{"get":{"tags":["Personal Access Tokens"],"summary":"Return current PAK","description":"Returns current Personal Access Token. If the request is not authenticated with a Personal Access Token, it will return 400 response status.","operationId":"getCurrent","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatWithUserModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{slug}":{"get":{"tags":["Organizations"],"summary":"Get organization by slug","operationId":"get_19","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/organizations/{slug}/projects":{"get":{"tags":["Organizations"],"summary":"Get all accessible projects (by slug)","description":"Returns all organization projects the user has access to","operationId":"getAllProjects","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{slug}/projects-with-stats":{"get":{"tags":["Organizations"],"summary":"Get all projects with stats","description":"Returns all projects (including statistics) where current user has any permission (except none)","operationId":"getAllWithStatistics_1","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["id,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectWithStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/invitations":{"get":{"tags":["Invitations"],"summary":"Get all invitations to organization","operationId":"getInvitations","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelOrganizationInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/machine-translation-credit-balance":{"get":{"tags":["Machine translation credits"],"summary":"Get credit balance for organization","description":"Returns machine translation credit balance for organization","operationId":"getOrganizationCredits","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalanceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/usage":{"get":{"tags":["Organizations"],"summary":"Get current organization usage","operationId":"getUsage","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/workspaces":{"get":{"tags":["Organization Slack"],"summary":"Get connected workspaces","description":"Returns a list of workspaces connected to the organization","operationId":"getConnectedWorkspaces","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelWorkspaceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/get-connect-url":{"get":{"tags":["Organization Slack"],"summary":"Get connect URL for Slack authentication","description":"Returns URL to which user should be redirected to connect Slack workspace","operationId":"connectToSlack","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectToSlackUrlModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/projects-with-stats":{"get":{"tags":["Organizations"],"summary":"Get all projects with stats","description":"Returns all projects (including statistics) where current user has any permission (except none)","operationId":"getAllWithStatistics_2","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectWithStatsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/billing/subscription":{"get":{"tags":["Cloud Billing"],"summary":"Get active subscription","operationId":"getSubscription","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/subscriptions/{subscriptionId}/expected-usage":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get expected usage for current month","operationId":"getExpectedUsage","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/self-hosted-ee/plans":{"get":{"tags":["Self-hosted EE Billing"],"summary":"Get self-hosted EE plans available for organization","operationId":"getSelfHostedPlans","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelSelfHostedEePlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/plans":{"get":{"tags":["Cloud Billing"],"summary":"Get cloud plans","description":"Returns list of available cloud plans for specific organization.)","operationId":"getCloudPlans","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionModelCloudPlanModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices":{"get":{"tags":["Invoices"],"summary":"Get invoices","operationId":"getInvoices","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":10}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["createdAt,DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelInvoiceModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/usage":{"get":{"tags":["Invoices"],"summary":"Get invoiced usage","operationId":"getUsage_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/usage/{type}.csv":{"get":{"tags":["Invoices"],"summary":"Get usage detail in CSV format","description":"Returns CSV file with usage detail for each time period and it's usage.","operationId":"getUsageDetail","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["SEATS","TRANSLATIONS"]}}],"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string","format":"byte"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/invoices/{invoiceId}/pdf":{"get":{"tags":["Invoices"],"summary":"Get invoice PDF","operationId":"getInvoicePdf","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"invoiceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/expected-usage":{"get":{"tags":["Cloud Billing"],"summary":"Get expected usage for current month","operationId":"getExpectedUsage_1","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/expected-usage/{type}.csv":{"get":{"tags":["Cloud Billing"],"summary":"Get expected usage detail in CSV format","description":"Returns CSV file with usage detail for each time period and it's usage.","operationId":"getExpectedUsageDetail","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["SEATS","TRANSLATIONS"]}}],"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"string","format":"byte"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{organizationId}/billing/billing-info":{"get":{"tags":["Cloud Billing"],"summary":"Get stored billing info","operationId":"getBillingInfo","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInfoModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-cloud":true}},"/v2/organizations/{id}/users":{"get":{"tags":["Organizations"],"summary":"Get all users in organization","description":"Returns all users in organization. The result also contains users who are only members of projects in the organization.","operationId":"getAllUsers_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC","username,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountWithOrganizationRoleModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{id}/projects":{"get":{"tags":["Organizations"],"summary":"Get all accessible projects (by ID)","description":"Returns all organization projects the user has access to","operationId":"getAllProjects_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelProjectModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/invitations/{code}/accept":{"get":{"tags":["Invitations"],"summary":"Accepts invitation to project or organization","operationId":"acceptInvitation","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/ee-license/info":{"get":{"tags":["EE Licence"],"summary":"Get the info about the current EE subscription","operationId":"getInfo_5","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EeSubscriptionModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-ee":true}},"/v2/api-keys/{keyId}":{"get":{"tags":["API keys"],"summary":"Get one API key","description":"Returns specific API key info","operationId":"get_22","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}],"x-order":2}},"/v2/api-keys/current":{"get":{"tags":["API keys"],"summary":"Get current API key info","description":"Returns info the API key which user currently authenticated with. Otherwise responds with 400 status code.","operationId":"getCurrent_1","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyWithLanguagesModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":3}},"/v2/api-keys/current-permissions":{"get":{"tags":["API keys"],"summary":"Get current permission info","description":"Returns current PAK or PAT permissions for current user, api-key and project","operationId":"getCurrentPermissions","parameters":[{"name":"projectId","in":"query","description":"Required when using with PAT","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyPermissionsModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/api-keys/availableScopes":{"get":{"tags":["API keys"],"summary":"Returns API key scopes for every permission type","operationId":"getScopes","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","example":{"TRANSLATE":["translations.view","translations.edit","screenshots.view"],"MANAGE":["translations.view","translations.edit","keys.edit","screenshots.view","screenshots.upload","screenshots.delete"],"EDIT":["translations.view","translations.edit","keys.edit","screenshots.view","screenshots.upload","screenshots.delete"],"VIEW":["translations.view","screenshots.view"]}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/announcement":{"get":{"tags":["New features announcements"],"summary":"Get announcement","description":"Returns the latest announcement for the currently authenticated user","operationId":"getLatest","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/administration/users":{"get":{"tags":["Server Administration"],"summary":"Get all server users","operationId":"getUsers","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelUserAccountModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/users/{userId}/generate-token":{"get":{"tags":["Server Administration"],"summary":"Geneate user's JWT token","description":"Generates a JWT token for the user with provided ID. This is useful, when need to debug of the user's account. Or when an operation is required to be executed on behalf of the user.","operationId":"generateUserToken","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/v2/administration/organizations":{"get":{"tags":["Server Administration"],"summary":"Get all server organizations","operationId":"getOrganizations","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"minimum":0,"type":"integer","default":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"minimum":1,"type":"integer","default":20}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":["name,ASC"]}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedModelOrganizationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}},"/api/public/invitation_info/{code}":{"get":{"tags":["Authentication"],"summary":"Info about invitation","operationId":"invitationInfo","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInvitationModel"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/configuration":{"get":{"tags":["Public configuration controller"],"summary":"Get server configuration","operationId":"getPublicConfiguration","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicConfigurationDTO"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/public/authorize_oauth/{serviceType}":{"get":{"tags":["Authentication"],"summary":"Authenticate user (third-part, oAuth)","description":"Authenticates user using third party oAuth service","operationId":"authenticateUser_1","parameters":[{"name":"serviceType","in":"path","required":true,"schema":{"type":"string"}},{"name":"code","in":"query","required":false,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":false,"schema":{"type":"string"}},{"name":"invitationCode","in":"query","required":false,"schema":{"type":"string"}},{"name":"domain","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtAuthenticationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}}}},"/api/project/{projectId}/export/jsonZip":{"get":{"tags":["Export"],"summary":"Export to ZIP of jsons","description":"Exports data as ZIP of jsons","operationId":"doExportJsonZip","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/zip":{"schema":{"$ref":"#/components/schemas/StreamingResponseBody"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"deprecated":true,"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{ids}":{"delete":{"tags":["Localization keys"],"summary":"Delete one or multiple keys","operationId":"delete_2","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}],"x-order":5}},"/v2/projects/{projectId}/keys/{keyId}/tags/{tagId}":{"delete":{"tags":["Tags"],"summary":"Remove tag","description":"Removes tag with provided id from key with provided id","operationId":"removeTag","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"tagId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/projects/{projectId}/keys/{keyId}/screenshots/{ids}":{"delete":{"tags":["Screenshots"],"summary":"Delete screenshots","operationId":"deleteScreenshots_1","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"keyId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/organizations/{organizationId}/users/{userId}":{"delete":{"tags":["Organizations"],"summary":"Remove user from organization","operationId":"removeUser","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}]}},"/v2/organizations/{organizationId}/slack/workspaces/{workspaceId}":{"delete":{"tags":["Organization Slack"],"summary":"Disconnect workspace","description":"Disconnects a workspace from the organization","operationId":"disconnectWorkspace","parameters":[{"name":"workspaceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/invitations/{invitationId}":{"delete":{"tags":["Invitations"],"summary":"Deletes invitation by ID","operationId":"deleteInvitation","parameters":[{"name":"invitationId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"JwtToken":[]}]}},"/v2/image-upload/{ids}":{"delete":{"tags":["Image upload"],"summary":"Delete uploaded images","operationId":"delete_12","parameters":[{"name":"ids","in":"path","required":true,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"ApiKeyInHeader":[]},{"ApiKeyInQueryParam":[]},{"JwtToken":[]}]}},"/v2/administration/users/{userId}":{"delete":{"tags":["Server Administration"],"summary":"Delete user","operationId":"deleteUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"$ref":"#/components/schemas/ErrorResponseTyped"},{"$ref":"#/components/schemas/ErrorResponseBody"}]}}}}},"security":[{"SuperJwtToken":[]}],"x-self-hosted":true}}},"components":{"schemas":{"ErrorResponseTyped":{"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_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","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","address_part_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","plan_auto_assignment_organization_ids_not_in_for_organization_ids","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"]},"params":{"type":"array","items":{"type":"object"}}}},"ErrorResponseBody":{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}}},"UserUpdateRequestDto":{"required":["email","name"],"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"currentPassword":{"maxLength":50,"minLength":0,"type":"string"},"callbackUrl":{"type":"string","description":"Callback url for link sent in e-mail. This may be omitted, when server has set frontEndUrl in properties."}}},"Avatar":{"required":["large","thumbnail"],"type":"object","properties":{"large":{"type":"string"},"thumbnail":{"type":"string"}}},"PrivateUserAccountModel":{"required":["accountType","deletable","globalServerRole","id","mfaEnabled","needsSuperJwtToken","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"emailAwaitingVerification":{"type":"string"},"mfaEnabled":{"type":"boolean"},"avatar":{"$ref":"#/components/schemas/Avatar"},"accountType":{"type":"string","enum":["LOCAL","MANAGED","THIRD_PARTY"]},"globalServerRole":{"type":"string","enum":["USER","ADMIN"]},"deletable":{"type":"boolean"},"needsSuperJwtToken":{"type":"boolean"}}},"UserUpdatePasswordRequestDto":{"required":["currentPassword","password"],"type":"object","properties":{"currentPassword":{"maxLength":50,"minLength":0,"type":"string"},"password":{"maxLength":50,"minLength":8,"type":"string"}}},"JwtAuthenticationResponse":{"type":"object","properties":{"accessToken":{"type":"string"},"tokenType":{"type":"string"}}},"UserTotpEnableRequestDto":{"required":["otp","password","totpKey"],"type":"object","properties":{"totpKey":{"maxLength":16,"minLength":16,"pattern":"^(?:[a-z2-7]{8})*$","type":"string"},"otp":{"maxLength":6,"minLength":6,"type":"string"},"password":{"maxLength":50,"minLength":0,"type":"string"}}},"UserMfaRecoveryRequestDto":{"required":["password"],"type":"object","properties":{"password":{"maxLength":50,"minLength":0,"type":"string"}}},"QuickStartModel":{"required":["completedSteps","finished","open"],"type":"object","properties":{"finished":{"type":"boolean"},"completedSteps":{"type":"array","items":{"type":"string"}},"open":{"type":"boolean"}}},"EditProjectRequest":{"required":["icuPlaceholders","name","useNamespaces"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string"},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string"},"baseLanguageId":{"type":"integer","format":"int64"},"useNamespaces":{"type":"boolean"},"defaultNamespaceId":{"type":"integer","format":"int64"},"description":{"maxLength":2000,"minLength":3,"type":"string"},"icuPlaceholders":{"type":"boolean","description":"Whether to use ICU placeholder visualization in the editor and it's support."}}},"ComputedPermissionModel":{"required":["origin","scopes"],"type":"object","properties":{"permissionModel":{"$ref":"#/components/schemas/PermissionModel"},"origin":{"type":"string","enum":["ORGANIZATION_BASE","DIRECT","ORGANIZATION_OWNER","NONE","SERVER_ADMIN"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]}}},"LanguageModel":{"required":["base","id","name","tag"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","description":"Language name in english","example":"Czech"},"tag":{"type":"string","description":"Language tag according to BCP 47 definition","example":"cs-CZ"},"originalName":{"type":"string","description":"Language name in this language","example":"čeština"},"flagEmoji":{"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"},"base":{"type":"boolean","description":"Whether is base language of project","example":false}}},"NamespaceModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace","format":"int64","example":10000048},"name":{"type":"string","example":"homepage"}}},"PermissionModel":{"required":["scopes"],"type":"object","properties":{"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}}},"description":"Current user's direct permission","example":"MANAGE"},"ProjectModel":{"required":["computedPermission","icuPlaceholders","id","name","useNamespaces"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationOwner":{"$ref":"#/components/schemas/SimpleOrganizationModel"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"useNamespaces":{"type":"boolean"},"defaultNamespace":{"$ref":"#/components/schemas/NamespaceModel"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"directPermission":{"$ref":"#/components/schemas/PermissionModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"},"icuPlaceholders":{"type":"boolean","description":"Whether to disable ICU placeholder visualization in the editor and it's support."}}},"SimpleOrganizationModel":{"required":["basePermissions","id","name","slug"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"Beautiful organization"},"slug":{"type":"string","example":"btforg"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"basePermissions":{"$ref":"#/components/schemas/PermissionModel"},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"WebhookConfigRequest":{"required":["url"],"type":"object","properties":{"url":{"maxLength":255,"minLength":0,"type":"string"}}},"WebhookConfigModel":{"required":["id","url","webhookSecret"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"url":{"type":"string"},"webhookSecret":{"type":"string"},"firstFailed":{"type":"integer","description":"Date of the first failed webhook request. If the last webhook request is successful, this value is set to null.","format":"int64"},"lastExecuted":{"type":"integer","description":"Date of the last webhook request.","format":"int64"}}},"SimpleUserAccountModel":{"required":["deleted","id","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"deleted":{"type":"boolean"}}},"TaskModel":{"required":["assignees","baseCharacterCount","baseWordCount","description","doneItems","language","name","number","state","totalItems","type"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"language":{"$ref":"#/components/schemas/LanguageModel"},"dueDate":{"type":"integer","format":"int64"},"assignees":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}},"totalItems":{"type":"integer","format":"int64"},"doneItems":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","format":"int64"},"closedAt":{"type":"integer","format":"int64"},"state":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"TranslationAgencySimpleModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"url":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"UpdateTaskKeyRequest":{"required":["done"],"type":"object","properties":{"done":{"type":"boolean"}}},"UpdateTaskKeyResponse":{"required":["done","taskFinished"],"type":"object","properties":{"done":{"type":"boolean","description":"Task key is marked as done"},"taskFinished":{"type":"boolean","description":"Task progress is 100%"}}},"UpdateTaskKeysRequest":{"type":"object","properties":{"addKeys":{"uniqueItems":true,"type":"array","description":"Keys to add to task","items":{"type":"integer","description":"Keys to add to task","format":"int64"}},"removeKeys":{"uniqueItems":true,"type":"array","description":"Keys to remove from task","items":{"type":"integer","description":"Keys to remove from task","format":"int64"}}}},"UpdateTaskRequest":{"required":["assignees","description","name"],"type":"object","properties":{"name":{"maxLength":255,"minLength":3,"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string"},"dueDate":{"type":"integer","description":"Due to date in epoch format (milliseconds).","format":"int64","example":1661172869000},"assignees":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"AutoTranslationSettingsDto":{"required":["enableForImport","usingMachineTranslation","usingTranslationMemory"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"usingTranslationMemory":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operation using translation memory when 100% match is found"},"usingMachineTranslation":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operationusing primary machine translation service.When \"usingTranslationMemory\" is enabled, it tries to translate it with translation memory first."},"enableForImport":{"type":"boolean","description":"If true, import will trigger batch operation to translate the new new keys.\nIt includes also the data imported via CLI, Figma, or other integrations using batch key import."}}},"AutoTranslationConfigModel":{"required":["enableForImport","usingMachineTranslation","usingTranslationMemory"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"usingTranslationMemory":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operation using translation memory when 100% match is found"},"usingMachineTranslation":{"type":"boolean","description":"If true, new keys will be automatically translated via batch operationusing primary machine translation service.When \"usingTranslationMemory\" is enabled, it tries to translate it with translation memory first."},"enableForImport":{"type":"boolean","description":"If true, import will trigger batch operation to translate the new new keys.\nIt includes also the data imported via CLI, Figma, or other integrations using batch key import."}}},"CollectionModelAutoTranslationConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/components/schemas/AutoTranslationConfigModel"}}}}}},"UpdateNamespaceDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}}},"MachineTranslationLanguagePropsDto":{"type":"object","properties":{"targetLanguageId":{"type":"integer","description":"The language to apply those rules. If null, then this settings are default.","format":"int64"},"primaryService":{"type":"string","description":"This service will be used for automated translation","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"primaryServiceInfo":{"$ref":"#/components/schemas/MtServiceInfo"},"enabledServices":{"uniqueItems":true,"type":"array","description":"List of enabled services (deprecated: use enabledServicesInfo)","deprecated":true,"items":{"type":"string","description":"List of enabled services (deprecated: use enabledServicesInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"enabledServicesInfo":{"uniqueItems":true,"type":"array","description":"Info about enabled services","items":{"$ref":"#/components/schemas/MtServiceInfo"}}}},"MtServiceInfo":{"required":["serviceType"],"type":"object","properties":{"serviceType":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"formality":{"type":"string","enum":["FORMAL","INFORMAL","DEFAULT"]}},"description":"Info about enabled services"},"SetMachineTranslationSettingsDto":{"required":["settings"],"type":"object","properties":{"settings":{"type":"array","items":{"$ref":"#/components/schemas/MachineTranslationLanguagePropsDto"}}}},"CollectionModelLanguageConfigItemModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languageConfigs":{"type":"array","items":{"$ref":"#/components/schemas/LanguageConfigItemModel"}}}}}},"LanguageConfigItemModel":{"required":["enabledServices","enabledServicesInfo"],"type":"object","properties":{"targetLanguageId":{"type":"integer","description":"When null, its a default configuration applied to not configured languages","format":"int64"},"targetLanguageTag":{"type":"string","description":"When null, its a default configuration applied to not configured languages"},"targetLanguageName":{"type":"string","description":"When null, its a default configuration applied to not configured languages"},"primaryService":{"type":"string","description":"Service used for automated translating (deprecated: use primaryServiceInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"primaryServiceInfo":{"$ref":"#/components/schemas/MtServiceInfo"},"enabledServices":{"uniqueItems":true,"type":"array","description":"Services to be used for suggesting (deprecated: use enabledServicesInfo)","deprecated":true,"items":{"type":"string","description":"Services to be used for suggesting (deprecated: use enabledServicesInfo)","deprecated":true,"enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"enabledServicesInfo":{"uniqueItems":true,"type":"array","description":"Info about enabled services","items":{"$ref":"#/components/schemas/MtServiceInfo"}}}},"SetDisabledLanguagesRequest":{"required":["languageIds"],"type":"object","properties":{"languageIds":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CollectionModelLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}}}}}},"ComplexEditKeyDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the key"},"namespace":{"type":"string"},"translations":{"type":"object","additionalProperties":{"type":"string","description":"Translations to update"},"description":"Translations to update"},"states":{"type":"object","additionalProperties":{"type":"string","description":"Translation states to update, if not provided states won't be modified","enum":["TRANSLATED","REVIEWED"]},"description":"Translation states to update, if not provided states won't be modified"},"tags":{"type":"array","description":"Tags of the key. If not provided tags won't be modified","items":{"type":"string","description":"Tags of the key. If not provided tags won't be modified"}},"screenshotIdsToDelete":{"type":"array","description":"IDs of screenshots to delete","items":{"type":"integer","description":"IDs of screenshots to delete","format":"int64"}},"screenshotUploadedImageIds":{"type":"array","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","items":{"type":"integer","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","format":"int64"}},"screenshotsToAdd":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key. It's also used as a context for Tolgee AI translator"},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor. If null, value won't be modified."},"pluralArgName":{"type":"string","description":"The argument name for the plural. If null, value won't be modified. If isPlural is false, this value will be ignored."},"warnOnDataLoss":{"type":"boolean","description":"If true, it will fail with 400 (with code plural_forms_data_loss) if plural is disabled and there are plural forms, which would be lost by the action. You can get rid of this warning by setting this value to false."},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key. If not provided, custom values won't be modified"},"description":"Custom values of the key. If not provided, custom values won't be modified"}}},"KeyInScreenshotPositionDto":{"required":["height","width","x","y"],"type":"object","properties":{"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"KeyScreenshotDto":{"required":["uploadedImageId"],"type":"object","properties":{"text":{"type":"string"},"uploadedImageId":{"type":"integer","description":"Ids of screenshot uploaded with /v2/image-upload endpoint","format":"int64"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotPositionDto"}}}},"RelatedKeyDto":{"required":["keyName"],"type":"object","properties":{"namespace":{"type":"string"},"keyName":{"type":"string"}},"description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. "},"KeyInScreenshotModel":{"required":["keyId","keyName"],"type":"object","properties":{"keyId":{"type":"integer","format":"int64"},"position":{"$ref":"#/components/schemas/KeyInScreenshotPosition"},"keyName":{"type":"string"},"keyNamespace":{"type":"string"},"originalText":{"type":"string"}}},"KeyInScreenshotPosition":{"required":["height","width","x","y"],"type":"object","properties":{"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"KeyWithDataModel":{"required":["custom","id","isPlural","name","screenshots","tags","translations"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationModel"},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}},"tags":{"uniqueItems":true,"type":"array","description":"Tags of key","items":{"$ref":"#/components/schemas/TagModel"}},"screenshots":{"type":"array","description":"Screenshots of the key","items":{"$ref":"#/components/schemas/ScreenshotModel"}},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor"},"pluralArgName":{"type":"string","description":"The argument name for the plural"},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key"},"description":"Custom values of the key"}}},"ScreenshotModel":{"required":["fileUrl","filename","id","keyReferences","thumbnail","thumbnailUrl"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"filename":{"type":"string","description":"File name, which may be downloaded from the screenshot path.\n\nWhen images are secured. Encrypted timestamp is appended to the filename. \n "},"thumbnail":{"type":"string","description":"Thumbnail file name, which may be downloaded from the screenshot path.\n\nWhen images are secured. Encrypted timestamp is appended to the filename. \n "},"fileUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"keyReferences":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotModel"}},"location":{"type":"string"},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}},"description":"Screenshots of the key"},"TagModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"description":"Tags of key"},"TranslationModel":{"required":["auto","id","outdated","state"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation record","format":"int64"},"text":{"type":"string","description":"Translation text"},"state":{"type":"string","description":"State of translation","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]},"outdated":{"type":"boolean","description":"Whether base language translation was changed after this translation was updated"},"auto":{"type":"boolean","description":"Was translated using Translation Memory or Machine translation service?"},"mtProvider":{"type":"string","description":"Which machine translation service was used to auto translate this","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}},"EditKeyDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key","example":"This key is used on homepage. It's a label of sign up button."}}},"KeyModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"custom":{"type":"object","additionalProperties":{"type":"object","description":"Custom values of the key"},"description":"Custom values of the key"}}},"ProjectInviteUserDto":{"type":"object","properties":{"type":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"scopes":{"uniqueItems":true,"type":"array","description":"Granted scopes for the invited user","example":["translations.view","translations.edit"],"items":{"type":"string","description":"Granted scopes for the invited user","example":"[\"translations.view\",\"translations.edit\"]"}},"languages":{"uniqueItems":true,"type":"array","description":"Deprecated -> use translate languages","deprecated":true,"items":{"type":"integer","description":"Deprecated -> use translate languages","format":"int64","deprecated":true}},"translateLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can translate to","deprecated":true,"items":{"type":"integer","description":"Languages user can translate to","format":"int64","deprecated":true}},"viewLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can view","deprecated":true,"items":{"type":"integer","description":"Languages user can view","format":"int64","deprecated":true}},"stateChangeLanguages":{"uniqueItems":true,"type":"array","description":"Languages user can change translation state (review)","deprecated":true,"items":{"type":"integer","description":"Languages user can change translation state (review)","format":"int64","deprecated":true}},"email":{"maxLength":250,"minLength":0,"type":"string","description":"Email to send invitation to"},"name":{"maxLength":250,"minLength":0,"type":"string","description":"Name of invited user"},"agencyId":{"type":"integer","description":"Id of invited agency","format":"int64"}}},"PermissionWithAgencyModel":{"required":["scopes"],"type":"object","properties":{"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if uses granular permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","example":[200001,200004],"deprecated":true,"items":{"type":"integer","description":"Deprecated (use translateLanguageIds). \n\nList of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.","format":"int64","deprecated":true}},"translateLanguageIds":{"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"viewLanguageIds":{"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"stateChangeLanguageIds":{"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"ProjectInvitationModel":{"required":["createdAt","id","permission"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"type":{"type":"string","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"permittedLanguageIds":{"type":"array","items":{"type":"integer","format":"int64"}},"createdAt":{"type":"string","format":"date-time"},"invitedUserName":{"type":"string"},"invitedUserEmail":{"type":"string"},"permission":{"$ref":"#/components/schemas/PermissionWithAgencyModel"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}},"AzureContentStorageConfigDto":{"required":["containerName"],"type":"object","properties":{"connectionString":{"maxLength":255,"minLength":0,"type":"string"},"containerName":{"maxLength":255,"minLength":0,"type":"string"}}},"ContentStorageRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"minLength":0,"type":"string"},"azureContentStorageConfig":{"$ref":"#/components/schemas/AzureContentStorageConfigDto"},"s3ContentStorageConfig":{"$ref":"#/components/schemas/S3ContentStorageConfigDto"},"publicUrlPrefix":{"maxLength":255,"minLength":0,"type":"string"}}},"S3ContentStorageConfigDto":{"required":["bucketName","endpoint","signingRegion"],"type":"object","properties":{"bucketName":{"maxLength":255,"minLength":0,"type":"string"},"accessKey":{"maxLength":255,"minLength":0,"type":"string"},"secretKey":{"maxLength":255,"minLength":0,"type":"string"},"endpoint":{"maxLength":255,"minLength":0,"type":"string"},"signingRegion":{"maxLength":255,"minLength":0,"type":"string"},"contentStorageType":{"type":"string","enum":["S3","AZURE"]},"enabled":{"type":"boolean"}}},"AzureContentStorageConfigModel":{"type":"object","properties":{"containerName":{"type":"string"}}},"ContentStorageModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"publicUrlPrefix":{"type":"string"},"azureContentStorageConfig":{"$ref":"#/components/schemas/AzureContentStorageConfigModel"},"s3ContentStorageConfig":{"$ref":"#/components/schemas/S3ContentStorageConfigModel"}}},"S3ContentStorageConfigModel":{"required":["bucketName","endpoint","signingRegion"],"type":"object","properties":{"bucketName":{"type":"string"},"endpoint":{"type":"string"},"signingRegion":{"type":"string"}}},"ContentDeliveryConfigRequest":{"required":["autoPublish","format","name","pruneBeforePublish","supportArrays"],"type":"object","properties":{"name":{"type":"string"},"contentStorageId":{"type":"integer","description":"Id of custom storage to use for content delivery. If null, default server storage is used. Tolgee Cloud provides default Content Storage.","format":"int64"},"autoPublish":{"type":"boolean","description":"If true, data are published to the content delivery automatically after each change."},"slug":{"maxLength":60,"minLength":1,"type":"string","description":"Tolgee uses a custom slug as a directory name for content storage and public content delivery URL. It is only applicable for custom storage. This field needs to be kept null for Tolgee Cloud content storage or global server storage on self-hosted instances.\n\nSlag has to match following regular expression: `^[a-z0-9]+(?:-[a-z0-9]+)*$`.\n\nIf null is provided for update operation, slug will be assigned with generated value."},"pruneBeforePublish":{"type":"boolean","description":"Whether the data in the CDN should be pruned before publishing new data.\n\nIn some cases, you might want to keep the data in the storage and only replace the files created by following publish operation."},"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"}}},"ContentDeliveryConfigModel":{"required":["autoPublish","format","id","lastPublishedFiles","name","pruneBeforePublish","slug","supportArrays"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"slug":{"type":"string"},"pruneBeforePublish":{"type":"boolean"},"storage":{"$ref":"#/components/schemas/ContentStorageModel"},"publicUrl":{"type":"string"},"autoPublish":{"type":"boolean"},"lastPublished":{"type":"integer","format":"int64"},"lastPublishedFiles":{"type":"array","items":{"type":"string"}},"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"}}},"ComplexTagKeysRequest":{"type":"object","properties":{"filterKeys":{"type":"array","description":"Include keys filtered by the provided key information","items":{"$ref":"#/components/schemas/KeyId"}},"filterKeysNot":{"type":"array","description":"Exclude keys filtered by the provided key information","items":{"$ref":"#/components/schemas/KeyId"}},"filterTag":{"type":"array","description":"Include keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`.","items":{"type":"string","description":"Include keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`."}},"filterTagNot":{"type":"array","description":"Exclude keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`.","items":{"type":"string","description":"Exclude keys filtered by the provided tag information. This filter supports wildcards. For example, `draft-*` will match all tags starting with `draft-`."}},"tagFiltered":{"type":"array","description":"Specified tags will be added to filtered keys","items":{"type":"string","description":"Specified tags will be added to filtered keys"}},"untagFiltered":{"type":"array","description":"Specified tags will be removed from filtered keys. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`.","items":{"type":"string","description":"Specified tags will be removed from filtered keys. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`."}},"tagOther":{"type":"array","description":"Specified tags will be added to keys not filtered by any of the specified filters.","items":{"type":"string","description":"Specified tags will be added to keys not filtered by any of the specified filters."}},"untagOther":{"type":"array","description":"Specified tags will be removed from keys not filtered by any of the specified filters. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`.","items":{"type":"string","description":"Specified tags will be removed from keys not filtered by any of the specified filters. It supports wildcards. For example, `draft-*` will remove all tags starting with `draft-`."}}}},"KeyId":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"},"id":{"type":"integer","description":"If key id is provided, name and namespace are ignored.","format":"int64"}},"description":"Exclude keys filtered by the provided key information"},"TagKeyDto":{"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"minLength":0,"type":"string"}}},"SetFileNamespaceRequest":{"type":"object","properties":{"namespace":{"type":"string"}}},"StreamingResponseBody":{"type":"object"},"ImportSettingsRequest":{"required":["convertPlaceholdersToIcu","createNewKeys","overrideKeyDescriptions"],"type":"object","properties":{"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"},"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"}}},"ImportSettingsModel":{"required":["convertPlaceholdersToIcu","createNewKeys","overrideKeyDescriptions"],"type":"object","properties":{"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"},"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"}}},"TranslationCommentModel":{"required":["author","createdAt","id","state","text","updatedAt"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation comment record","format":"int64"},"text":{"type":"string","description":"Text of comment"},"state":{"type":"string","description":"State of translation","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"string","description":"Date when it was created","format":"date-time"},"updatedAt":{"type":"string","description":"Date when it was updated","format":"date-time"}}},"TranslationCommentDto":{"required":["state","text"],"type":"object","properties":{"text":{"type":"string"},"state":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}}},"SetTranslationsWithKeyDto":{"required":["key","translations"],"type":"object","properties":{"key":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"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!"}},"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\"]"}}}},"SetTranslationsResponseModel":{"required":["keyId","keyIsPlural","keyName","translations"],"type":"object","properties":{"keyId":{"type":"integer","description":"Id of key record","format":"int64"},"keyName":{"type":"string","description":"Name of key","example":"this_is_super_key"},"keyNamespace":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyIsPlural":{"type":"boolean"},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationModel"},"description":"Translations object containing values updated in this request","example":{"en":{"id":100000003,"text":"This is super translation!"}}}}},"LanguageRequest":{"required":["name","originalName","tag"],"type":"object","properties":{"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"},"flagEmoji":{"maxLength":20,"minLength":0,"type":"string","description":"Language flag emoji as UTF-8 emoji","example":"🇨🇿"}}},"SetLanguagePromptCustomizationRequest":{"type":"object","properties":{"description":{"maxLength":2000,"minLength":0,"type":"string","description":"The language description used in the prompt that helps AI translator to fine tune results for specific language","example":"For arabic language, we are super formal. Always use these translations: \nPaper -> ورقة\nOffice -> مكتب\n"}}},"LanguageAiPromptCustomizationModel":{"required":["language"],"type":"object","properties":{"description":{"type":"string","description":"The language description used in the prompt that helps AI translator to fine tune results for specific language","example":"For arabic language, we are super formal. Always use these translations: \nPaper -> ورقة\nOffice -> مكتب\n"},"language":{"$ref":"#/components/schemas/LanguageModel"}}},"SetProjectPromptCustomizationRequest":{"type":"object","properties":{"description":{"maxLength":2000,"minLength":0,"type":"string","description":"The project description used in the prompt that helps AI translator to understand the context of your project.","example":"We are Dunder Mifflin, a paper company. We sell paper. This is an project of translations for out paper selling app."}}},"ProjectAiPromptCustomizationModel":{"type":"object","properties":{"description":{"type":"string","description":"The project description used in the prompt that helps AI translator to understand the context of your project.","example":"We are Dunder Mifflin, a paper company. We sell paper. This is an project of translations for out paper selling app."}}},"UpdatePatDto":{"required":["description"],"type":"object","properties":{"description":{"type":"string","description":"New description of the PAT"}}},"PatModel":{"required":["createdAt","description","id","updatedAt"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"description":{"type":"string"},"expiresAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"lastUsedAt":{"type":"integer","format":"int64"}}},"RegeneratePatDto":{"type":"object","properties":{"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"RevealedPatModel":{"required":["createdAt","description","id","token","updatedAt"],"type":"object","properties":{"token":{"type":"string"},"lastUsedAt":{"type":"integer","format":"int64"},"expiresAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"SetOrganizationRoleDto":{"required":["roleType"],"type":"object","properties":{"roleType":{"type":"string","enum":["MEMBER","OWNER"]}}},"CreateProviderRequest":{"required":["authorizationUri","clientId","clientSecret","domain","enabled","tokenUri"],"type":"object","properties":{"enabled":{"type":"boolean"},"clientId":{"maxLength":255,"minLength":0,"type":"string"},"clientSecret":{"maxLength":255,"minLength":0,"type":"string"},"authorizationUri":{"maxLength":255,"minLength":0,"type":"string"},"tokenUri":{"maxLength":255,"minLength":0,"type":"string"},"domain":{"maxLength":255,"minLength":0,"type":"string"}}},"SsoTenantModel":{"required":["authorizationUri","clientId","clientSecret","domain","enabled","global","tokenUri"],"type":"object","properties":{"enabled":{"type":"boolean"},"authorizationUri":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"},"tokenUri":{"type":"string"},"domain":{"type":"string"},"global":{"type":"boolean"}}},"CollectionModelSelfHostedEeSubscriptionModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/SelfHostedEeSubscriptionModel"}}}}}},"PlanIncludedUsageModel":{"required":["mtCredits","seats","translationSlots","translations"],"type":"object","properties":{"seats":{"type":"integer","format":"int64"},"translationSlots":{"type":"integer","format":"int64"},"translations":{"type":"integer","format":"int64"},"mtCredits":{"type":"integer","format":"int64"}}},"PlanPricesModel":{"required":["perSeat","subscriptionMonthly","subscriptionYearly"],"type":"object","properties":{"perSeat":{"type":"number"},"perThousandTranslations":{"type":"number"},"perThousandMtCredits":{"type":"number"},"subscriptionMonthly":{"type":"number"},"subscriptionYearly":{"type":"number"}}},"SelfHostedEePlanModel":{"required":["enabledFeatures","free","hasYearlyPrice","id","includedUsage","name","nonCommercial","prices","public"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"public":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"prices":{"$ref":"#/components/schemas/PlanPricesModel"},"includedUsage":{"$ref":"#/components/schemas/PlanIncludedUsageModel"},"hasYearlyPrice":{"type":"boolean"},"free":{"type":"boolean"},"nonCommercial":{"type":"boolean"}}},"SelfHostedEeSubscriptionModel":{"required":["createdAt","currentBillingPeriod","id","plan","status"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"currentPeriodStart":{"type":"integer","format":"int64"},"currentPeriodEnd":{"type":"integer","format":"int64"},"currentBillingPeriod":{"type":"string","enum":["MONTHLY","YEARLY"]},"createdAt":{"type":"integer","format":"int64"},"plan":{"$ref":"#/components/schemas/SelfHostedEePlanModel"},"status":{"type":"string","enum":["ACTIVE","CANCELED","PAST_DUE","UNPAID","ERROR","KEY_USED_BY_ANOTHER_INSTANCE"]},"licenseKey":{"type":"string"},"estimatedCosts":{"type":"number"}}},"CloudPlanModel":{"required":["enabledFeatures","free","hasYearlyPrice","id","includedUsage","name","nonCommercial","prices","public","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"free":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"type":{"type":"string","enum":["PAY_AS_YOU_GO","FIXED","SLOTS_FIXED"]},"prices":{"$ref":"#/components/schemas/PlanPricesModel"},"includedUsage":{"$ref":"#/components/schemas/PlanIncludedUsageModel"},"hasYearlyPrice":{"type":"boolean"},"public":{"type":"boolean"},"nonCommercial":{"type":"boolean"}}},"CloudSubscriptionModel":{"required":["cancelAtPeriodEnd","createdAt","organizationId","plan"],"type":"object","properties":{"organizationId":{"type":"integer","format":"int64"},"plan":{"$ref":"#/components/schemas/CloudPlanModel"},"currentPeriodStart":{"type":"integer","format":"int64"},"currentPeriodEnd":{"type":"integer","format":"int64"},"currentBillingPeriod":{"type":"string","enum":["MONTHLY","YEARLY"]},"cancelAtPeriodEnd":{"type":"boolean"},"estimatedCosts":{"type":"number"},"createdAt":{"type":"integer","format":"int64"}}},"OrganizationDto":{"required":["name"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string","example":"Beautiful organization"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string","example":"btforg"}}},"OrganizationModel":{"required":["basePermissions","id","name","slug"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"Beautiful organization"},"slug":{"type":"string","example":"btforg"},"description":{"type":"string","example":"This is a beautiful organization full of beautiful and clever people"},"basePermissions":{"$ref":"#/components/schemas/PermissionModel"},"currentUserRole":{"type":"string","description":"The role of currently authorized user. \n \nCan be null when user has direct access to one of the projects owned by the organization.","enum":["MEMBER","OWNER"]},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"OrganizationInviteUserDto":{"required":["roleType"],"type":"object","properties":{"roleType":{"type":"string","enum":["MEMBER","OWNER"]},"name":{"maxLength":250,"minLength":0,"type":"string","description":"Name of invited user"},"email":{"maxLength":250,"minLength":0,"type":"string","description":"Email to send invitation to"}}},"OrganizationInvitationModel":{"required":["code","createdAt","id","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"type":{"type":"string","enum":["MEMBER","OWNER"]},"createdAt":{"type":"string","format":"date-time"},"invitedUserName":{"type":"string"},"invitedUserEmail":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}},"SetLicenseKeyDto":{"required":["licenseKey"],"type":"object","properties":{"licenseKey":{"type":"string"}}},"EeSubscriptionModel":{"required":["cancelAtPeriodEnd","currentUserCount","enabledFeatures","licenseKey","name","nonCommerical","status"],"type":"object","properties":{"name":{"type":"string"},"licenseKey":{"type":"string"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["GRANULAR_PERMISSIONS","PRIORITIZED_FEATURE_REQUESTS","PREMIUM_SUPPORT","DEDICATED_SLACK_CHANNEL","ASSISTED_UPDATES","DEPLOYMENT_ASSISTANCE","BACKUP_CONFIGURATION","TEAM_TRAINING","ACCOUNT_MANAGER","STANDARD_SUPPORT","PROJECT_LEVEL_CONTENT_STORAGES","WEBHOOKS","MULTIPLE_CONTENT_DELIVERY_CONFIGS","AI_PROMPT_CUSTOMIZATION","SLACK_INTEGRATION","TASKS","SSO","ORDER_TRANSLATION"]}},"currentPeriodEnd":{"type":"integer","format":"int64"},"cancelAtPeriodEnd":{"type":"boolean"},"currentUserCount":{"type":"integer","format":"int64"},"status":{"type":"string","enum":["ACTIVE","CANCELED","PAST_DUE","UNPAID","ERROR","KEY_USED_BY_ANOTHER_INSTANCE"]},"nonCommerical":{"type":"boolean"},"lastValidCheck":{"type":"string","format":"date-time"}}},"V2EditApiKeyDto":{"required":["scopes"],"type":"object","properties":{"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"description":{"type":"string"}}},"ApiKeyModel":{"required":["description","id","projectId","projectName","scopes"],"type":"object","properties":{"id":{"type":"integer","description":"ID of the API key","format":"int64"},"description":{"type":"string","description":"Description"},"username":{"type":"string","description":"Username of user owner"},"userFullName":{"type":"string","description":"Full name of user owner"},"projectId":{"type":"integer","description":"Api key's project ID","format":"int64"},"projectName":{"type":"string","description":"Api key's project name"},"expiresAt":{"type":"integer","description":"Timestamp of API key expiraion","format":"int64"},"lastUsedAt":{"type":"integer","description":"Timestamp of API key last usage","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","description":"Api key's permission scopes","example":["screenshots.upload","screenshots.delete","translations.edit","screenshots.view","translations.view","keys.edit"],"items":{"type":"string","description":"Api key's permission scopes","example":"[\"screenshots.upload\",\"screenshots.delete\",\"translations.edit\",\"screenshots.view\",\"translations.view\",\"keys.edit\"]"}}}},"RegenerateApiKeyDto":{"type":"object","properties":{"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"RevealedApiKeyModel":{"required":["description","id","key","projectId","projectName","scopes"],"type":"object","properties":{"key":{"type":"string","description":"Resulting user's api key"},"userFullName":{"type":"string"},"projectName":{"type":"string"},"lastUsedAt":{"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"expiresAt":{"type":"integer","format":"int64"},"projectId":{"type":"integer","format":"int64"},"username":{"type":"string"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"SuperTokenRequest":{"type":"object","properties":{"otp":{"type":"string","description":"Has to be provided when TOTP enabled"},"password":{"type":"string","description":"Has to be provided when TOTP not enabled"}}},"GenerateSlugDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"oldSlug":{"type":"string"}}},"SlackCommandDto":{"required":["channel_id","channel_name","command","team_domain","team_id","text","user_id","user_name"],"type":"object","properties":{"token":{"type":"string"},"team_id":{"type":"string"},"channel_id":{"type":"string"},"command":{"type":"string"},"channel_name":{"type":"string"},"user_id":{"type":"string"},"user_name":{"type":"string"},"text":{"type":"string"},"trigger_id":{"type":"string"},"team_domain":{"type":"string"}}},"AverageProportionalUsageItemModel":{"required":["total","unusedQuantity","usedQuantity","usedQuantityOverPlan"],"type":"object","properties":{"total":{"type":"number"},"unusedQuantity":{"type":"number"},"usedQuantity":{"type":"number"},"usedQuantityOverPlan":{"type":"number"}}},"PrepareSetEeLicenceKeyModel":{"required":["plan","usage"],"type":"object","properties":{"plan":{"$ref":"#/components/schemas/SelfHostedEePlanModel"},"usage":{"$ref":"#/components/schemas/UsageModel"}}},"SumUsageItemModel":{"required":["total","unusedQuantity","usedQuantity","usedQuantityOverPlan"],"type":"object","properties":{"total":{"type":"number"},"unusedQuantity":{"type":"integer","format":"int64"},"usedQuantity":{"type":"integer","format":"int64"},"usedQuantityOverPlan":{"type":"integer","format":"int64"}}},"UsageModel":{"required":["seats","total","translations"],"type":"object","properties":{"subscriptionPrice":{"type":"number"},"appliedStripeCredits":{"type":"number","description":"Relevant for invoices only. When there are applied stripe credits, we need to reduce the total price by this amount."},"seats":{"$ref":"#/components/schemas/AverageProportionalUsageItemModel"},"translations":{"$ref":"#/components/schemas/AverageProportionalUsageItemModel"},"credits":{"$ref":"#/components/schemas/SumUsageItemModel"},"total":{"type":"number"}}},"CreateProjectRequest":{"required":["icuPlaceholders","languages","name","organizationId"],"type":"object","properties":{"name":{"maxLength":50,"minLength":3,"type":"string"},"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageRequest"}},"slug":{"maxLength":60,"minLength":3,"pattern":"^[a-z0-9-]*[a-z]+[a-z0-9-]*$","type":"string","description":"Slug of your project used in url e.g. \"/v2/projects/what-a-project\". If not provided, it will be generated"},"organizationId":{"minimum":1,"type":"integer","description":"Organization to create the project in","format":"int64"},"baseLanguageTag":{"type":"string","description":"Tag of one of created languages, to select it as base language. If not provided, first language will be selected as base."},"icuPlaceholders":{"type":"boolean","description":"Whether to use ICU placeholder visualization in the editor and it's support."}}},"WebhookTestResponse":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"}}},"CreateMultipleTasksRequest":{"required":["tasks"],"type":"object","properties":{"tasks":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/CreateTaskRequest"}}}},"CreateTaskRequest":{"required":["assignees","description","keys","languageId","name","type"],"type":"object","properties":{"name":{"maxLength":255,"minLength":3,"type":"string"},"description":{"maxLength":2000,"minLength":0,"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"dueDate":{"type":"integer","description":"Due to date in epoch format (milliseconds).","format":"int64","example":1661172869000},"languageId":{"type":"integer","description":"Id of language, this task is attached to.","format":"int64","example":1},"assignees":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}},"keys":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"CalculateScopeRequest":{"required":["keys","languageId","type"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"keys":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}}},"KeysScopeView":{"required":["characterCount","keyCount","keyCountIncludingConflicts","wordCount"],"type":"object","properties":{"keyCount":{"type":"integer","format":"int64"},"characterCount":{"type":"integer","format":"int64"},"wordCount":{"type":"integer","format":"int64"},"keyCountIncludingConflicts":{"type":"integer","format":"int64"}}},"GetKeysRequestDto":{"required":["keys","languageTags"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyDefinitionDto"}},"languageTags":{"type":"array","description":"Tags to return language translations in","items":{"type":"string","description":"Tags to return language translations in"}}}},"KeyDefinitionDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"CollectionModelKeyWithDataModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithDataModel"}}}}}},"ImportKeysResolvableDto":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/ImportKeysResolvableItemDto"}}}},"ImportKeysResolvableItemDto":{"required":["name","translations"],"type":"object","properties":{"name":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"namespace":{"type":"string","description":"The namespace of the key. (When empty or null default namespace will be used)"},"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ImportTranslationResolvableDto"},"description":"Object mapping language tag to translation"}}},"ImportTranslationResolvableDto":{"required":["resolution","text"],"type":"object","properties":{"text":{"type":"string","description":"Translation text","example":"Hello! I am a translation!"},"resolution":{"type":"string","description":"Determines, how conflict is resolved.\n\n- KEEP: Translation is not changed\n- OVERRIDE: Translation is overridden\n- NEW: New translation is created\n- FORCE_OVERRIDE: Translation is updated, created or kept.\n","example":"OVERRIDE","enum":["KEEP","OVERRIDE","NEW","FORCE_OVERRIDE"]}},"description":"Object mapping language tag to translation"},"KeyImportResolvableResultModel":{"required":["keys","screenshots"],"type":"object","properties":{"keys":{"type":"array","description":"List of keys","items":{"$ref":"#/components/schemas/KeyModel"}},"screenshots":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ScreenshotModel"},"description":"Map uploadedImageId to screenshot"}}},"ImportKeysDto":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/ImportKeysItemDto"}}}},"ImportKeysItemDto":{"required":["name","translations"],"type":"object","properties":{"name":{"type":"string","description":"Key name to set translations for","example":"what_a_key_to_translate"},"namespace":{"type":"string","description":"The namespace of the key. (When empty or null default namespace will be used)"},"description":{"type":"string","description":"Description of key","example":"This key is used on homepage. It's a label of sign up button."},"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!"}},"tags":{"type":"array","description":"Tags of the key","example":["homepage","user-profile"],"items":{"type":"string","description":"Tags of the key","example":"[\"homepage\",\"user-profile\"]"}}}},"CreateKeyDto":{"required":["isPlural","name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the key"},"namespace":{"type":"string"},"translations":{"type":"object","additionalProperties":{"type":"string"}},"states":{"type":"object","additionalProperties":{"type":"string","description":"Translation states to update, if not provided states won't be modified","enum":["TRANSLATED","REVIEWED"]},"description":"Translation states to update, if not provided states won't be modified"},"tags":{"type":"array","items":{"type":"string"}},"screenshotUploadedImageIds":{"type":"array","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","items":{"type":"integer","description":"Ids of screenshots uploaded with /v2/image-upload endpoint","format":"int64"}},"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/KeyScreenshotDto"}},"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}},"description":{"maxLength":2000,"minLength":0,"type":"string","description":"Description of the key","example":"This key is used on homepage. It's a label of sign up button."},"isPlural":{"type":"boolean","description":"If key is pluralized. If it will be reflected in the editor"},"pluralArgName":{"type":"string","description":"The argument name for the plural. If null, value will be guessed from the values provided in translations."}}},"StorageTestResult":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"},"message":{"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_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","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","address_part_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","plan_auto_assignment_organization_ids_not_in_for_organization_ids","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"]},"params":{"type":"array","items":{"type":"object"}}}},"CreateTranslationOrderRequest":{"required":["agencyId","sendReadOnlyInvitation","tasks"],"type":"object","properties":{"agencyId":{"type":"integer","format":"int64"},"tasks":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/CreateTaskRequest"}},"sendReadOnlyInvitation":{"type":"boolean"}}},"UntagKeysRequest":{"required":["keyIds","tags"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"tags":{"type":"array","items":{"type":"string"}}}},"BatchJobModel":{"required":["createdAt","id","progress","status","totalItems","type","updatedAt"],"type":"object","properties":{"id":{"type":"integer","description":"Batch job id","format":"int64"},"status":{"type":"string","description":"Status of the batch job","enum":["PENDING","RUNNING","SUCCESS","FAILED","CANCELLED","DEBOUNCED"]},"type":{"type":"string","description":"Type of the batch job","enum":["PRE_TRANSLATE_BT_TM","MACHINE_TRANSLATE","AUTO_TRANSLATE","DELETE_KEYS","SET_TRANSLATIONS_STATE","CLEAR_TRANSLATIONS","COPY_TRANSLATIONS","TAG_KEYS","UNTAG_KEYS","SET_KEYS_NAMESPACE","AUTOMATION"]},"progress":{"type":"integer","description":"Total items, that have been processed so far","format":"int32"},"totalItems":{"type":"integer","description":"Total items","format":"int32"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","description":"The time when the job created","format":"int64"},"updatedAt":{"type":"integer","description":"The time when the job was last updated (status change)","format":"int64"},"activityRevisionId":{"type":"integer","description":"The activity revision id, that stores the activity details of the job","format":"int64"},"errorMessage":{"type":"string","description":"If the job failed, this is the error message"}}},"TagKeysRequest":{"required":["keyIds","tags"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"tags":{"type":"array","items":{"type":"string"}}}},"SetTranslationsStateStateRequest":{"required":["keyIds","languageIds","state"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"languageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}},"state":{"type":"string","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}}},"SetKeysNamespaceRequest":{"required":["keyIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"namespace":{"maxLength":100,"minLength":0,"type":"string"}}},"PreTranslationByTmRequest":{"required":["keyIds","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"MachineTranslationRequest":{"required":["keyIds","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"DeleteKeysRequest":{"required":["keyIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CopyTranslationRequest":{"required":["keyIds","sourceLanguageId","targetLanguageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"sourceLanguageId":{"minimum":1,"type":"integer","format":"int64"},"targetLanguageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"ClearTranslationsRequest":{"required":["keyIds","languageIds"],"type":"object","properties":{"keyIds":{"type":"array","items":{"type":"integer","format":"int64"}},"languageIds":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"integer","format":"int64"}}}},"ImportFileMapping":{"required":["fileName"],"type":"object","properties":{"fileName":{"type":"string","description":"Name of the file to import. This is the name of the file provided in `files` request part or in uploaded archive."},"namespace":{"type":"string","description":"Namespace to import the file to. If not provided, the key will be imported without namespace."},"format":{"type":"string","description":"Format of the file. If not provided, Tolgee will try to guess the format from the file name or file contents.\n\nIt is recommended to provide these values to prevent any issues with format detection.","enum":["CSV_ICU","CSV_JAVA","CSV_PHP","CSV_RUBY","JSON_I18NEXT","JSON_ICU","JSON_JAVA","JSON_PHP","JSON_RUBY","JSON_C","PO_PHP","PO_C","PO_JAVA","PO_ICU","PO_RUBY","STRINGS","STRINGSDICT","APPLE_XLIFF","PROPERTIES_ICU","PROPERTIES_JAVA","PROPERTIES_UNKNOWN","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","YAML_RUBY","YAML_JAVA","YAML_ICU","YAML_PHP","YAML_UNKNOWN","XLIFF_ICU","XLIFF_JAVA","XLIFF_PHP","XLIFF_RUBY","RESX_ICU"]},"languageTag":{"type":"string","description":"The existing language tag in the Tolgee platform to which the imported language should be mapped.\n\nWhen null, Tolgee will try to guess the language from the file contents or file name."}},"description":"Definition of mapping for each file to import."},"LanguageMapping":{"required":["importLanguage","platformLanguageTag"],"type":"object","properties":{"importLanguage":{"type":"string","description":"The language from the imported file.\n\nFor xliff files, this is the `source-language` or the `target-language` attribute value of `file` element.","example":"en-US"},"platformLanguageTag":{"type":"string","description":"The tag of language existing in the Tolgee platform to which the imported language should be mapped.","example":"en-US"}},"description":"Maps the languages from imported files to languages existing in the Tolgee platform.\n\nUse this field only when your files contain multiple languages (e.g., XLIFF files).\n\nOtherwise, use the `languageTag` property of `fileMappings`.\n\nExample: In xliff files, there are `source-language` and `target-language` attributes defined on `file` element. Using this field you can map source and target values to languages stored in the Tolgee Platform."},"SingleStepImportRequest":{"required":["convertPlaceholdersToIcu","createNewKeys","fileMappings","forceMode","overrideKeyDescriptions","tagNewKeys"],"type":"object","properties":{"structureDelimiter":{"type":"string","description":"When importing files in structured formats (e.g., JSON, YAML), this field defines the delimiter which will be used in names of imported keys.","example":"."},"forceMode":{"type":"string","description":"Whether to override existing translation data.\n\nWhen set to `KEEP`, existing translations will be kept.\n\nWhen set to `OVERRIDE`, existing translations will be overwrote.\n\nWhen set to `NO_FORCE`, error will be thrown on conflict.","enum":["OVERRIDE","KEEP","NO_FORCE"]},"languageMappings":{"type":"array","description":"Maps the languages from imported files to languages existing in the Tolgee platform.\n\nUse this field only when your files contain multiple languages (e.g., XLIFF files).\n\nOtherwise, use the `languageTag` property of `fileMappings`.\n\nExample: In xliff files, there are `source-language` and `target-language` attributes defined on `file` element. Using this field you can map source and target values to languages stored in the Tolgee Platform.","items":{"$ref":"#/components/schemas/LanguageMapping"}},"overrideKeyDescriptions":{"type":"boolean","description":"If true, key descriptions will be overridden by the import"},"convertPlaceholdersToIcu":{"type":"boolean","description":"If true, placeholders from other formats will be converted to ICU when possible"},"createNewKeys":{"type":"boolean","description":"If false, only updates keys, skipping the creation of new keys"},"fileMappings":{"type":"array","description":"Definition of mapping for each file to import.","items":{"$ref":"#/components/schemas/ImportFileMapping"}},"tagNewKeys":{"type":"array","description":"Keys created by this import will be tagged with these tags. It add tags only to new keys. The keys that already exist will not be tagged.","items":{"type":"string","description":"Keys created by this import will be tagged with these tags. It add tags only to new keys. The keys that already exist will not be tagged."}},"removeOtherKeys":{"type":"boolean","description":"If yes, keys from project that were not included in import will be deleted."}}},"ImportAddFilesResultModel":{"required":["errors","warnings"],"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorResponseBody"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ErrorResponseBody"}},"result":{"$ref":"#/components/schemas/PagedModelImportLanguageModel"}}},"ImportLanguageModel":{"required":["conflictCount","id","importFileId","importFileIssueCount","importFileName","name","resolvedCount","totalCount"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"existingLanguageId":{"type":"integer","format":"int64"},"existingLanguageTag":{"type":"string"},"existingLanguageAbbreviation":{"type":"string"},"existingLanguageName":{"type":"string"},"importFileName":{"type":"string"},"importFileId":{"type":"integer","format":"int64"},"importFileIssueCount":{"type":"integer","format":"int32"},"namespace":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"conflictCount":{"type":"integer","format":"int32"},"resolvedCount":{"type":"integer","format":"int32"}}},"PageMetadata":{"type":"object","properties":{"size":{"type":"integer","format":"int64"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int64"},"number":{"type":"integer","format":"int64"}}},"PagedModelImportLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/ImportLanguageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ExportParams":{"required":["format","supportArrays","zip"],"type":"object","properties":{"languages":{"uniqueItems":true,"type":"array","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en","items":{"type":"string","description":"Languages to be contained in export.\n \nIf null, all languages are exported","example":"en"}},"format":{"type":"string","description":"Format to export to","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"structureDelimiter":{"type":"string","description":"Delimiter to structure file content. \n\ne.g. For key \"home.header.title\" would result in {\"home\": {\"header\": \"title\": {\"Hello\"}}} structure.\n\nWhen null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML), \nspecific formats like `YAML_RUBY` don't honor this parameter."},"filterKeyId":{"type":"array","description":"Filter key IDs to be contained in export","items":{"type":"integer","description":"Filter key IDs to be contained in export","format":"int64"}},"filterKeyIdNot":{"type":"array","description":"Filter key IDs not to be contained in export","items":{"type":"integer","description":"Filter key IDs not to be contained in export","format":"int64"}},"filterTag":{"type":"string","description":"Filter keys tagged by.\n\nThis filter works the same as `filterTagIn` but in this cases it accepts single tag only."},"filterTagIn":{"type":"array","description":"Filter keys tagged by one of provided tags","items":{"type":"string","description":"Filter keys tagged by one of provided tags"}},"filterTagNotIn":{"type":"array","description":"Filter keys not tagged by one of provided tags","items":{"type":"string","description":"Filter keys not tagged by one of provided tags"}},"filterKeyPrefix":{"type":"string","description":"Filter keys with prefix"},"filterState":{"type":"array","description":"Filter translations with state. By default, all states except untranslated is exported.","items":{"type":"string","description":"Filter translations with state. By default, all states except untranslated is exported.","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]}},"filterNamespace":{"type":"array","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.","items":{"type":"string","description":"Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string."}},"zip":{"type":"boolean"},"messageFormat":{"type":"string","description":"Message format to be used for export.\n \ne.g. PHP_PO: Hello %s, ICU: Hello {name}. \n\nThis property is honored only for generic formats like JSON or YAML. \nFor specific formats like `YAML_RUBY` it's ignored.","enum":["C_SPRINTF","PHP_SPRINTF","JAVA_STRING_FORMAT","APPLE_SPRINTF","RUBY_SPRINTF","I18NEXT","ICU"]},"fileStructureTemplate":{"type":"string","description":"This is a template that defines the structure of the resulting .zip file content.\n\nThe template is a string that can contain the following placeholders: {namespace}, {languageTag}, \n{androidLanguageTag}, {snakeLanguageTag}, {extension}. \n\nFor example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`, \nthe English translations of the `home` namespace will be stored in `home/en.json`.\n\nThe `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).\n\nThe Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}` \nbut in Android format. (e.g., en-rUS)\n"},"supportArrays":{"type":"boolean","description":"If true, for structured formats (like JSON) arrays are supported. \n\ne.g. Key hello[0] will be exported as {\"hello\": [\"...\"]}"}}},"BigMetaDto":{"type":"object","properties":{"relatedKeysInOrder":{"type":"array","description":"Keys in the document used as a context for machine translation. Keys in the same order as they appear in the document. The order is important! We are using it for graph distance calculation. ","items":{"$ref":"#/components/schemas/RelatedKeyDto"}}}},"TranslationCommentWithLangKeyDto":{"required":["keyId","languageId","state","text"],"type":"object","properties":{"keyId":{"type":"integer","format":"int64"},"languageId":{"type":"integer","format":"int64"},"text":{"type":"string"},"state":{"type":"string","enum":["RESOLUTION_NOT_NEEDED","NEEDS_RESOLUTION","RESOLVED"]}}},"TranslationWithCommentModel":{"required":["comment","translation"],"type":"object","properties":{"translation":{"$ref":"#/components/schemas/TranslationModel"},"comment":{"$ref":"#/components/schemas/TranslationCommentModel"}}},"SuggestRequestDto":{"required":["targetLanguageId"],"type":"object","properties":{"keyId":{"type":"integer","description":"Key Id to get results for. Use when key is stored already.","format":"int64"},"targetLanguageId":{"type":"integer","format":"int64"},"baseText":{"type":"string","description":"Text value of base translation. Useful, when base translation is not stored yet."},"isPlural":{"type":"boolean","description":"Whether base text is plural. This value is ignored if baseText is null."},"services":{"uniqueItems":true,"type":"array","description":"List of services to use. If null, then all enabled services are used.","items":{"type":"string","description":"List of services to use. If null, then all enabled services are used.","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]}},"plural":{"type":"boolean","writeOnly":true}}},"PagedModelTranslationMemoryItemModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translationMemoryItems":{"type":"array","items":{"$ref":"#/components/schemas/TranslationMemoryItemModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"TranslationMemoryItemModel":{"required":["baseText","keyName","similarity","targetText"],"type":"object","properties":{"targetText":{"type":"string"},"baseText":{"type":"string"},"keyName":{"type":"string"},"similarity":{"type":"number","format":"float"}}},"SuggestResultModel":{"required":["baseBlank"],"type":"object","properties":{"machineTranslations":{"type":"object","additionalProperties":{"type":"string","description":"String translations provided by enabled services. (deprecated, use `result` instead)","example":"\n {\n \"GOOGLE\": \"This was translated by Google\",\n \"TOLGEE\": \"This was translated by Tolgee Translator\",\n }\n ","deprecated":true},"description":"String translations provided by enabled services. (deprecated, use `result` instead)","example":"\n {\n \"GOOGLE\": \"This was translated by Google\",\n \"TOLGEE\": \"This was translated by Tolgee Translator\",\n }\n ","deprecated":true},"result":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationItemModel"},"description":"Results provided by enabled services.","example":{"GOOGLE":{"output":"This was translated by Google","contextDescription":null},"TOLGEE":{"output":"This was translated by Tolgee Translator","contextDescription":"This is an example in swagger"}}},"baseBlank":{"type":"boolean","description":"If true, the base translation was empty and no translation was provided."}}},"TranslationItemModel":{"required":["output"],"type":"object","properties":{"output":{"type":"string"},"contextDescription":{"type":"string"}},"description":"Results provided by enabled services.","example":{"GOOGLE":{"output":"This was translated by Google","contextDescription":null},"TOLGEE":{"output":"This was translated by Tolgee Translator","contextDescription":"This is an example in swagger"}}},"ScreenshotInfoDto":{"type":"object","properties":{"text":{"type":"string"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/KeyInScreenshotPositionDto"}},"location":{"type":"string"}}},"CreatePatDto":{"required":["description"],"type":"object","properties":{"description":{"type":"string","description":"Description of the PAT"},"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null, token never expires.","format":"int64","example":1661172869000}}},"ConnectToSlackDto":{"required":["code"],"type":"object","properties":{"code":{"type":"string"}}},"ImageUploadInfoDto":{"type":"object","properties":{"location":{"type":"string"}}},"UploadedImageModel":{"required":["createdAt","fileUrl","filename","id","requestFilename"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"filename":{"type":"string"},"fileUrl":{"type":"string"},"requestFilename":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"location":{"type":"string"}}},"CreateApiKeyDto":{"required":["projectId","scopes"],"type":"object","properties":{"projectId":{"minimum":1,"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"description":{"type":"string","description":"Description of the project API key"},"expiresAt":{"type":"integer","description":"Expiration date in epoch format (milliseconds). When null key never expires.","format":"int64","example":1661172869000}}},"LoginRequest":{"required":["password","username"],"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"otp":{"type":"string"}}},"DomainRequest":{"required":["domain","state"],"type":"object","properties":{"domain":{"type":"string"},"state":{"type":"string"}}},"SsoUrlResponse":{"required":["redirectUrl"],"type":"object","properties":{"redirectUrl":{"type":"string"}}},"CollectionModelSimpleOrganizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/SimpleOrganizationModel"}}}}}},"PagedModelTaskWithProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/TaskWithProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"SimpleProjectModel":{"required":["icuPlaceholders","id","name"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"icuPlaceholders":{"type":"boolean"}}},"TaskWithProjectModel":{"required":["assignees","baseCharacterCount","baseWordCount","description","doneItems","language","name","number","project","state","totalItems","type"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]},"language":{"$ref":"#/components/schemas/LanguageModel"},"dueDate":{"type":"integer","format":"int64"},"assignees":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}},"totalItems":{"type":"integer","format":"int64"},"doneItems":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"createdAt":{"type":"integer","format":"int64"},"closedAt":{"type":"integer","format":"int64"},"state":{"type":"string","enum":["NEW","IN_PROGRESS","DONE","CLOSED"]},"project":{"$ref":"#/components/schemas/SimpleProjectModel"},"agency":{"$ref":"#/components/schemas/TranslationAgencySimpleModel"}}},"UserPreferencesModel":{"type":"object","properties":{"language":{"type":"string"},"preferredOrganizationId":{"type":"integer","format":"int64"}}},"SlackUserInfoModel":{"required":["slackAvatar","slackId","teamName"],"type":"object","properties":{"teamName":{"type":"string"},"slackName":{"type":"string"},"slackId":{"type":"string"},"slackRealName":{"type":"string"},"slackAvatar":{"type":"string"}}},"HierarchyItem":{"required":["requires","scope"],"type":"object","properties":{"scope":{"type":"string","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]},"requires":{"type":"array","items":{"$ref":"#/components/schemas/HierarchyItem"}}}},"MachineTranslationProviderModel":{"type":"object","properties":{"supportedLanguages":{"type":"array","description":"BCP 47 tags of languages supported by the translation service. When null, all possible languages are supported. \n\nPlease note that Tolgee tries to fall back to a higher subtag if the subtag is not supported.\n\nE.g., if `pt-BR` is not supported. Tolgee fallbacks to `pt`.","items":{"type":"string","description":"BCP 47 tags of languages supported by the translation service. When null, all possible languages are supported. \n\nPlease note that Tolgee tries to fall back to a higher subtag if the subtag is not supported.\n\nE.g., if `pt-BR` is not supported. Tolgee fallbacks to `pt`."}}}},"AnnouncementDto":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["FEATURE_BATCH_OPERATIONS","FEATURE_MT_FORMALITY","FEATURE_CONTENT_DELIVERY_AND_WEBHOOKS","NEW_PRICING","FEATURE_AI_CUSTOMIZATION","FEATURE_VISUAL_EDITOR","FEATURE_CLI_2","FEATURE_TASKS"]}}},"AuthMethodsDTO":{"required":["github","google","oauth2","ssoGlobal","ssoOrganizations"],"type":"object","properties":{"github":{"$ref":"#/components/schemas/OAuthPublicConfigDTO"},"google":{"$ref":"#/components/schemas/OAuthPublicConfigDTO"},"oauth2":{"$ref":"#/components/schemas/OAuthPublicExtendsConfigDTO"},"ssoGlobal":{"$ref":"#/components/schemas/SsoGlobalPublicConfigDTO"},"ssoOrganizations":{"$ref":"#/components/schemas/SsoOrganizationsPublicConfigDTO"}}},"MtServiceDTO":{"required":["defaultEnabledForProject","enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"defaultEnabledForProject":{"type":"boolean"}}},"MtServicesDTO":{"required":["services"],"type":"object","properties":{"defaultPrimaryService":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"services":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MtServiceDTO"}}}},"OAuthPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"clientId":{"type":"string"},"enabled":{"type":"boolean"}}},"OAuthPublicExtendsConfigDTO":{"required":["enabled"],"type":"object","properties":{"clientId":{"type":"string"},"authorizationUrl":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"}}},"PlausibleDto":{"required":["scriptUrl","url"],"type":"object","properties":{"domain":{"type":"string"},"url":{"type":"string"},"scriptUrl":{"type":"string"}}},"PublicBillingConfigurationDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"}}},"PublicConfigurationDTO":{"required":["allowRegistrations","appName","authentication","billing","contentDeliveryConfigured","internalControllerEnabled","machineTranslationServices","maxTranslationTextLength","maxUploadFileSize","nativeEnabled","needsEmailVerification","passwordResettable","plausible","screenshotsUrl","showVersion","slack","userCanCreateOrganizations","userSourceField","version"],"type":"object","properties":{"machineTranslationServices":{"$ref":"#/components/schemas/MtServicesDTO"},"billing":{"$ref":"#/components/schemas/PublicBillingConfigurationDTO"},"version":{"type":"string"},"authentication":{"type":"boolean"},"authMethods":{"$ref":"#/components/schemas/AuthMethodsDTO"},"nativeEnabled":{"type":"boolean"},"passwordResettable":{"type":"boolean"},"allowRegistrations":{"type":"boolean"},"screenshotsUrl":{"type":"string"},"maxUploadFileSize":{"type":"integer","format":"int32"},"clientSentryDsn":{"type":"string"},"needsEmailVerification":{"type":"boolean"},"userCanCreateOrganizations":{"type":"boolean"},"appName":{"type":"string"},"showVersion":{"type":"boolean"},"internalControllerEnabled":{"type":"boolean"},"maxTranslationTextLength":{"type":"integer","format":"int64"},"recaptchaSiteKey":{"type":"string"},"chatwootToken":{"type":"string"},"capterraTracker":{"type":"string"},"ga4Tag":{"type":"string"},"postHogApiKey":{"type":"string"},"postHogHost":{"type":"string"},"contentDeliveryConfigured":{"type":"boolean"},"userSourceField":{"type":"boolean"},"plausible":{"$ref":"#/components/schemas/PlausibleDto"},"slack":{"$ref":"#/components/schemas/SlackDTO"}}},"SlackDTO":{"required":["connected","enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"connected":{"type":"boolean"}}},"SsoGlobalPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"clientId":{"type":"string"},"domain":{"type":"string"},"customLogoUrl":{"type":"string"},"customLoginText":{"type":"string"}}},"SsoOrganizationsPublicConfigDTO":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"}}},"CollectionModelExportFormatModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"exportFormats":{"type":"array","items":{"$ref":"#/components/schemas/ExportFormatModel"}}}}}},"ExportFormatModel":{"required":["defaultFileStructureTemplate","extension","format","mediaType"],"type":"object","properties":{"format":{"type":"string","enum":["JSON","JSON_TOLGEE","XLIFF","PO","APPLE_STRINGS_STRINGSDICT","APPLE_XLIFF","ANDROID_XML","COMPOSE_XML","FLUTTER_ARB","PROPERTIES","YAML_RUBY","YAML","JSON_I18NEXT","CSV","RESX_ICU"]},"extension":{"type":"string"},"mediaType":{"type":"string"},"defaultFileStructureTemplate":{"type":"string"}}},"CollectionModelCloudPlanModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/CloudPlanModel"}}}}}},"CollectionModelMtCreditsPriceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"prices":{"type":"array","items":{"$ref":"#/components/schemas/MtCreditsPriceModel"}}}}}},"MtCreditsPriceModel":{"required":["amount","id","price"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"price":{"type":"number"},"amount":{"type":"integer","format":"int64"}}},"PagedModelProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/ProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelWebhookConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"webhookConfigs":{"type":"array","items":{"$ref":"#/components/schemas/WebhookConfigModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelUserAccountInProjectModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountInProjectModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountInProjectModel":{"required":["computedPermission","id","organizationBasePermission","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"organizationBasePermission":{"$ref":"#/components/schemas/PermissionModel"},"directPermission":{"$ref":"#/components/schemas/PermissionWithAgencyModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"}}},"CollectionModelUsedNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/UsedNamespaceModel"}}}}}},"UsedNamespaceModel":{"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace. Null for default namespace.","format":"int64","example":10000048},"name":{"type":"string","description":"Name of namespace. Null if default.","example":"homepage"}}},"TaskPerUserReportModel":{"required":["baseCharacterCount","baseWordCount","doneItems","user"],"type":"object","properties":{"user":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"doneItems":{"type":"integer","format":"int64"},"baseCharacterCount":{"type":"integer","format":"int64"},"baseWordCount":{"type":"integer","format":"int64"}}},"TaskKeysResponse":{"required":["keys"],"type":"object","properties":{"keys":{"type":"array","items":{"type":"integer","format":"int64"}}}},"PagedModelSimpleUserAccountModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/SimpleUserAccountModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTaskModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/TaskModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/NamespaceModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelLanguageInfoModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languageInfos":{"type":"array","items":{"$ref":"#/components/schemas/LanguageInfoModel"}}}}}},"LanguageInfoModel":{"required":["supportedServices"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"supportedServices":{"type":"array","items":{"$ref":"#/components/schemas/MtSupportedService"}}}},"MtSupportedService":{"required":["formalitySupported","serviceType"],"type":"object","properties":{"serviceType":{"type":"string","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"formalitySupported":{"type":"boolean"}}},"KeySearchResultView":{"required":["id","name"],"type":"object","properties":{"translation":{"type":"string"},"baseTranslation":{"type":"string"},"description":{"type":"string"},"namespace":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"KeySearchSearchResultModel":{"required":["id","name"],"type":"object","properties":{"view":{"$ref":"#/components/schemas/KeySearchResultView"},"translation":{"type":"string"},"baseTranslation":{"type":"string"},"description":{"type":"string"},"namespace":{"type":"string"},"name":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"PagedModelKeySearchSearchResultModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeySearchSearchResultModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelContentStorageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"contentStorages":{"type":"array","items":{"$ref":"#/components/schemas/ContentStorageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelContentDeliveryConfigModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"contentDeliveryConfigs":{"type":"array","items":{"$ref":"#/components/schemas/ContentDeliveryConfigModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PreferredAgencyResponse":{"type":"object","properties":{"preferredAgencyId":{"type":"integer","format":"int64"}}},"CollectionModelKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyModel"}}}}}},"CollectionModelKeyDisabledLanguagesModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyDisabledLanguagesModel"}}}}}},"KeyDisabledLanguageModel":{"required":["id","tag"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tag":{"type":"string"}},"description":"Disabled languages"},"KeyDisabledLanguagesModel":{"required":["disabledLanguages","id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"disabledLanguages":{"type":"array","description":"Disabled languages","items":{"$ref":"#/components/schemas/KeyDisabledLanguageModel"}}}},"EntityDescriptionWithRelations":{"required":["data","entityClass","entityId"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"data":{"type":"object","additionalProperties":{"type":"object"}}}},"ExistenceEntityDescription":{"required":["data","entityClass","entityId","relations"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"data":{"type":"object","additionalProperties":{"type":"object"}},"relations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EntityDescriptionWithRelations"}},"exists":{"type":"boolean"}}},"ModifiedEntityModel":{"required":["entityClass","entityId"],"type":"object","properties":{"entityClass":{"type":"string"},"entityId":{"type":"integer","format":"int64"},"description":{"type":"object","additionalProperties":{"type":"object"}},"modifications":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PropertyModification"}},"relations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ExistenceEntityDescription"}},"exists":{"type":"boolean"}}},"PagedModelModifiedEntityModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"modifiedEntities":{"type":"array","items":{"$ref":"#/components/schemas/ModifiedEntityModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PropertyModification":{"type":"object","properties":{"old":{"type":"object"},"new":{"type":"object"}}},"ProjectActivityAuthorModel":{"required":["deleted","id"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"deleted":{"type":"boolean"}}},"ProjectActivityModel":{"required":["revisionId","timestamp","type"],"type":"object","properties":{"revisionId":{"type":"integer","format":"int64"},"timestamp":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["UNKNOWN","SET_TRANSLATION_STATE","SET_TRANSLATIONS","DISMISS_AUTO_TRANSLATED_STATE","SET_OUTDATED_FLAG","TRANSLATION_COMMENT_ADD","TRANSLATION_COMMENT_DELETE","TRANSLATION_COMMENT_EDIT","TRANSLATION_COMMENT_SET_STATE","SCREENSHOT_DELETE","SCREENSHOT_ADD","KEY_TAGS_EDIT","KEY_NAME_EDIT","KEY_DELETE","CREATE_KEY","COMPLEX_EDIT","IMPORT","CREATE_LANGUAGE","EDIT_LANGUAGE","DELETE_LANGUAGE","HARD_DELETE_LANGUAGE","CREATE_PROJECT","EDIT_PROJECT","NAMESPACE_EDIT","BATCH_PRE_TRANSLATE_BY_TM","BATCH_MACHINE_TRANSLATE","AUTO_TRANSLATE","BATCH_CLEAR_TRANSLATIONS","BATCH_COPY_TRANSLATIONS","BATCH_SET_TRANSLATION_STATE","BATCH_TAG_KEYS","BATCH_UNTAG_KEYS","BATCH_SET_KEYS_NAMESPACE","AUTOMATION","CONTENT_DELIVERY_CONFIG_CREATE","CONTENT_DELIVERY_CONFIG_UPDATE","CONTENT_DELIVERY_CONFIG_DELETE","CONTENT_STORAGE_CREATE","CONTENT_STORAGE_UPDATE","CONTENT_STORAGE_DELETE","WEBHOOK_CONFIG_CREATE","WEBHOOK_CONFIG_UPDATE","WEBHOOK_CONFIG_DELETE","COMPLEX_TAG_OPERATION","TASKS_CREATE","TASK_CREATE","TASK_UPDATE","TASK_KEYS_UPDATE","TASK_FINISH","TASK_CLOSE","TASK_REOPEN","TASK_KEY_UPDATE","ORDER_TRANSLATION"]},"author":{"$ref":"#/components/schemas/ProjectActivityAuthorModel"},"modifiedEntities":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ModifiedEntityModel"}}},"meta":{"type":"object","additionalProperties":{"type":"object"}},"counts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"params":{"type":"object"}}},"PagedModelProjectActivityModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"activities":{"type":"array","items":{"$ref":"#/components/schemas/ProjectActivityModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTagModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelBatchJobModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"batchJobs":{"type":"array","items":{"$ref":"#/components/schemas/BatchJobModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CreditBalanceModel":{"required":["bucketSize","creditBalance","extraCreditBalance"],"type":"object","properties":{"creditBalance":{"type":"integer","format":"int64"},"bucketSize":{"type":"integer","format":"int64"},"extraCreditBalance":{"type":"integer","format":"int64"}}},"CollectionModelKeyWithBaseTranslationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithBaseTranslationModel"}}}}}},"KeyWithBaseTranslationModel":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"Id of key record","format":"int64"},"name":{"type":"string","description":"Name of key","example":"this_is_super_key"},"namespace":{"type":"string","description":"Namespace of key","example":"homepage"},"baseTranslation":{"type":"string","description":"Base translation","example":"This is translation"}}},"ImportTranslationModel":{"required":["existingKeyIsPlural","id","isPlural","keyId","keyName","override","resolved"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"text":{"type":"string"},"keyName":{"type":"string"},"keyId":{"type":"integer","format":"int64"},"keyDescription":{"type":"string"},"conflictId":{"type":"integer","format":"int64"},"conflictText":{"type":"string"},"override":{"type":"boolean"},"resolved":{"type":"boolean"},"isPlural":{"type":"boolean"},"existingKeyIsPlural":{"type":"boolean"}}},"PagedModelImportTranslationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translations":{"type":"array","items":{"$ref":"#/components/schemas/ImportTranslationModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ImportFileIssueModel":{"required":["id","params","type"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["KEY_IS_NOT_STRING","MULTIPLE_VALUES_FOR_KEY_AND_LANGUAGE","VALUE_IS_NOT_STRING","KEY_IS_EMPTY","VALUE_IS_EMPTY","PO_MSGCTXT_NOT_SUPPORTED","ID_ATTRIBUTE_NOT_PROVIDED","TARGET_NOT_PROVIDED","TRANSLATION_TOO_LONG","KEY_IS_BLANK","TRANSLATION_DEFINED_IN_ANOTHER_FILE","INVALID_CUSTOM_VALUES","DESCRIPTION_TOO_LONG"]},"params":{"type":"array","items":{"$ref":"#/components/schemas/ImportFileIssueParamModel"}}}},"ImportFileIssueParamModel":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["KEY_NAME","KEY_ID","LANGUAGE_ID","KEY_INDEX","VALUE","LINE","FILE_NODE_ORIGINAL","LANGUAGE_NAME"]},"value":{"type":"string"}}},"PagedModelImportFileIssueModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"importFileIssues":{"type":"array","items":{"$ref":"#/components/schemas/ImportFileIssueModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelImportNamespaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"namespaces":{"type":"array","items":{"$ref":"#/components/schemas/ImportNamespaceModel"}}}}}},"ImportNamespaceModel":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"The id of namespace. When null, namespace doesn't exist and will be created by import.","format":"int64","example":10000048},"name":{"type":"string","example":"homepage"}}},"CollectionModelBatchJobModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"batchJobs":{"type":"array","items":{"$ref":"#/components/schemas/BatchJobModel"}}}}}},"PagedModelTranslationCommentModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"translationComments":{"type":"array","items":{"$ref":"#/components/schemas/TranslationCommentModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelTranslationHistoryModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"revisions":{"type":"array","items":{"$ref":"#/components/schemas/TranslationHistoryModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"TranslationHistoryModel":{"required":["revisionType","timestamp"],"type":"object","properties":{"modifications":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PropertyModification"},"description":"Modified fields"},"timestamp":{"type":"integer","description":"Unix timestamp of the revision","format":"int64"},"author":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"revisionType":{"type":"string","enum":["ADD","MOD","DEL"]}}},"SelectAllResponse":{"required":["ids"],"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer","format":"int64"}}}},"KeyTaskViewModel":{"required":["done","languageId","languageTag","number","type","userAssigned"],"type":"object","properties":{"number":{"type":"integer","format":"int64"},"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"done":{"type":"boolean"},"userAssigned":{"type":"boolean"},"type":{"type":"string","enum":["TRANSLATE","REVIEW"]}},"description":"Tasks related to this key"},"KeyWithTranslationsModel":{"required":["contextPresent","keyId","keyIsPlural","keyName","keyTags","screenshotCount","translations"],"type":"object","properties":{"keyId":{"type":"integer","description":"Id of key record","format":"int64"},"keyName":{"type":"string","description":"Name of key","example":"this_is_super_key"},"keyIsPlural":{"type":"boolean","description":"Is this key a plural?","example":true},"keyPluralArgName":{"type":"string","description":"The placeholder name for plural parameter","example":"value"},"keyNamespaceId":{"type":"integer","description":"The namespace id of the key","format":"int64","example":100000282},"keyNamespace":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyDescription":{"type":"string","description":"The namespace of the key","example":"homepage"},"keyTags":{"type":"array","description":"Tags of key","items":{"$ref":"#/components/schemas/TagModel"}},"screenshotCount":{"type":"integer","description":"Count of screenshots provided for the key","format":"int64","example":1},"screenshots":{"type":"array","description":"Key screenshots. Not provided when API key hasn't screenshots.view scope permission.","items":{"$ref":"#/components/schemas/ScreenshotModel"}},"contextPresent":{"type":"boolean","description":"There is a context available for this key"},"translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranslationViewModel"},"description":"Translations object","example":"\n {\n \"en\": {\n \"id\": 100000003, \n \"text\": \"This is super translation!\"\n \"state\": \"TRANSLATED\",\n \"commentCount\": 1\n }\n }\n "},"tasks":{"type":"array","description":"Tasks related to this key","items":{"$ref":"#/components/schemas/KeyTaskViewModel"}}}},"KeysWithTranslationsPageModel":{"required":["selectedLanguages"],"type":"object","properties":{"_embedded":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/KeyWithTranslationsModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"},"selectedLanguages":{"type":"array","description":"Provided languages data","items":{"$ref":"#/components/schemas/LanguageModel"}},"nextCursor":{"type":"string","description":"Cursor to get next data","example":"eyJrZXlJZCI6eyJkaXJlY3Rpb24iOiJBU0MiLCJ2YWx1ZSI6IjEwMDAwMDAxMjAifX0="}}},"TranslationViewModel":{"required":["auto","commentCount","fromTranslationMemory","id","outdated","state","unresolvedCommentCount"],"type":"object","properties":{"id":{"type":"integer","description":"Id of translation record","format":"int64"},"text":{"type":"string","description":"Translation text"},"state":{"type":"string","description":"State of translation","enum":["UNTRANSLATED","TRANSLATED","REVIEWED","DISABLED"]},"outdated":{"type":"boolean","description":"Whether base language translation was changed after this translation was updated"},"auto":{"type":"boolean","description":"Was translated using Translation Memory or Machine translation service?"},"mtProvider":{"type":"string","description":"Which machine translation service was used to auto translate this","enum":["GOOGLE","AWS","DEEPL","AZURE","BAIDU","TOLGEE"]},"commentCount":{"type":"integer","description":"Count of translation comments","format":"int64"},"unresolvedCommentCount":{"type":"integer","description":"Count of unresolved translation comments","format":"int64"},"fromTranslationMemory":{"type":"boolean","description":"Was translation memory used to translate this?"}},"description":"Translations object","example":"\n {\n \"en\": {\n \"id\": 100000003, \n \"text\": \"This is super translation!\"\n \"state\": \"TRANSLATED\",\n \"commentCount\": 1\n }\n }\n "},"CollectionModelProjectTransferOptionModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"transferOptions":{"type":"array","items":{"$ref":"#/components/schemas/ProjectTransferOptionModel"}}}}}},"ProjectTransferOptionModel":{"required":["id","name","slug"],"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"LanguageStatsModel":{"required":["reviewedKeyCount","reviewedPercentage","reviewedWordCount","translatedKeyCount","translatedPercentage","translatedWordCount","untranslatedKeyCount","untranslatedPercentage","untranslatedWordCount"],"type":"object","properties":{"languageId":{"type":"integer","format":"int64"},"languageTag":{"type":"string"},"languageName":{"type":"string"},"languageOriginalName":{"type":"string"},"languageFlagEmoji":{"type":"string"},"translatedKeyCount":{"type":"integer","format":"int64"},"translatedWordCount":{"type":"integer","format":"int64"},"translatedPercentage":{"type":"number","format":"double"},"reviewedKeyCount":{"type":"integer","format":"int64"},"reviewedWordCount":{"type":"integer","format":"int64"},"reviewedPercentage":{"type":"number","format":"double"},"untranslatedKeyCount":{"type":"integer","format":"int64"},"untranslatedWordCount":{"type":"integer","format":"int64"},"untranslatedPercentage":{"type":"number","format":"double"}}},"ProjectStatsModel":{"required":["baseWordsCount","keyCount","languageCount","languageStats","membersCount","projectId","reviewedPercentage","tagCount","taskCount","translatedPercentage"],"type":"object","properties":{"projectId":{"type":"integer","format":"int64"},"languageCount":{"type":"integer","format":"int32"},"keyCount":{"type":"integer","format":"int64"},"taskCount":{"type":"integer","format":"int64"},"baseWordsCount":{"type":"integer","format":"int64"},"translatedPercentage":{"type":"number","format":"double"},"reviewedPercentage":{"type":"number","format":"double"},"membersCount":{"type":"integer","format":"int64"},"tagCount":{"type":"integer","format":"int64"},"languageStats":{"type":"array","items":{"$ref":"#/components/schemas/LanguageStatsModel"}}}},"PagedModelLanguageModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelLanguageAiPromptCustomizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"promptCustomizations":{"type":"array","items":{"$ref":"#/components/schemas/LanguageAiPromptCustomizationModel"}}}}}},"CollectionModelProjectInvitationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"invitations":{"type":"array","items":{"$ref":"#/components/schemas/ProjectInvitationModel"}}}}}},"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}},"PagedModelApiKeyModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"apiKeys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PagedModelProjectWithStatsModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/ProjectWithStatsModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"ProjectStatistics":{"required":["keyCount","languageCount","projectId","translationStatePercentages"],"type":"object","properties":{"projectId":{"type":"integer","format":"int64"},"keyCount":{"type":"integer","format":"int64"},"languageCount":{"type":"integer","format":"int64"},"translationStatePercentages":{"type":"object","additionalProperties":{"type":"number"}}}},"ProjectWithStatsModel":{"required":["computedPermission","icuPlaceholders","id","languages","name","stats"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"organizationOwner":{"$ref":"#/components/schemas/SimpleOrganizationModel"},"baseLanguage":{"$ref":"#/components/schemas/LanguageModel"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"directPermission":{"$ref":"#/components/schemas/PermissionModel"},"computedPermission":{"$ref":"#/components/schemas/ComputedPermissionModel"},"stats":{"$ref":"#/components/schemas/ProjectStatistics"},"languages":{"type":"array","items":{"$ref":"#/components/schemas/LanguageModel"}},"icuPlaceholders":{"type":"boolean","description":"Whether to disable ICU placeholder visualization in the editor and it's support."}}},"CollectionModelScreenshotModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"screenshots":{"type":"array","items":{"$ref":"#/components/schemas/ScreenshotModel"}}}}}},"PagedModelPatModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"pats":{"type":"array","items":{"$ref":"#/components/schemas/PatModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"PatWithUserModel":{"required":["createdAt","description","id","updatedAt","user"],"type":"object","properties":{"user":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"lastUsedAt":{"type":"integer","format":"int64"},"expiresAt":{"type":"integer","format":"int64"},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"PagedModelOrganizationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"CollectionModelOrganizationInvitationModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"organizationInvitations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationInvitationModel"}}}}}},"PublicUsageModel":{"required":["availablePayAsYouGoMtCredits","creditBalance","creditBalanceNextRefillAt","creditBalanceRefilledAt","currentPayAsYouGoMtCredits","currentTranslationSlots","currentTranslations","extraCreditBalance","includedMtCredits","includedTranslationSlots","includedTranslations","organizationId","translationSlotsLimit","translationsLimit"],"type":"object","properties":{"organizationId":{"type":"integer","format":"int64"},"creditBalance":{"type":"integer","description":"Current balance of standard credits. Standard credits are refilled every month","format":"int64"},"includedMtCredits":{"type":"integer","description":"How many credits are included in your current plan","format":"int64"},"creditBalanceRefilledAt":{"type":"integer","description":"Date when credits were refilled. (In epoch format)","format":"int64"},"creditBalanceNextRefillAt":{"type":"integer","description":"Date when credits will be refilled. (In epoch format)","format":"int64"},"currentPayAsYouGoMtCredits":{"type":"integer","description":"Currently used credits over credits included in plan and extra credits","format":"int64"},"availablePayAsYouGoMtCredits":{"type":"integer","description":"The maximum amount organization can spend on MT credit usage before they reach the spending limit","format":"int64"},"extraCreditBalance":{"type":"integer","description":"Extra credits, which are neither refilled nor reset every month. These credits are used when there are no standard credits","format":"int64"},"translationSlotsLimit":{"type":"integer","description":"How many translations can be stored within your organization","format":"int64"},"includedTranslationSlots":{"type":"integer","description":"How many translation slots are included in current subscription plan. How many translation slots can organization use without additional costs","format":"int64"},"includedTranslations":{"type":"integer","description":"How many translations are included in current subscription plan. How many translations can organization use without additional costs","format":"int64"},"currentTranslationSlots":{"type":"integer","description":"How many translations slots are currently used by organization","format":"int64"},"currentTranslations":{"type":"integer","description":"How many non-empty translations are currently stored by organization","format":"int64"},"translationsLimit":{"type":"integer","description":"How many translations can be stored until reaching the limit. (For pay us you go, the top limit is the spending limit)","format":"int64"}}},"CollectionModelWorkspaceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"workspaces":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceModel"}}}}}},"WorkspaceModel":{"required":["id","slackTeamId","slackTeamName"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"slackTeamName":{"type":"string"},"slackTeamId":{"type":"string"}}},"ConnectToSlackUrlModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string"}}},"CollectionModelSelfHostedEePlanModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"plans":{"type":"array","items":{"$ref":"#/components/schemas/SelfHostedEePlanModel"}}}}}},"InvoiceModel":{"required":["createdAt","hasUsage","id","number","pdfReady","total"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"number":{"type":"string","description":"The number on the invoice"},"createdAt":{"type":"integer","format":"int64"},"total":{"type":"number","description":"The Total amount with tax"},"taxRatePercentage":{"type":"number"},"pdfReady":{"type":"boolean","description":"Whether pdf is ready to download. If not, wait around few minutes until it's generated."},"hasUsage":{"type":"boolean"}}},"PagedModelInvoiceModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"invoices":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"BillingInfoModel":{"type":"object","properties":{"name":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"state":{"type":"string"},"countryIso":{"type":"string"},"registrationNo":{"type":"string"},"vatNo":{"type":"string"},"email":{"type":"string"}}},"PagedModelUserAccountWithOrganizationRoleModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"usersInOrganization":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountWithOrganizationRoleModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountWithOrganizationRoleModel":{"required":["id","name","projectsWithDirectPermission","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"username":{"type":"string"},"organizationRole":{"type":"string","enum":["MEMBER","OWNER"]},"projectsWithDirectPermission":{"type":"array","items":{"$ref":"#/components/schemas/SimpleProjectModel"}},"avatar":{"$ref":"#/components/schemas/Avatar"}}},"ApiKeyWithLanguagesModel":{"required":["description","id","projectId","projectName","scopes"],"type":"object","properties":{"permittedLanguageIds":{"uniqueItems":true,"type":"array","description":"Languages for which user has translate permission.","deprecated":true,"items":{"type":"integer","description":"Languages for which user has translate permission.","format":"int64","deprecated":true}},"userFullName":{"type":"string"},"projectName":{"type":"string"},"lastUsedAt":{"type":"integer","format":"int64"},"scopes":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"expiresAt":{"type":"integer","format":"int64"},"projectId":{"type":"integer","format":"int64"},"username":{"type":"string"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"}}},"ApiKeyPermissionsModel":{"required":["project","projectId","scopes"],"type":"object","properties":{"projectId":{"type":"integer","description":"The API key's project id or the one provided as query param","format":"int64"},"viewLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can view. If null, all languages view is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can view. If null, all languages view is permitted.","format":"int64"}},"translateLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can translate to. If null, all languages editing is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can translate to. If null, all languages editing is permitted.","format":"int64"}},"stateChangeLanguageIds":{"uniqueItems":true,"type":"array","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","example":[200001,200004],"items":{"type":"integer","description":"List of languages user can change state to. If null, changing state of all language values is permitted.","format":"int64"}},"scopes":{"type":"array","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":["KEYS_EDIT","TRANSLATIONS_VIEW"],"items":{"type":"string","description":"Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.","example":"[\"KEYS_EDIT\",\"TRANSLATIONS_VIEW\"]","enum":["translations.view","translations.edit","keys.edit","screenshots.upload","screenshots.delete","screenshots.view","activity.view","languages.edit","admin","project.edit","members.view","members.edit","translation-comments.add","translation-comments.edit","translation-comments.set-state","translations.state-edit","keys.view","keys.delete","keys.create","batch-jobs.view","batch-jobs.cancel","translations.batch-by-tm","translations.batch-machine","content-delivery.manage","content-delivery.publish","webhooks.manage","tasks.view","tasks.edit"]}},"type":{"type":"string","description":"The user's permission type. This field is null if user has assigned granular permissions or if returning API key's permissions","enum":["NONE","VIEW","TRANSLATE","REVIEW","EDIT","MANAGE"]},"project":{"$ref":"#/components/schemas/SimpleProjectModel"}}},"PagedModelUserAccountModel":{"type":"object","properties":{"_embedded":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UserAccountModel"}}}},"page":{"$ref":"#/components/schemas/PageMetadata"}}},"UserAccountModel":{"required":["deleted","disabled","globalServerRole","id","username"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"name":{"type":"string"},"emailAwaitingVerification":{"type":"string"},"avatar":{"$ref":"#/components/schemas/Avatar"},"globalServerRole":{"type":"string","enum":["USER","ADMIN"]},"deleted":{"type":"boolean"},"disabled":{"type":"boolean"}}},"PublicInvitationModel":{"required":["code","id"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"code":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/SimpleUserAccountModel"},"projectName":{"type":"string"},"organizationName":{"type":"string"}}},"UserTotpDisableRequestDto":{"required":["password"],"type":"object","properties":{"password":{"maxLength":50,"minLength":0,"type":"string"}}},"DeleteKeysDto":{"required":["ids"],"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","description":"IDs of keys to delete","items":{"type":"integer","description":"IDs of keys to delete","format":"int64"}}}}},"securitySchemes":{"JwtToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"SuperJwtToken":{"type":"http","description":"Super JWT token is required for sensitive operations when user has set 2FA. You can obtain super JWT token via `/v2/user/generate-super-token` endpoint. But be careful! Super JWT Token has super powers!","scheme":"bearer","bearerFormat":"JWT"},"ApiKeyInHeader":{"type":"apiKey","name":"X-API-Key","in":"header"},"ApiKeyInQueryParam":{"type":"apiKey","description":"It's not recommended to use API key in query param, since it can be stored in logs.","name":"ak","in":"query"}}}}
\ No newline at end of file