{
"openapi": "3.1.0",
"info": {
"title": "Trados Cloud Platform API",
"description": "The Trados Cloud Platform API",
"version": "1.0",
"contact": {},
"x-extensions": {
"x-default-field": {
"description": "When true, this property is included in the response by default — even when the `fields` query parameter is omitted. Properties without this annotation are only returned when explicitly requested via `fields`. The `id` property is always returned regardless."
}
}
},
"servers": [
{
"url": "https://api.eu.cloud.trados.com/public-api/v1",
"description": "EU Region Server"
},
{
"url": "https://api.ca.cloud.trados.com/public-api/v1",
"description": "CA Region Server"
}
],
"tags": [
{
"name": "Account",
"description": "Account"
},
{
"name": "Connected AI",
"description": "Connected AI"
},
{
"name": "Custom Field",
"description": "Custom Field"
},
{
"name": "Customer",
"description": "Customer"
},
{
"name": "File",
"description": "File"
},
{
"name": "File Processing Configuration",
"description": "File Processing Configuration"
},
{
"name": "Folder",
"description": "Folder"
},
{
"name": "Group",
"description": "Group"
},
{
"name": "Integration",
"description": "Integration"
},
{
"name": "Language",
"description": "Language"
},
{
"name": "Language Processing",
"description": "Language Processing"
},
{
"name": "Machine Translation",
"description": "Machine Translation"
},
{
"name": "PerfectMatch Mapping",
"description": "PerfectMatch Mapping"
},
{
"name": "Pricing Model",
"description": "Pricing Model"
},
{
"name": "Project",
"description": "Project"
},
{
"name": "Project Group",
"description": "Project Group"
},
{
"name": "Project Template",
"description": "Project Template"
},
{
"name": "Public Keys",
"description": "Public Keys"
},
{
"name": "Quote",
"description": "Quote"
},
{
"name": "Quote Template",
"description": "Quote Template"
},
{
"name": "Rate Limits",
"description": "Rate Limits"
},
{
"name": "Role and Permission",
"description": "Role and Permission"
},
{
"name": "Schedule Template",
"description": "Schedule Template"
},
{
"name": "Source File",
"description": "Source File"
},
{
"name": "Target File",
"description": "Target File"
},
{
"name": "Task",
"description": "Task"
},
{
"name": "Task Type",
"description": "Task Type"
},
{
"name": "Termbase",
"description": "Termbase"
},
{
"name": "Termbase Export",
"description": "Termbase Export"
},
{
"name": "Termbase Import",
"description": "Termbase Import"
},
{
"name": "Termbase Template",
"description": "Termbase Template"
},
{
"name": "TQA Profile",
"description": "TQA Profile"
},
{
"name": "Translation",
"description": "Translation"
},
{
"name": "Translation Domain",
"description": "Translation Domain"
},
{
"name": "Translation Engine",
"description": "Translation Engine"
},
{
"name": "Translation Memory",
"description": "Translation Memory"
},
{
"name": "Translation Memory Export",
"description": "Translation Memory Export"
},
{
"name": "Translation Memory Import",
"description": "Translation Memory Import"
},
{
"name": "User",
"description": "User"
},
{
"name": "Vendor",
"description": "Vendor."
},
{
"name": "Workflow",
"description": "Workflow"
}
],
"paths": {
"/accounts": {
"get": {
"tags": [
"Account"
],
"summary": "List my Accounts",
"description": "Retrieves the accounts the authenticated user is part of. \n\n> For service users only the account where the user is defined is returned.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-my-accounts-response"
},
"examples": {
"ListAccountsWithDefaultFields": {
"value": {
"itemCount": 2,
"items": [
{
"id": "test-account-id-1",
"name": "test-account-name-1"
},
{
"id": "test-account-id-1",
"name": "test-account-name-2"
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
},
"examples": {
"Unauthorized": {
"value": {
"message": "test-unauthorized-error-message",
"errorCode": "test-unauthorized-error-code",
"name": "test-unauthorized-error-name",
"value": "test-unauthorized-error-value",
"details": [
{
"name": "test-unauthorized-error-details-message",
"code": "test-unauthorized-error-details-code",
"value": "test-unauthorized-error-details-value"
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListMyAccounts"
}
},
"/applications": {
"post": {
"summary": "Create Application",
"tags": [
"Integration"
],
"responses": {
"201": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/application"
}
}
}
},
"400": {
"description": "Error codes:\r\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\r\n* \"maxSize\": The maximum size was exceeded for the value mentioned in the \"name\" field\r\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\r\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "CreateApplication",
"description": "Creates a new integration application.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/application-create-request"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"get": {
"summary": "List Applications",
"tags": [
"Integration"
],
"responses": {
"200": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-applications-response"
}
}
}
},
"400": {
"description": "Error codes:\r\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "ListApplications",
"description": "Retrieves a list of applications the authenticated user has access to.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
]
}
},
"/applications/{applicationId}": {
"parameters": [
{
"$ref": "#/components/parameters/applicationId"
}
],
"put": {
"summary": "Update Application",
"tags": [
"Integration"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdateApplication",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Updates an integration application.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/application-update-request"
}
}
}
}
},
"get": {
"summary": "Get Application",
"tags": [
"Integration"
],
"responses": {
"200": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/application"
}
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "GetApplication",
"description": "Retrieves an integration application by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"delete": {
"summary": "Delete Application",
"tags": [
"Integration"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": The resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "DeleteApplication",
"description": "Deletes an integration application.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/connected-ai/llm-configurations": {
"get": {
"summary": "List LLM Configurations",
"tags": [
"Connected AI"
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-llm-configurations-response"
}
}
}
},
"400": {
"description": "\"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "ListLlmConfigurations",
"description": "List the account configured Large Language Models.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
]
}
},
"/customers/{customerId}": {
"put": {
"tags": [
"Customer"
],
"summary": "Update Customer",
"description": "Updates a customer by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/customer-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n* “invalid”: Invalid input in “name” field on the error response.\n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.\n\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": duplicate name of a customer is not allowed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "UpdateCustomer"
},
"get": {
"tags": [
"Customer"
],
"summary": "Get Customer",
"description": "Retrieves a customer by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/customer"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.\n\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetCustomer"
},
"delete": {
"tags": [
"Customer"
],
"summary": "Delete Customer",
"description": "Deletes a customer.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the customer.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the customer could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": there might be resources that are still `attached`.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeleteCustomer"
},
"parameters": [
{
"$ref": "#/components/parameters/customerId"
}
]
},
"/customers": {
"get": {
"tags": [
"Customer"
],
"summary": "List Customers",
"description": "Retrieves a list of all the customers in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-customers-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListCustomers"
},
"post": {
"tags": [
"Customer"
],
"summary": "Create Customer",
"description": "Create customer in a tenant.\n\nFor adding a customer to a tenant the authenticated user must have 'Create Customer' permission.\n\nTo also create an account for the key contact, you need to have the specific entitlements.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/customer-create-request"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "The customer was successfully created.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/customer"
},
"examples": {
"minimal": {
"value": {
"id": "string"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n\n* “invalid”: invalid input specified in the error details.\n* \"empty\": empty input for required field specified in the error details.\n* \"maxSize\": The maximum size was exceeded for the value mentioned in the \"name\" field. \n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n\"forbidden\": \n- The authenticated user is not allowed to create a customer or if you intend to create the key contact account, you might not have sufficient permissions.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"408": {
"description": "Error responses:\n\n * \"timeout\": The request took longer than expected. The system might be overloaded. You might try again.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error responses:\n\n* “duplicate”: duplicate value for the field mentioned in the error details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreateCustomer"
}
},
"/custom-field-definitions": {
"get": {
"summary": "List Custom Field Definitions",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-custom-field-definitions-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified. ",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListCustomFields",
"description": "Retrieves a list of all the custom field definitions.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/resourceType"
}
],
"tags": [
"Custom Field"
]
}
},
"/custom-field-definitions/{customFieldDefinitionId}": {
"get": {
"summary": "Get Custom Field Definition",
"tags": [
"Custom Field"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/custom-field-definition"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to get the custom field definition.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetCustomField",
"description": "Retrieves a Custom Field by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/customFieldDefinitionId"
}
]
},
"/file-processing-configurations/{fileProcessingConfigurationId}": {
"get": {
"tags": [
"File Processing Configuration"
],
"summary": "Get File Processing Configuration",
"description": "Retrieves a file processing configuration by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-processing-configuration"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": not allowed to read file processing configuration.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes\n* \"notFound\": file processing configuration could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetFileProcessingConfiguration"
},
"parameters": [
{
"$ref": "#/components/parameters/fileProcessingConfigurationId"
}
]
},
"/file-processing-configurations": {
"get": {
"tags": [
"File Processing Configuration"
],
"summary": "List File Processing Configurations",
"description": "Retrieves a list of all the file processing configurations in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-file-processing-configurations-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": the requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListFileProcessingConfigurations"
}
},
"/file-processing-configurations/{fileProcessingConfigurationId}/file-type-settings/{fileTypeSettingId}": {
"get": {
"tags": [
"File Processing Configuration"
],
"summary": "Get File Type Setting",
"description": "Retrieves a file type setting by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-type-setting"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": not allowed to read file type setting.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes\n* \"notFound\": file type setting could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetFileTypeSetting"
},
"parameters": [
{
"name": "fileProcessingConfigurationId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The file processing configuration identifier."
},
{
"schema": {
"type": "string"
},
"name": "fileTypeSettingId",
"in": "path",
"required": true,
"description": "The file type setting identifier."
}
]
},
"/file-processing-configurations/{fileProcessingConfigurationId}/file-type-settings": {
"get": {
"tags": [
"File Processing Configuration"
],
"summary": "List File Type Settings",
"description": "Retrieves a list of all the file type settings in a file processing configuration.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-file-type-settings-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListFileTypeSettings"
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "fileProcessingConfigurationId",
"in": "path",
"required": true,
"description": "The file processing configuration identifier."
}
]
},
"/files": {
"post": {
"summary": "Upload Zip File",
"description": "Uploads an archive containing source files in `.zip` format, which will be extracted and used during project creation.\n\nStatus of the upload operation can be tracked using the [Poll Upload Zip File](#/operations/PollUploadZipFile) endpoint.\n\nOnce this Upload Zip File operation has finished extracting the files, they can be added to the desired project using the [Attach Source Files](#/operations/AddSourceFiles) endpoint. Alternatively, they can be used to [Request File Analysis](#/operations/RequestFileAnalysis) details like word counts and estimated costs.\n\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.",
"operationId": "UploadZipFile",
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"format": "byte",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"format": "binary",
"description": "The .zip file to be uploaded (binary string). "
}
}
}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-upload-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error code “invalid” in case of:\n * Empty or missing file in request\n * Not valid multipart request\n * File parameter contains other extension than the one expected by specification.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"tags": [
"File"
]
},
"parameters": []
},
"/files/analysis": {
"post": {
"summary": "Request File Analysis",
"responses": {
"202": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-analysis-operation-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: Invalid input in the request body parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* \"forbidden\": the authenticated user is not allowed to read resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "RequestFileAnalysis",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"fileIds",
"sourceLanguage",
"languageProcessingRuleId"
],
"properties": {
"fileIds": {
"type": "array",
"description": "The file identifiers for which the analysis will be performed.",
"items": {
"type": "string"
}
},
"sourceLanguage": {
"$ref": "#/components/schemas/source-language-request",
"description": "The source language."
},
"languageProcessingRuleId": {
"type": "string",
"description": "The identifier of the Language Processing Rule to be used when determining word count."
},
"fileProcessingConfigurationId": {
"type": "string",
"description": "The identifier of the File Processing Configuration to be used when converting a file for analysis.
\r\nA default configuration will be used if not specified."
},
"quotingOptions": {
"type": "object",
"description": "Set these resources to calculate an estimated translation cost.",
"required": [
"pricingModelId",
"targetLanguages"
],
"properties": {
"pricingModelId": {
"type": "string",
"description": "The identifier of the Pricing Model to be used when calculating the cost."
},
"targetLanguages": {
"type": "array",
"description": "The target languages for which the cost will be calculated.",
"items": {
"$ref": "#/components/schemas/target-language-request"
}
}
}
}
}
}
}
}
},
"description": "This endpoint allows you to request the word count and an estimated cost for your files. \r\n\r\nUse the [Upload Zip File](#/operations/UploadZipFile) / [Poll Upload Zip File](#/operations/PollUploadZipFile) endpoints to upload your files and get the `fileIds`. Send these `fileIds` together with the `languageProcessingRuleId` and `sourceLanguage` to receive the word count.\r\n\r\nOptionally, send the `quotingOptions` object to receive the `estimatedCosts`.\r\n\r\nUse the [Poll File Analysis](#/operations/PollFileAnalysis) endpoint to monitor the operation and receive the analysis results.\r\n\r\n> File analysis results will be available for 24 hours after generation.",
"tags": [
"File"
]
},
"parameters": []
},
"/files/analysis/{operationId}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "operationId",
"in": "path",
"required": true,
"description": "The file analysis operation identifier."
}
],
"get": {
"summary": "Poll File Analysis",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-analysis-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* \"forbidden\": the authenticated user is not allowed to read resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the quoting operation could not be found.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "PollFileAnalysis",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Monitor the [File Analysis](#/operations/RequestFileAnalysis) operation and receive the analysis results.\r\n\r\n> File analysis results will be available for 24 hours after generation.",
"tags": [
"File"
]
}
},
"/files/{fileId}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "fileId",
"in": "path",
"required": true,
"description": "The uploaded file id"
}
],
"get": {
"summary": "Poll Upload Zip File",
"operationId": "PollUploadZipFile",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-metadata-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read uploaded files.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the file could not be found by id.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Monitors the unzipping operation for a previously uploaded archive and retrieves details about the extracted files.\r\n\r\nOnce the [Upload Zip File](#/operations/UploadZipFile) operation has finished extracting the files, they can be added to the desired project using the [Attach Source Files](#/operations/AddSourceFiles) endpoint.\r\n Alternatively, they can be used to [Request File Analysis](#/operations/RequestFileAnalysis) details like word counts and estimated costs.\r\n",
"tags": [
"File"
]
}
},
"/folders/{folderId}": {
"get": {
"tags": [
"Folder"
],
"summary": "Get Folder",
"description": "Retrieves a folder by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/folder"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the folder.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Folder could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetFolder"
},
"parameters": [
{
"$ref": "#/components/parameters/folderId"
}
]
},
"/folders/root": {
"get": {
"tags": [
"Folder"
],
"summary": "Get Root Folder",
"description": "Retrieves the Root folder in the account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/folder"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetRootFolder"
}
},
"/folders": {
"get": {
"tags": [
"Folder"
],
"summary": "List Folders",
"description": "Retrieves a list of all the folders in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"name": "name",
"in": "query",
"description": "Filter folders by name.",
"schema": {
"type": "string"
}
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-folders-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "ListFolders"
}
},
"/groups/{groupId}": {
"get": {
"tags": [
"Group"
],
"summary": "Get Group",
"description": "Retrieves a group by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/group"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the Group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetGroup"
},
"put": {
"tags": [
"Group"
],
"summary": "Update Group",
"description": "Updates a group. We recommend reading this page too [Updating data with PUT](../docs/Updating-data-with-PUT.html).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/group-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* “maxSize”: Character number or List size exceeds the maximum allowed value for the “name” field on the error response.\n* “minSize”: Character number or List size insufficient for the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the Group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": the request is conflicting with existing data.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "UpdateGroup"
},
"delete": {
"tags": [
"Group"
],
"summary": "Delete Group",
"description": "Deletes a group by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the Group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeleteGroup"
},
"parameters": [
{
"$ref": "#/components/parameters/groupId"
}
]
},
"/groups": {
"get": {
"tags": [
"Group"
],
"summary": "List Groups",
"description": "Retrieves a list of all the groups in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-groups-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListGroups"
},
"post": {
"tags": [
"Group"
],
"summary": "Create Group",
"description": "Creates a group. Group roles will take effect based on the location, where the group is being created. Read more at [How to use location and folders](../docs/How-to-use-location-and-folders.html).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/group-create-request"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "Created.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/group"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the parameter mentioned in the “name” field on the error response.\n* “maxSize”: Character number or List size exceeds the maximum allowed value for the “name” field on the error response.\n* “minSize”: Character number or List size insufficient for the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed create a group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Location/Roles could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": the request is conflicting with existing data.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreateGroup"
}
},
"/languages": {
"get": {
"tags": [
"Language"
],
"summary": "List Languages",
"description": "Retrieves a list of all the languages.\n\nThe supported values for language `type` filter are: \"all\", \"specific\" or \"neutral\".\\\nThe \"neutral\" languages are the generic languages, e.g.: en -> English.\\\nThe \"specific\" languages are the sub-languages, e.g.: en-150 -> English (Europe), en-us -> English (United States).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"name": "languageCodes",
"in": "query",
"description": "Filter by language codes.",
"style": "form",
"explode": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"name": "type",
"in": "query",
"description": "Filter by type.",
"schema": {
"type": "string",
"enum": [
"all",
"specific",
"neutral"
],
"example": "specific"
}
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-languages-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "ListLanguages"
}
},
"/language-processing-rules": {
"get": {
"summary": "List Language Processing Rules",
"tags": [
"Language Processing"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-language-processing-rules"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListLanguageProcessingRules",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Returns a list of Language Processing Rules."
}
},
"/language-processing-rules/{languageProcessingRuleId}": {
"get": {
"summary": "Get Language Processing Rule",
"tags": [
"Language Processing"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/language-processing-rule"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetLanguageProcessingRule",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Returns a Language Processing Rule by identifier."
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "languageProcessingRuleId",
"in": "path",
"required": true,
"description": "The language processing rule identifier"
}
]
},
"/perfect-match-mappings": {
"post": {
"summary": "Create PerfectMatch Mapping",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-mapping-create-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\r\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\r\n* \"conflict\": the project has no source files.",
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreatePerfectMatchMapping",
"description": "For more details on the PerfectMatch feature please consult the [official documentation](https://docs.rws.com/791595/1155478/trados-enterprise---accelerate/perfectmatch-general-information).\r\n\r\nAfter creating a mapping, target files from the `matchingProjects` are automatically matched to the source files in the new project. This is a long-running background operation, and its `status` can be tracked by polling the [Get PerfectMatch Mapping](#/operations/GetPerfectMatchMapping) endpoint.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-mapping-create-request"
}
}
},
"description": ""
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": []
},
"/perfect-match-mappings/{mappingId}": {
"get": {
"summary": "Get PerfectMatch Mapping",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-mapping-response"
}
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetPerfectMatchMapping",
"description": "Retrieves the details of a PerfectMatch mapping.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
}
]
},
"/perfect-match-mappings/{mappingId}/batch-mappings": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
}
],
"post": {
"summary": "Add PerfectMatch Batch Mapping",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-mapping-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes: \r\n* “conflict”: A pending batch mapping already exists.",
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AddPerfectMatchBatchMapping",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-batch-mapping-update-request"
}
}
}
},
"description": "Adds a new PerfectMatch batch mapping.\r\n\r\nWhen new source files are introduced to a mid-project, a new batch must be added to the current mapping to leverage PerfectMatch. This action triggers a background operation that identifies matching candidates for the newly added files."
}
},
"/perfect-match-mappings/{mappingId}/batch-mappings/{batchMappingId}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "batchMappingId",
"in": "path",
"required": true,
"description": "The batch mapping identifier"
}
],
"put": {
"summary": "Update PerfectMatch Batch Mapping",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\r\n* \"updateNotAllowed\": the resource could not be updated at this time.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdatePerfectMatchBatchMapping",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-batch-mapping-update-request"
}
}
}
},
"description": "Updates a PerfectMatch batch mapping.\r\n\r\nPay special attention to how [updating works](../docs/Updating-data-with-PUT.html)."
}
},
"/perfect-match-mappings/{mappingId}/batch-mappings/{batchMappingId}/file-mappings/{fileMappingId}/project-file": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "batchMappingId",
"description": "The batch mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "fileMappingId",
"description": "The file mapping identifier",
"in": "path",
"required": true
}
],
"put": {
"summary": "Update File Mapping With Project File",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"204": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {}
},
"400": {
"description": "Error codes: \r\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.\r\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdatePerfectMatchFileMappingWithProjectFile",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/perfect-match-project-file-mapping-request"
}
}
}
},
"description": "Updates a PerfectMatch file mapping with an existing target file from a PerfectMatch candidate. Only valid candidates can be used to request an update.\r\n\r\nUse the [Candidates](#/operations/GetPerfectMatchCandidates) endpoint to retrieve a list of valid `fileId` and `projectId` to provide as matching data. "
}
},
"/perfect-match-mappings/{mappingId}/batch-mappings/{batchMappingId}/file-mappings/{fileMappingId}/file": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "batchMappingId",
"description": "The batch mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "fileMappingId",
"description": "The file mapping identifier",
"in": "path",
"required": true
}
],
"post": {
"summary": "Update File Mapping With Manually Uploaded File",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"204": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.\r\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdatePerfectMatchFileMappingWithManuallyUploadedFile",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"properties",
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/perfect-match-custom-file-mapping-request"
},
"file": {
"type": "string",
"format": "binary",
"description": "The source file (binary string). Only SDLXLIFF files are accepted."
}
}
}
}
}
},
"description": "Updates a PerfectMatch file mapping with a manually uploaded file."
}
},
"/perfect-match-mappings/{mappingId}/batch-mappings/{batchMappingId}/file-mappings/{fileMappingId}/target-languages/{targetLanguage}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "batchMappingId",
"description": "The batch mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "fileMappingId",
"description": "The file mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "targetLanguage",
"description": "The target language code",
"in": "path",
"required": true
}
],
"delete": {
"summary": "Delete PerfectMatch File Mapping For a File",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeletePerfectMatchFileMappingForFile",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Deletes a PerfectMatch file mapping for a specific file and target language."
}
},
"/perfect-match-mappings/{mappingId}/batch-mappings/{batchMappingId}/file-mappings/{fileMappingId}/target-languages/{targetLanguage}/candidates": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "mappingId",
"description": "The mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "batchMappingId",
"description": "The batch mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "fileMappingId",
"description": "The file mapping identifier",
"in": "path",
"required": true
},
{
"schema": {
"type": "string"
},
"name": "targetLanguage",
"description": "The target language code",
"in": "path",
"required": true
}
],
"get": {
"summary": "Get PerfectMatch Candidates",
"description": "Retrieves a list of file candidates that can be selected for PerfectMatch.",
"tags": [
"PerfectMatch Mapping"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-perfect-match-candidates-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "GetPerfectMatchCandidates",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
}
},
"/machine-translation": {
"parameters": [],
"get": {
"summary": "List Machine Translations",
"operationId": "ListMachineTranslations",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-machine-translations-response"
}
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Retrieves a list of machine translations that can be used in a translation engine.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "sourceLanguage",
"required": true,
"description": "Language code expressed as generic language (example: \"en\") or specific language (example: \"en-US\")"
},
{
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"in": "query",
"name": "targetLanguage",
"required": true,
"description": "List of language codes separated by comma, values can be generic language code or specific language code."
}
],
"tags": [
"Machine Translation"
]
}
},
"/pricing-models": {
"get": {
"tags": [
"Pricing Model"
],
"summary": "List Pricing Models",
"description": "Retrieves a list of all the pricing models in an account.\r\n\r\nSorting is supported for the following fields: `name`, `description`, `currencyCode` and `location`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-pricing-models-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListPricingModels"
},
"post": {
"summary": "Create Pricing Model",
"tags": [
"Pricing Model"
],
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/pricing-model"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\r\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\r\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\r\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response. \r\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* “forbidden”: The authenticated user is not allowed to create the pricing model\r\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "CreatePricingModel",
"description": "Creates a new pricing model.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/pricing-model-create-request"
}
}
}
}
}
},
"/pricing-models/{pricingModelId}": {
"get": {
"tags": [
"Pricing Model"
],
"summary": "Get Pricing Model",
"description": "Retrieves a pricing model by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/pricing-model"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the pricing model.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetPricingModel"
},
"parameters": [
{
"$ref": "#/components/parameters/pricingModelId"
}
],
"put": {
"summary": "Update Pricing Model",
"tags": [
"Pricing Model"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\r\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\r\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\r\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\r\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response. ",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* \"forbidden\": the authenticated user is not allowed to update the pricing model.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the pricing model could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdatePricingModel",
"description": "Updates a pricing model.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/pricing-model-update-request"
}
}
}
}
},
"delete": {
"summary": "Delete Pricing Model",
"tags": [
"Pricing Model"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* \"forbidden\": the authenticated user is not allowed to delete the pricing model.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the pricing model could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeletePricingModel",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Deletes a pricing model."
}
},
"/projects": {
"get": {
"tags": [
"Project"
],
"summary": "List Projects",
"description": "Retrieves a list of all the projects in the account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
},
{
"schema": {
"type": "boolean"
},
"in": "query",
"name": "excludeOnline",
"description": "Excludes projects that are being worked on exclusively in the Online Editor"
},
{
"schema": {
"type": "string",
"enum": [
"created",
"inProgress",
"completed",
"archived"
]
},
"in": "query",
"name": "status",
"description": "Filter the list to include projects that have this status."
},
{
"schema": {
"type": "string",
"format": "date-time",
"example": "2022-11-28T16:46:00.00Z"
},
"in": "query",
"name": "createdFrom",
"description": "Filter the list to include only projects created after the specified date and time."
},
{
"schema": {
"type": "string",
"format": "date-time",
"example": "2022-11-28T16:46:00.00Z"
},
"in": "query",
"name": "createdTo",
"description": "Filter the list to include only projects created before the specified date and time."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "createdBy",
"description": "Filter the list of projects to projects that were created by this user."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "projectTemplateId",
"description": "Filter the list of projects to projects that were created using this project template."
},
{
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"in": "query",
"name": "projectIds",
"description": "Filter the list of projects to projects have these project identifiers."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "sourceLanguage",
"description": "Filter the list of projects to projects that were created using this source language."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "targetLanguage",
"description": "Filter the list of projects to projects that were created using this target language."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "projectName",
"description": "Filter the list of projects to projects that were created using this project name."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "dueFrom",
"description": "Filter the list of projects to projects that are due after this date and time.
Accepted format: ISO-8601 `YYYY-MM-DDThh:mm:ss.sssZ`"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "dueTo",
"description": "Filter the list of projects to projects that are due before this date and time.
Accepted format: ISO-8601 `YYYY-MM-DDThh:mm:ss.sssZ`"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "lastModifiedFrom",
"description": "Filter the list of projects to projects that are last modified after this date and time.
Accepted format: ISO-8601 `YYYY-MM-DDThh:mm:ss.sssZ`"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "lastModifiedTo",
"description": "Filter the list of projects to projects that are last modified before this date and time.
Accepted format: ISO-8601 `YYYY-MM-DDThh:mm:ss.sssZ`"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-projects-response"
},
"examples": {
"numbers": {
"value": {
"itemCount": 1,
"items": [
{
"id": "test-id",
"quote": {
"additionalCosts": [
{
"name": "test-additional-cost-name",
"count": 1,
"runningTotal": 1
}
]
}
}
]
}
},
"missing-required-integer": {
"value": {
"items": [
{
"id": "test-id",
"quote": {
"additionalCosts": [
{
"name": "test-additional-cost-name",
"count": 1,
"runningTotal": 1
}
]
}
}
]
}
},
"missing-optional-integer": {
"value": {
"itemCount": 1,
"items": [
{
"id": "test-id",
"quote": {
"additionalCosts": [
{
"name": "test-additional-cost-name",
"runningTotal": 1
}
]
}
}
]
}
},
"missing-optional-double": {
"value": {
"itemCount": 1,
"items": [
{
"id": "test-id",
"quote": {
"additionalCosts": [
{
"name": "test-additional-cost-name",
"count": 1
}
]
}
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListProjects"
},
"post": {
"tags": [
"Project"
],
"summary": "Create Project",
"description": "Creates a new project.\n\nWhen creating a project using a project template that supports multiple source languages, you must supply the `languageDirections`.\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when creating projects.\n\nThe values from a selected project template will take precedence over the individual resources when creating a new project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-create-request"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project"
},
"examples": {
"minimal": {
"value": {
"id": "string"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response. \n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n\"forbidden\": \n- The authenticated user is not allowed to create the project in the specified location.\n- Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreateProject"
}
},
"/projects/{projectId}": {
"get": {
"tags": [
"Project"
],
"summary": "Get Project",
"description": "Retrieves a project by identifier.\n\nFor detailed information about Translation Memory advanced configuration including filters and field updates, see [Translation Memory Advanced Configuration](../docs/translation-memory/Translation-memory-advanced-configuration.html).",
"parameters": [
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project"
},
"examples": {
"valid-response": {
"value": {
"id": "test-id",
"name": "test-name",
"description": "test-description",
"dueBy": "2042-07-28T11:13:36.000Z",
"createdAt": "2021-07-28T11:13:36.000Z",
"status": "completed",
"languageDirections": [
{
"id": "language-direction-id",
"sourceLanguage": {
"languageCode": "test-source-languageCode",
"isNeutral": false
},
"targetLanguage": {
"languageCode": "test-target-languageCode",
"isNeutral": true
}
}
]
}
},
"missing-required-string": {
"value": {
"name": "test-name",
"description": "test-description",
"dueBy": "2042-07-28T11:13:36.000Z",
"createdAt": "2021-07-28T11:13:36.000Z",
"status": "completed"
}
},
"missing-optional-string": {
"value": {
"id": "test-id",
"description": "test-description",
"dueBy": "2042-07-28T11:13:36.000Z",
"createdAt": "2021-07-28T11:13:36.000Z",
"status": "completed"
}
},
"missing-optional-datetime": {
"value": {
"id": "test-id",
"name": "test-name",
"description": "test-description",
"createdAt": "2021-07-28T11:13:36.000Z",
"status": "completed"
}
},
"missing-optional-enum": {
"value": {
"id": "test-id",
"name": "test-name",
"description": "test-description",
"dueBy": "2042-07-28T11:13:36.000Z",
"createdAt": "2021-07-28T11:13:36.000Z"
}
},
"missing-optional-boolean": {
"value": {
"id": "test-id",
"languageDirections": [
{
"id": "language-direction-id",
"sourceLanguage": {
"languageCode": "test-source-languageCode"
},
"targetLanguage": {
"languageCode": "test-target-languageCode"
}
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetProject"
},
"put": {
"tags": [
"Project"
],
"summary": "Update Project",
"description": "Updates the project in terms of: name, description, due date, quote, and project resources. Observe the rules of [JSON Merge Patch Semantics](https://tools.ietf.org/html/rfc7386). \n\nProject rescheduling (updating dueBy) is permitted only if: \n* there is no Customer Quote Approval task in the associated flow \n* at least one Customer Quote Approval was closed(in case multiple project batches) \n\nUpdate `projectPlan.taskConfigurations` are now permitted before project is started. Elements are now pre-populated at project creation time.\n\nFor detailed information about Translation Memory advanced configuration including filters and field updates, see [Translation Memory Advanced Configuration](../docs/translation-memory/Translation-memory-advanced-configuration.html).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n\n* “invalid”: invalid input on update quote model\n* “invalidStatus”: the quote cannot be edited, the project is in a phase which doesn't allow the quote to be edited\n* \"conflict\": the project does not have a quote to be updated\n* \"limit.exceeded\": a maximum number of users per task was assigned\n \n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the Project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Project could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error responses:\n\n* “invalidStatus”: a field cannot be edited, because the project is in a status which doesn't allow the field to be edited. `details.name` will provide the field name which is not allowed to be edited.\n\n* updateNotAllowed: a field of the project cannot be edited before the completion of customer approval.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "UpdateProject"
},
"delete": {
"tags": [
"Project"
],
"summary": "Delete Project",
"description": "Deletes a project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeleteProject"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/configuration": {
"get": {
"summary": "Get Project Configuration",
"description": "Get the configuration settings of an existing project.",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-configuration"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to get the project configuration.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetProjectConfiguration",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"tags": [
"Project"
]
},
"put": {
"summary": "Update Project Configuration",
"description": "Updates the configuration settings for an existing project.",
"operationId": "UpdateProjectConfiguration",
"tags": [
"Project"
],
"responses": {
"200": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the project configuration.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-configuration-request"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/pricing-model": {
"put": {
"tags": [
"Project"
],
"summary": "Update Project Pricing Model",
"description": "Update project pricing model only during Customer Quote Review task type.",
"operationId": "UpdateProjectPricingModel",
"responses": {
"204": {
"description": "",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalidPricingModel”: There is mismatch configuration between the project and the new pricing model.\n* \"differentCurrencyCode\": There is a mismatch between the provided pricing model currency and the pricing model currency in the project.\n* “differentFuzzyBands”: There is a mismatch between the provided pricing model fuzzy bands and the pricing model fuzzy bands in the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the project configuration.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-pricing-model-update-request"
}
}
},
"required": true
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/start": {
"put": {
"tags": [
"Project"
],
"summary": "Start Project",
"description": "Starts a project. Translatable files should be uploaded before starting the project. If the action is executed on an already started project, the new translatable files should be uploaded first.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"202": {
"description": "Accepted",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to start the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": the project's status doesn't permit the start operation.\n* \"missingTranslatableFile\": there was no translatable file attached to the project.\n* \"missingWorkflow\": there was no workflow associated with the project.\n* \"invalidWorkflow\" : the workflow associated with the project is invalid or has errors.\n* \"missingConfigurations\": not all manual task templates have configurations.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "StartProject"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/complete": {
"put": {
"tags": [
"Project"
],
"summary": "Complete Project",
"description": "Marks a project as \"completed\".",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to complete the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"projectAlreadyCompleted\": the project it is already in completed state.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CompleteProject"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/files/exports": {
"post": {
"tags": [
"Project"
],
"summary": "Export Project Files",
"operationId": "ExportProjectFiles",
"description": "Generates an asynchronous export operation. To monitor the progress until completion, use the [Poll Project Files Export](../api/Public-API.v1-fv.html#/operations/ExportProjectFilesStatus) endpoint. \n\nThis operation triggers the packaging of the project files into a `zip` format.\n> [!WARNING] \n> The export ID has a time-to-live (TTL) of 20 minutes, starting from when this export operation is initiated (not when the underlying async operation completes). Ensure you poll and download the export within this timeframe, or you will receive a `404 Not Found` error.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "Export Operation was triggered successfully",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/zip-file-export-response"
}
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to trigger an export on the specified project, or does not have access to the project.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/zip-file-export-request"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/files/exports/{exportId}": {
"get": {
"tags": [
"Project"
],
"summary": "Poll Project Files Export",
"operationId": "ExportProjectFilesStatus",
"description": "Retrieves the state of the export operation. \n\n Once the state is marked as `done`, you can download the generated `zip` file using the following endpoint: [Download Exported Project Files](../api/Public-API.v1-fv.html#/operations/DownloadFile).\n\n> [!WARNING] \n> The export ID has a time-to-live (TTL) of 20 minutes, starting from when the export operation was initiated (not when the underlying async operation completes). If the TTL expires, this endpoint will return a `404 Not Found` error. Ensure you poll and download the export within this timeframe.",
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/zip-file-export-response"
}
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to retrieve the details of the export.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the export operation could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"schema": {
"type": "string"
},
"name": "exportId",
"in": "path",
"required": true,
"description": "The export identifier."
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/files/exports/{exportId}/download": {
"get": {
"tags": [
"Project"
],
"summary": "Download Exported Project Files",
"description": "Downloads the generated `zip` file containing the files according to initial export operation parameters. \n\nThe final ZIP file will be named using the project name. \n\n When the export operation is performed with `downloadFlat=true` and one target language specified, the resulting ZIP file name will be a combination of the project name and the target language code, as defined by the [Export Project Files](#/operations/ExportProjectFiles) endpoint.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the file could not be found by identifier.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": the export operation is not done yet.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"x-codegen-download": true,
"operationId": "DownloadFile"
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "projectId",
"in": "path",
"required": true,
"description": "The identifier of the project."
},
{
"schema": {
"type": "string"
},
"name": "exportId",
"in": "path",
"required": true,
"description": "The identifier of the export operation."
}
]
},
"/projects/{projectId}/source-files": {
"get": {
"tags": [
"Source File"
],
"summary": "List Source Files",
"description": "Retrieves the source files in a project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-source-files-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": not authorized to retrieve source files on the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListSourceFiles"
},
"post": {
"tags": [
"Source File"
],
"summary": "Add Source File",
"description": "Adds a source file to the project. Files can be uploaded before starting a project or after the project has started. When adding a `translatable` file after the project started, a new start project request should be performed.\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.\n\n> Note: The maximum character size of the sum between the `name` and the `path` fields must not exceed 255. Otherwise the request cannot be validated.\n\n> Note: Zip files will be added as reference files. If you want to upload zip files, please use the [Upload Zip File](#/operations/UploadZipFile) endpoint.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"properties",
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/source-file-request"
},
"file": {
"type": "string",
"format": "binary",
"description": "The source file (binary string)."
}
}
}
}
},
"required": true,
"description": "For details on how to send multipart/form-data with `properties` see this [article](../docs/How-to-multipart.html)."
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input on for the value mentioned in the “name” field on the error response.\n* \"empty\": missing input for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to add a source file to the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": duplicate source file name inside a project is not allowed.\n* \"projectAlreadyCompleted\": resource can not be added because the project it is in completed state.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AddSourceFile"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
],
"put": {
"tags": [
"Source File"
],
"summary": "Update Source Files",
"operationId": "UpdateSourceFiles",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to update the source file.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": a file with the same name already exists."
}
},
"description": "Updates multiple source files. If any of the files fails to be updated, an error will be returned for each file. ",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-files-update-request"
}
}
}
}
}
},
"/projects/{projectId}/source-files/attach-files": {
"post": {
"tags": [
"Source File"
],
"summary": "Attach Source Files",
"description": "This endpoint can only be used after files have been uploaded via the [Upload Zip File](#/operations/UploadZipFile) endpoint. It allows you to add multiple source files to a project. \n\n Each file must be individually attached by setting the `fileUrl` to the `associatedFiles.id` returned by the [Poll Upload Zip File](#/operations/PollUploadZipFile) endpoint, once the `unzipStatus` is `extracted`. \n\nIf a file is attached after the project has already been started, a new start project request must be made.\n\n> Note: The maximum character size of the sum between the `name` and the `path` fields must not exceed 255. Otherwise the request cannot be validated.\n",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-attachment-request"
}
}
},
"required": true,
"description": ""
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-attachment-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": invalid input on for the value mentioned in the “name” field on the error response.\n* \"empty\": missing input for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to attach a source file on the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": duplicate source file name inside a project is not allowed.\n* \"duplicate\": duplicate fileUrl inside a project is not allowed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AddSourceFiles"
},
"parameters": [
{
"name": "projectId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The project identifier."
}
]
},
"/projects/{projectId}/source-files/{sourceFileId}": {
"get": {
"tags": [
"Source File"
],
"summary": "Get Source File",
"description": "Retrieves a source file from the project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project or the source file could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetSourceFile"
},
"put": {
"tags": [
"Source File"
],
"summary": "Update Source File",
"operationId": "UpdateSourceFile",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to update the target file.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project or the source file could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": a file with the same name already exists."
}
},
"description": "Updates a source file.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-rename-request"
}
}
}
},
"parameters": []
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/sourceFileId"
}
]
},
"/projects/{projectId}/source-files/{sourceFileId}/versions": {
"get": {
"tags": [
"Source File"
],
"summary": "List Source File Versions",
"description": "Retrieves all the versions of a source file.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-source-file-versions-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to retrieve the source file versions.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project or the source file could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListSourceFileVersions"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/sourceFileId"
}
]
},
"/tasks/{taskId}/source-files/{sourceFileId}/versions": {
"parameters": [
{
"name": "sourceFileId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The source file identifier."
},
{
"schema": {
"type": "string"
},
"name": "taskId",
"in": "path",
"required": true,
"description": "The task identifier."
}
],
"post": {
"summary": "Add Source File Version",
"tags": [
"Source File"
],
"operationId": "AddSourceFileVersion",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-version-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"invalid\": the provided document is not a valid BCM file.\n* \"invalid\": invalid file format\n* \"multiPartOrder\": the multipart order in body is not correct. `properties` must be the first, followed by `file`.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": \\\n \\- the specified task or the source file was not found.\\\n \\- the request is performed in a task that doesn't have the input file type as source file and is used a target file identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"noOwner\": the task has no owner.\n* \"differentOwner\": the authenticated user is not the owner of the task.\n* \"differentServiceUserOwner\": the authenticated service user is not the owner of the task.\n* \"taskCompleted\": adding source file version is not allowed when the task is completed.\n* \"unsupported\" : you cannot add a source file version for this task.\n* \"duplicate\": a file with the same name already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"properties",
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/source-file-version-properties-create-request",
"description": "Source file properties sent as a JSON inside a text part."
},
"file": {
"type": "string",
"format": "binary",
"description": "The source file (binary string)."
}
}
}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"description": "Adds a new version of the source file in [BCM](../../BCM/BCM.NET_client_API.html) or native format. More information about file formats can be found on the [File formats](../docs/File-formats.html) page.\n\nThe version is added on the task represented by `taskId`. To successfully execute the add operation the task should already be assigned and accepted by a user. If the task is automatic, it's possible to add a source file version only when the status of task is `inProgress`.\n\nThe file versions added need to respect the output file type declared by the task type of the enclosing task. On the [Rules for sequencing tasks correctly](https://docs.rws.com/791595/885137/trados-enterprise/rules-for-sequencing-tasks-correctly) page from the official RWS Documentation Center, you can find out what output file type is supported by each task.\n\nFor adding a source file version using an extension task, the configuration of the task must declare the `scope`'s value as \"file\".\n\nIf the file type of the new added file is different than the supported source file type, the new `fileTypeSettingsId` must be specified in the body or an update of file type should be performed after the add operation, using the [Update Source File Properties](#/operations/UpdateSourceProperties).\n\nThe value of `fileTypeSettingsId` is one of the identifiers listed by the [List File Type Settings](#/operations/ListFileTypeSettings) endpoint.\n\nThe [List File Type Settings](#/operations/ListFileTypeSettings) endpoint must be called with the File Processing Configuration identifier of your project.\n\nThe File Processing Configuration of your project can be retrieved from [Get Project](#/operations/GetProject) endpoint.\n\nThe multipart parameters in the body should respect and strictly follow the order specified in our documentation. \n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when adding files.\n",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
}
},
"/projects/{projectId}/source-files/{sourceFileId}/versions/{fileVersionId}/download": {
"get": {
"tags": [
"Source File"
],
"summary": "Download Source File Version",
"description": "Downloads a source file version.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project, the source file or the file version could not be found by identifier.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"422": {
"description": "error codes:\n* \"maliciousContent\": the file contains malicious content. The infected file cannot be downloaded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"x-codegen-download": true,
"operationId": "DownloadSourceFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/sourceFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
}
]
},
"/tasks/{taskId}/source-files/{sourceFileId}": {
"get": {
"tags": [
"Source File"
],
"summary": "Get Source File Properties",
"description": "Retrieves the properties for a source file.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-properties-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task or source file could not be found by id.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetSourceFileProperties"
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "taskId",
"in": "path",
"required": true,
"description": "The task identifier."
},
{
"schema": {
"type": "string"
},
"name": "sourceFileId",
"in": "path",
"required": true,
"description": "The source file identifier."
}
],
"put": {
"summary": "Update Source File Properties",
"tags": [
"Source File"
],
"operationId": "UpdateSourceProperties",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* “invalid”: invalid input on update source file properties.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - the specified task or the source file was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"noOwner\": the task has no owner.\n* \"differentOwner\": the authenticated user is not the owner of the task.\n* \"taskCompleted\": updating the source file properties is not allowed when the task is completed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Updates the properties of the source file.\n\n\nThe value of `fileTypeSettingsId` should be one of the identifiers listed by the [List File Type Settings](#/operations/ListFileTypeSettings) endpoint called with an identifier of a File Processing Configuration that exists on the project. The list of File Processing Configurations from a project can be retrieved by using the [List File Processing Configurations](#/operations/ListFileProcessingConfigurations) endpoint.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/source-file-properties-update-request"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/projects/{projectId}/target-files/{targetFileId}": {
"get": {
"tags": [
"Target File"
],
"summary": "Get Target File",
"description": "Retrieves a target file from a project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/target-file"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project or the target file could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTargetFile"
},
"put": {
"tags": [
"Target File"
],
"summary": "Update Target File",
"operationId": "UpdateTargetFile",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to update the target file.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the target file could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": a file with the same name already exists."
}
},
"description": "Updates a target file.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/target-file-rename-request"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
}
]
},
"/projects/{projectId}/target-files": {
"get": {
"tags": [
"Target File"
],
"summary": "List Target Files",
"description": "Retrieves the target files for a project.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"name": "targetFileIds",
"in": "query",
"description": "Filter target files by identifiers.",
"style": "form",
"explode": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "sourceFileIds",
"in": "query",
"description": "Filter target files by the identifiers of the source file they were generated from.",
"style": "form",
"explode": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-target-files-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the target files on the project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTargetFiles"
},
"put": {
"tags": [
"Target File"
],
"summary": "Update Target Files",
"operationId": "UpdateTargetFiles",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n* \"invalid\": invalid input for the value mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - the authenticated user is not allowed to update the file.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the target file could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": a file with the same name already exists."
}
},
"description": "Updates multiple target files. If any of the files fails to be updated, an error will be returned for each file. ",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/target-files-update-request"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}": {
"get": {
"tags": [
"Target File"
],
"summary": "Get Target File Version",
"description": "Retrieves one version of a target file.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/target-file-version"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project, the target file or its version could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTargetFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions": {
"get": {
"tags": [
"Target File"
],
"summary": "List Target File Versions",
"description": "Retrieves the versions of a target file.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-target-file-versions-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to retrieve versions on the target file.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project or the target file could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTargetFileVersions"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/exports": {
"post": {
"tags": [
"Target File"
],
"summary": "Export Target File Version",
"description": "Generates an asynchronous export operation. Use the [Get Target File Version Export](#/operations/PollTargetFileVersionExport) endpoint to poll until the export is completed. Used only for [BCM](../../BCM/BCM.NET_client_API.html) file versions.\n\nThis operation triggers a conversion of the BCM target file version in a native or SDLXLIFF format, based on the value of the `format` query parameter used.\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/export-format"
}
],
"responses": {
"202": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-version-export"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to export the target file version.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project, the target file or the version could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidType\": The type of the target file doesn't allow the export operation.\n* \"conflict\": A target file version export is already in progress.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ExportTargetFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/exports/{exportId}": {
"get": {
"tags": [
"Target File"
],
"summary": "Poll Target File Version Export",
"description": "Polls a target file version via an export operation. The new version can be downloaded once the status is \"completed\".",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-version-export"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to retrieve the export.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "PollTargetFileVersionExport"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
},
{
"$ref": "#/components/parameters/exportId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/exports/{exportId}/download": {
"get": {
"tags": [
"Target File"
],
"summary": "Download Exported Target File Version",
"description": "Downloads a completed target file version via an export operation.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": not allowed to download the exported target file",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": the export is not completed\n* \"conflict\": the export is not in a downloadable state due to another export, or the workflow has progressed since this export was requested",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"x-codegen-download": true,
"operationId": "DownloadExportedTargetFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
},
{
"$ref": "#/components/parameters/exportId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/{fileVersionId}/download": {
"get": {
"tags": [
"Target File"
],
"summary": "Download Target File Version",
"description": "Downloads the file version (native or BCM). \n\nIf the `fileVersionId` path parameter represents a native file version, the native file will be downloaded. If the `fileVersionId` is an identifier of a version in [BCM format](../../BCM/BCM.NET_client_API.html), the BCM file will be downloaded.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": not allowed to download the file version.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the file version could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "error codes:\n* \"invalidType\": the type of the file version cannot be downloaded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"422": {
"description": "error codes:\n* \"maliciousContent\": the file contains malicious content. The infected file cannot be downloaded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"x-codegen-download": true,
"operationId": "DownloadFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/fileVersionId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/imports": {
"post": {
"tags": [
"Target File"
],
"summary": "Import Target File Version",
"description": "Generates an asynchronous import operation. Use [Poll Target File Version Import endpoint](#/operations/PollTargetFileVersionImport) to poll until the import is completed. Only `sdlxliff` files can be imported.\n\nImport should be used when a file is downloaded as an `sdlxliff`, processed and then, replaced. \nThe import operation triggers internally the update of the [BCM](../../BCM/BCM.NET_client_API.html) file associated with the imported file. It should mostly be used for offline work.\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"format": "binary",
"description": "The target file (binary string)."
}
}
}
}
},
"required": true,
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-version-import"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error code “invalid” in case of:\n * Empty or missing file in request\n * Not valid multipart request\n * File parameter contains other extension than the one expected by specification.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to execute operation.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - the specified project or target file was not found.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"x-codegen-request-body-name": "body",
"operationId": "ImportTargetFileVersion"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
}
]
},
"/projects/{projectId}/target-files/{targetFileId}/versions/imports/{importId}": {
"get": {
"tags": [
"Target File"
],
"summary": "Poll Target File Version Import",
"description": "Polls a target file version via an import operation. The new version can be seen on the file versions once the status is \"completed\".",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/file-version-import"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - the specified project or target file was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "PollTargetFileVersionImport"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/targetFileId"
},
{
"$ref": "#/components/parameters/importId"
}
]
},
"/tasks/{taskId}/target-files/{targetFileId}/versions": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "taskId",
"in": "path",
"required": true,
"description": "The task identifier."
},
{
"schema": {
"type": "string"
},
"name": "targetFileId",
"in": "path",
"required": true,
"description": "The target file identifier."
}
],
"post": {
"summary": "Add Target File Version",
"tags": [
"Target File"
],
"operationId": "AddTargetFileVersion",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/target-file-version-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n\n* \"invalid\": invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"invalid\": the provided document is not a valid BCM file.\n* \"invalid\": invalid file format\n* \"multiPartOrder\": the multipart order in the body is not correct. The `properties` must be first and then, file.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to add a version for the target file.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": \\\n \\- the specified task or the target file was not found.\\\n \\- the request is performed in a task that doesn't have the input file type as target file and is used a source file identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"noOwner\": the task has no owner.\n* \"differentOwner\": the authenticated user is not the owner of the task.\n* \"differentServiceUserOwner\": the authenticated service user is not the owner of the task.\n* \"taskCompleted\": adding target file version is not allowed when the task is completed.\n* \"duplicate\": a file with the same name already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"properties",
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/target-file-version-properties-create-request",
"description": "Target file properties sent as a JSON inside a text part."
},
"file": {
"type": "string",
"format": "binary",
"description": "The target file (binary string)."
}
}
}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"description": "Adds a new version of the target file. Only the `native` and `bcm` file formats are accepted. For the `sdlxliff` files, you should use the [Import Target File endpoint](#/operations/ImportTargetFileVersion). More information about file formats can be found on the [File formats](../docs/File-formats.html) page. Additional details on BCM files can be found [here](../../BCM/BCM.NET_client_API.html).\n\nThe version is added on the task represented by `taskId`. To be able to execute the add operation the task should be assigned and accepted by user. If the task is automatic, it is possible to add a target file version only if the status is `inProgress`.\n\nThe added file versions need to respect the output file type declared by the task type of the enclosing task. On the [Rules for sequencing tasks correctly](https://docs.rws.com/791595/885137/trados-enterprise/rules-for-sequencing-tasks-correctly) page from the official RWS Documentation Center, you can find out what output file type is supported by each task.\n\nFor adding a target file version using an extension task, the configuration of the task type must declare the `scope`'s value as \"file\".\n\nThe multipart parameters in the body should respect and strictly follow the order specified in our documentation.\n\nConsider the [file and project size limit](https://docs.rws.com/791595/815967/trados-enterprise---accelerate/file-and-project-size-limit) when uploading files.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
}
},
"/projects/{projectId}/files/{fileId}/cancel": {
"put": {
"summary": "Cancel Project File",
"operationId": "CancelProjectFile",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read resource",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\r\n* \"alreadyCanceled\": the file was already cancelled.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Cancels a project file.\n\nThe `fileId` path parameter can be either a source file identifier or a target file identifier. Use the [List Source Files](#/operations/ListSourceFiles) endpoint to obtain source file identifiers, or the [List Target Files](#/operations/ListTargetFiles) endpoint to obtain target file identifiers.",
"tags": [
"Project"
],
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
},
{
"$ref": "#/components/parameters/fileId"
}
]
},
"/projects/{projectId}/quote-report/export": {
"post": {
"summary": "Export Quote Report",
"operationId": "ExportQuoteReport",
"responses": {
"202": {
"description": "Accepted",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/export-quote-report-response",
"description": "Export quote report response.\n\nThe field is optional and will be returned only if a custom quote template is associated with the project.t.\n\nWe currently have this known issue: when the export is not using a Quote Template, the response for this call will be empty. It will be addressed in the future.e."
}
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": the project is in a phase which doesn’t allow the quote to be exported.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Generates an asynchronous quote export operation for the project in either PDF or Excel format. Use the [polling endpoint](../api/Public-API.v1-fv.html#/operations/PollQuoteReportExport) to check when the export is completed.
\nBuilt-in quotes are only available in the same languages as the user interface. See [this page](https://docs.rws.com/791595/1084405/trados-enterprise---accelerate/ui-languages) for more information.
\nCustomers who use non-default quote templates are responsible for the implementation of a suitable localization approach.\n\n> [!WARNING] \n> The export ID has a time-to-live (TTL) of 20 minutes, starting from when this export operation is initiated (not when the underlying async operation completes). Ensure you poll and download the export within this timeframe, or you will receive a `404 Not Found` error.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/quote-report-format"
},
{
"$ref": "#/components/parameters/language-id"
}
],
"tags": [
"Quote"
]
},
"get": {
"summary": "Poll Quote Report Export",
"operationId": "PollQuoteReportExport",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"inProgress",
"completed"
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Polls a quote report via an export operation. The quote report can be [downloaded](../api/Public-API.v1-fv.html#/operations/DownloadQuoteReport) once the status is \"completed\". The recommended polling interval is 20 seconds.\n\nIf the `exportId` query parameter is not provided, the polling action will return the status for the last generated export.\n\n> [!WARNING] \n> The export ID has a time-to-live (TTL) of 20 minutes, starting from when the export operation was initiated (not when the underlying async operation completes). If the TTL expires, this endpoint will return a `404 Not Found` error. Ensure you poll and download the export within this timeframe.\n",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/quote-report-format"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "exportId",
"description": "The export identifier."
}
],
"tags": [
"Quote"
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/quote-report/download": {
"get": {
"summary": "Download Exported Quote Report",
"operationId": "DownloadQuoteReport",
"responses": {
"200": {
"description": "",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project could not be found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Downloads a quote report generated by the [asynchronous export operation](#/operations/ExportQuoteReport). \n\nIf the `exportId` query parameter is not provided, the last generated export quote will be downloaded.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/quote-report-format"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "exportId",
"description": "The export identifier."
}
],
"tags": [
"Quote"
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/tasks": {
"get": {
"tags": [
"Project"
],
"summary": "List Project's Tasks",
"description": "Lists the tasks of a specific project.",
"parameters": [
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-tasks-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListProjectTasks"
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/projects/{projectId}/tasks/reschedule": {
"patch": {
"tags": [
"Project"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/reschedule-tasks-request"
}
}
},
"required": true
},
"summary": "Reschedule Project Tasks",
"description": "Reschedules the tasks of a specific project.",
"responses": {
"200": {
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"description": "OK"
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "RescheduleProjectTasks",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/projectId"
}
]
},
"/project-groups": {
"get": {
"tags": [
"Project Group"
],
"summary": "List Project Groups",
"description": "Retrieves a list of all the project groups in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-project-groups-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListProjectGroups"
},
"post": {
"tags": [
"Project Group"
],
"summary": "Create Project Group",
"description": "Creates a new project group.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-group-create-request"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-group-create-response"
},
"examples": {}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to create the project group in the specified location.\n* \"benefitNotAvailable\": Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": Project group with the same name already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreateProjectGroup"
},
"parameters": []
},
"/project-groups/{projectGroupId}": {
"get": {
"tags": [
"Project Group"
],
"summary": "Get Project Group",
"description": "Retrieves a project group by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-group"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the project group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The project group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetProjectGroup"
},
"put": {
"tags": [
"Project Group"
],
"summary": "Update Project Group",
"description": "Updates the project group.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-group-update-request"
}
}
},
"required": true,
"description": ""
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n\n* “invalid”: Invalid input on update project group model.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the project group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": Project group with the same name already exists.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdateProjectGroup"
},
"delete": {
"tags": [
"Project Group"
],
"summary": "Delete Project Group",
"description": "Deletes a project group.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the project group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": there might be projects that are still `attaching`.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeleteProjectGroup"
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "projectGroupId",
"in": "path",
"required": true,
"description": "The project group identifier."
}
]
},
"/project-groups/{projectGroupId}/projects": {
"post": {
"tags": [
"Project Group"
],
"summary": "Add Projects To Group",
"description": "Adds projects to the project group.\n\nThe projects are not added instantly. To check the status use the [Get Project Group](#/operations/GetProjectGroup) endpoint.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/add-projects-to-group-request"
}
}
},
"required": true
},
"responses": {
"202": {
"description": "Accepted",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/add-projects-to-group-response"
}
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to add the projects to group.\n* \"forbidden\": The projects are not found or the authenticated user does not have acces to them.\n* \"benefitNotAvailable\": Your subscription does not include access to the requested type of benefit.\n* \"quotaReached\": The maximum number of projects allowed for your project group has already been reached.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The project group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* “conflict”: A project with status \"detaching\" cannot be added.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AddProjectsToGroup"
},
"delete": {
"tags": [
"Project Group"
],
"summary": "Remove Projects From Group",
"description": "Removes projects from the project group.\n\nThe projects are not removed instantly. To check the status use the [Get Project Group](#/operations/GetProjectGroup) endpoint.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"202": {
"description": "Accepted",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to remove the projects from the project group.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The project group could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* “conflict”: A project with status \"attaching\" cannot be removed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "RemoveProjectsFromGroup",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/remove-projects-from-group-request"
}
}
}
}
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "projectGroupId",
"in": "path",
"required": true,
"description": "The Project Group identifier."
}
]
},
"/project-templates/{projectTemplateId}": {
"get": {
"tags": [
"Project Template"
],
"summary": "Get Project Template",
"description": "Retrieves a project template by identifier.\n\nFor detailed information about Translation Memory advanced configuration including filters and field updates, see [Translation Memory Advanced Configuration](../docs/translation-memory/Translation-memory-advanced-configuration.html).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-template-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the project template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetProjectTemplate"
},
"parameters": [
{
"$ref": "#/components/parameters/projectTemplateId"
}
],
"put": {
"summary": "Update Project Template",
"operationId": "UpdateProjectTemplate",
"description": "Updates a project template by id.\n\nFor detailed information about Translation Memory advanced configuration including filters and field updates, see [Translation Memory Advanced Configuration](../docs/translation-memory/Translation-memory-advanced-configuration.html).",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-template-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input mentioned in the “name” field on the error response. \n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the project template.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project template could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Project Template"
]
},
"delete": {
"summary": "Delete Project Template",
"operationId": "DeleteProjectTemplate",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the project template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the project template could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Deletes a project template by id.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Project Template"
]
}
},
"/project-templates": {
"get": {
"tags": [
"Project Template"
],
"summary": "List Project Templates",
"description": "Retrieves a list of all the project templates in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/name"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-project-templates-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListProjectTemplates"
},
"post": {
"tags": [
"Project Template"
],
"summary": "Create Project Template",
"description": "Creates a new project template.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-template-create-request"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-template-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input mentioned in the “name” field on the error response. \n* \"deleted\": Some of the selected values were deleted and cannot be selected for some values of the \"customFields\" field.\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to create a project template.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": A project template with the same name already exists in the same location.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "CreateProjectTemplate"
}
},
"/quote-templates": {
"get": {
"tags": [
"Quote Template"
],
"summary": "List Quote Templates",
"description": "Retrieves a list of all the quote templates in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-quote-templates-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListQuoteTemplates"
}
},
"/quote-templates/{quoteTemplateId}": {
"get": {
"tags": [
"Quote Template"
],
"summary": "Get Quote Template",
"description": "Retrieves a quote template by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/project-quote-template"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the quote template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetQuoteTemplate"
},
"parameters": [
{
"name": "quoteTemplateId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The identifier of the quote template."
}
]
},
"/rate-limits": {
"get": {
"tags": [
"Rate Limits"
],
"summary": "List Rate Limits",
"description": "Retrieves a list of all rate limits applicable for an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-rate-limits-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListRateLimits"
}
},
"/roles": {
"get": {
"tags": [
"Role and Permission"
],
"summary": "List Roles",
"description": "Retrieves a list of all roles available for the account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-roles-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListRoles"
},
"post": {
"tags": [
"Role and Permission"
],
"summary": "Create Role",
"description": "Creates a custom role.\n\nSee [List Permissions](#/operations/ListPermissions) for available permission names.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/role-create-request"
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/role"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the request mentioned in the “name” field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes: \n* \"forbidden\": the authenticated user is not allowed to create the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* “duplicate”: Role with the same name already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CreateRole"
}
},
"/roles/{roleId}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "roleId",
"in": "path",
"required": true,
"description": "The role identifier."
}
],
"get": {
"summary": "Get Role",
"description": "Retrieves a role by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/role"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* “empty”: Empty input for the “roleId” path parameter variable.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the role.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the role could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetRole",
"tags": [
"Role and Permission"
]
},
"put": {
"summary": "Update Role",
"description": "Updates a role by identifier. Pay special attention to how [updating](../docs/Updating-data-with-PUT.html) works.\n\nSee [List Permissions](#/operations/ListPermissions) for available permission names.\n\n> Note: Only custom roles can be updated. Provisioned roles cannot be modified.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/role-update-request"
}
}
}
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response, or provisioned roles cannot be updated.\n* \"empty\": Empty input for the \"roleId\" path parameter variable.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the role.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the role could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\" Role with the same name already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "UpdateRole",
"tags": [
"Role and Permission"
]
},
"delete": {
"summary": "Delete Role",
"description": "Deletes a role by identifier.\n\n> Note: Only custom roles can be deleted. Provisioned roles cannot be removed.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response, or provisioned roles cannot be deleted.\n* \"empty\": Empty input for the \"roleId\" path parameter variable.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the role.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the role could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DeleteRole",
"tags": [
"Role and Permission"
]
}
},
"/permissions": {
"get": {
"tags": [
"Role and Permission"
],
"summary": "List Permissions",
"description": "Retrieves a list of all permissions available for the account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-permissions-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListPermissions"
}
},
"/schedule-templates": {
"get": {
"summary": "List Schedule Templates",
"description": "Retrieves a list of all the schedule templates in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/name"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-schedule-templates-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListScheduleTemplates",
"tags": [
"Schedule Template"
]
},
"parameters": [],
"post": {
"summary": "Create Schedule Template",
"operationId": "CreateScheduleTemplate",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/schedule-template"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n\n* “invalid”: invalid input on update schedule template model.\n* \"invalidLanguage\": The language used in configurations is invalid. Check the error message for more details.\n* \"maxSize\": The maximum size was exceeded for the value mentioned in the \"name\" or in the \"description\" fields.\n* \"invalidType\": The value provided for the \"taskTypeId\" field is invalid.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to create a schedule template.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": A schedule template with the same name already exists in the same location.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Creates a new schedule template.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/schedule-template-create-request"
}
}
}
},
"tags": [
"Schedule Template"
]
}
},
"/schedule-templates/{scheduleTemplateId}": {
"get": {
"summary": "Get Schedule Template",
"description": "Retrieves a schedule template by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/schedule-template"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* “empty”: Empty input for the “scheduleTemplateId” path parameter variable.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the schedule template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the schedule template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetScheduleTemplate",
"tags": [
"Schedule Template"
]
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "scheduleTemplateId",
"in": "path",
"required": true,
"description": "The id of the schedule template."
}
],
"delete": {
"summary": "Delete Schedule Template",
"operationId": "DeleteScheduleTemplate",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the schedule template.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the schedule template could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Deletes a schedule template.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Schedule Template"
]
},
"put": {
"summary": "Update Schedule Template",
"operationId": "UpdateScheduleTemplate",
"responses": {
"204": {
"description": "No content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error responses:\n\n* “invalid”: invalid input on update schedule template model.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response or in “scheduleTemplateId” path variable.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" or in the \"description\" fields. \n* \"invalidType\": The value provided for the \"taskTypeId\" field is invalid.",
"headers": {
"X-LC-TraceId": {
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the schedule template.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the schedule template could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": A schedule template with the same name already exists in the same location.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Updates the schedule template identified by `scheduleTemplateId`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/schedule-template-update-request"
}
}
}
},
"tags": [
"Schedule Template"
]
}
},
"/tasks/{taskId}": {
"get": {
"tags": [
"Task"
],
"summary": "Get Task",
"description": "Retrieves a task.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/task"
},
"examples": {
"simple": {
"value": {
"id": "df680285-adcd-4bda-8f79-0bba4a857287",
"status": "created"
}
},
"unexpected-enum": {
"value": {
"id": "df680285-adcd-4bda-8f79-0bba4a857287",
"status": "unexpectedEnumValue"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the task.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/assigned": {
"get": {
"tags": [
"Task"
],
"summary": "List Tasks assigned to me",
"description": "Retrieves the tasks assigned to the authenticated user.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"name": "status",
"in": "query",
"description": "If specified, this filters tasks by status.",
"schema": {
"type": "string"
}
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-tasks-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTasksAssignedToMe"
}
},
"/tasks/{taskId}/accept": {
"put": {
"tags": [
"Task"
],
"summary": "Accept Task",
"description": "Accepts a task. The authenticated user becomes the owner of the accepted task and can start work on it. Optionally, the task can be accepted on behalf of a group by providing the `onBehalfOfGroup` query parameter. In this case, the authenticated user must be a member of the specified group, and the group must be present in the task's assignee list. The `onBehalfOfGroup` parameter is allowed only if the [task](#/operations/GetTask) has `configuration.CONCURRENT_EDITING_ENABLED = true`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"name": "onBehalfOfGroup",
"in": "query",
"required": false,
"description": "The identifier of the group on behalf of which the task is being accepted. The authenticated user must be a member of the specified group, and the group must be present in the task's assignee list.",
"schema": {
"type": "string"
}
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"alreadyOwned\": the task is already owned\n* \"invalidStatus\": the task status doesn't permit the accept operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AcceptTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/{taskId}/reject": {
"put": {
"tags": [
"Task"
],
"summary": "Reject Task",
"description": "Rejects a task. The authenticated user will be removed from the task's list of available assignee users.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"alreadyOwned\": The task is already owned. It can't be rejected.\n* \"invalidStatus\": The task status doesn't permit the reject operation.\n* \"singleAssignee\": The authenticated user is the single assignee of the task, therefore the task can't be rejected.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "RejectTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/{taskId}/complete": {
"put": {
"tags": [
"Task"
],
"summary": "Complete Task",
"description": "Completes a task. The task is required to be in \"inProgress\" state and will be marked as \"completed\".",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/task-complete-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “maxSize“: Maximum size exceeded for the value mentioned in the “name“ field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to complete the task.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": The current task status doesn't permit this operation.\n* \"noOwner\": The current task was not accepted in advance.\n* \"differentOwner\": The current task is accepted by another user.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CompleteTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/{taskId}/release": {
"put": {
"tags": [
"Task"
],
"summary": "Release Task",
"description": "Releases the task from its owner so that other task assignees will be able to accept it.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to release the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"noOwner\": the task currently has no owner.\n* \"differentOwner\": the authenticated user is not the owner of the task.\n* \"invalidStatus\": the task's status does not permit this operation.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ReleaseTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/{taskId}/reclaim": {
"put": {
"tags": [
"Task"
],
"summary": "Reclaim Task",
"description": "The current owner of task is removed so that other assignees can accept it. \nThe task is not reassigned automatically.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty value for variable mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to reclaim the task.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": the current task's status doesn't permit this operation.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ReclaimTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/tasks/{taskId}/assign": {
"put": {
"tags": [
"Task"
],
"summary": "Assign Task",
"description": "Assigns a task. The task assignees will be updated.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/task-assign-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input mentioned in the “name” field on the error response.\n* \"limit.exceeded\": a maximum number of users per task was assigned\n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to assign the task.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the task could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": the current task's status doesn't permit the operation.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "AssignTask"
},
"parameters": [
{
"$ref": "#/components/parameters/taskId"
}
]
},
"/task-types/{taskTypeId}": {
"get": {
"tags": [
"Task Type"
],
"summary": "Get Task Type",
"description": "Retrieves a task type by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/task-type"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the task type.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTaskType"
},
"parameters": [
{
"$ref": "#/components/parameters/taskTypeId"
}
]
},
"/task-types": {
"get": {
"tags": [
"Task Type"
],
"summary": "List Task Types",
"description": "Retrieves all the task types in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"name": "key",
"in": "query",
"description": "Filter by keys.",
"style": "form",
"explode": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "automatic",
"in": "query",
"description": "Filter by automatic or human tasks.",
"schema": {
"type": "boolean"
}
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-task-types-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTaskTypes"
}
},
"/translation-engines/{translationEngineId}": {
"get": {
"tags": [
"Translation Engine"
],
"summary": "Get Translation Engine",
"description": "Retrieves a translation engine.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-engine"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n\n* \"forbidden\": - The authenticated user is not allowed to read resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation engine could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "GetTranslationEngine"
},
"parameters": [
{
"$ref": "#/components/parameters/translationEngineId"
}
],
"put": {
"summary": "Update Translation Engine",
"operationId": "UpdateTranslationEngine",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty input in the update translation engine model. Check error details.\n* \"invalidLanguage\": Invalid language code used in language-pair",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to update the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation memory could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n\n * \"updateNotAllowed\": Property specified in error response can not be updated because the translation engine provided is a copy assigned to a project.\n* \"duplicate\": Duplicate resources found for the language pair specified in the error details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Updates a translation engine. \n\nIt can be used to update a stand-alone translation engine or a project's translation engine. \nThe identifier of a project's translation engine can be retrieved only by calling [Get Project](#/operations/GetProject) endpoint.\n\nPay special attention that some properties can not be changed for a project's translation engine. These include: name, description, definition.languageProcessingId, and language pairs can not be added/removed from definition.languagePairDefinitions. \n\nPay special attention to how [updating](../docs/Updating-data-with-PUT.html) works.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-engine-update-request"
}
}
},
"description": ""
},
"tags": [
"Translation Engine"
]
}
},
"/translation-engines": {
"get": {
"tags": [
"Translation Engine"
],
"summary": "List Translation Engines",
"description": "Retrieves all the translation engines in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-translation-engines-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTranslationEngines"
}
},
"/termbase-templates": {
"get": {
"summary": "List Termbase Templates",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-termbase-templates-response"
},
"examples": {
"termbase-templates-list": {
"value": {
"items": [
{
"id": "test-id-1",
"name": "test-name-1",
"location": {
"id": "test-location-id-1",
"name": "test-location-name-1"
},
"type": "system",
"languages": [
{
"languageCode": "test-language-code-1"
}
],
"fields": [
{
"id": "test-field-id-1",
"name": "test-field-name-1",
"type": "system",
"level": "entry",
"dataType": "text"
}
]
},
{
"id": "test-id-2",
"name": "test-name-2",
"location": {
"id": "test-location-id-2",
"name": "test-location-name-2"
},
"type": "userDefined",
"languages": [
{
"languageCode": "test-language-code-2"
}
],
"fields": [
{
"id": "test-field-id-2",
"name": "test-field-name-2",
"type": "userDefined",
"level": "language",
"dataType": "boolean"
}
]
}
],
"itemCount": 2
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read the resources.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTermbaseTemplates",
"description": "List termbase templates.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"in": "query",
"name": "location",
"description": "The identifiers of the resource folders. ",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"$ref": "#/components/parameters/fields"
},
{
"schema": {
"type": "string",
"enum": [
"system",
"userDefined"
]
},
"in": "query",
"name": "type",
"description": "The type of the termbase template to retrieve. If not specified, both types will be returned"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"tags": [
"Termbase Template"
]
},
"parameters": [],
"post": {
"summary": "Create Termbase Template",
"operationId": "CreateTermbaseTemplate",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-template"
},
"examples": {
"Example 1": {
"value": {
"id": "string",
"name": "string",
"description": "string",
"copyright": "string",
"location": {
"id": "string",
"name": "string",
"hasParent": true,
"path": [
{
"id": "string",
"name": "string",
"location": "string",
"hasParent": true
}
]
},
"createdAt": "2022-01-12T12:00:00Z",
"lastModifiedAt": "2022-01-12T12:00:00Z",
"type": "system",
"languages": [
{
"languageCode": "string",
"englishName": "string",
"direction": "string",
"parentLanguageCode": "string",
"defaultSpecificLanguageCode": "string",
"isNeutral": true
}
],
"fields": [
{
"id": "string",
"name": "string",
"description": "string",
"type": "system",
"level": "entry",
"dataType": "text",
"pickListValues": [
"string"
],
"allowCustomValues": true,
"allowMultiple": true,
"isMandatory": true
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"duplicate\": The field name must be unique within the list.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to create a termbase template in the specified location.\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified location was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": There is already a termbase template with the same name.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Creates a new termbase template.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-template-create-request"
}
}
}
},
"tags": [
"Termbase Template"
]
}
},
"/termbase-templates/{termbaseTemplateId}": {
"get": {
"summary": "Get Termbase Template",
"tags": [
"Termbase Template"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-template"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n\n* \"forbidden\": - The authenticated user is not allowed to read resource\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the termbase template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTermbaseTemplate",
"description": "Get a termbase template by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"delete": {
"summary": "Delete Termbase Template",
"operationId": "DeleteTermbaseTemplate",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the termbase template\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the termbase template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": cannot delete system termbase templates",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Deletes a termbase template by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase Template"
]
},
"put": {
"summary": "Update Termbase Template",
"operationId": "UpdateTermbaseTemplate",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"duplicate\": The field name must be unique within the list.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to update the termbase template.\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": There is already a termbase template with the same name.\n* \"conflict\": cannot update system termbase template",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-template-update-request"
}
}
}
},
"description": "Updates the termbase template.",
"tags": [
"Termbase Template"
]
},
"parameters": [
{
"$ref": "#/components/parameters/termbaseTemplateId"
}
]
},
"/termbase-templates/convert-xdt": {
"post": {
"summary": "Convert XDT to Termbase Structure",
"operationId": "ConvertTermbaseTemplate",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-structure"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error code “invalid” in case of:\r\n * Empty or missing file in request\r\n * Not valid multipart request\r\n * File parameter contains other extension than the one expected by specification.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Converts a termbase definition (XDT file) to a termbase structure that will be returned in the response.
\nThe structure will not be stored in the Trados Cloud Platform.",
"parameters": [
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"format": "binary",
"description": "The .xdt file (binary string) used for conversion."
}
}
}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"tags": [
"Termbase Template"
]
},
"parameters": []
},
"/termbases": {
"get": {
"summary": "List Termbases",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-termbases-response"
},
"examples": {
"termbases-list": {
"value": {
"items": [
{
"id": "test-id-1",
"name": "test-name-1",
"location": {
"id": "test-location-id-1",
"name": "test-location-name-1"
},
"termbaseStructure": {
"languages": [
{
"languageCode": "test-language-code-1"
}
],
"fields": [
{
"id": "test-field-id-1",
"name": "test-field-name-1",
"type": "system",
"level": "entry",
"dataType": "text"
}
]
},
"numberOfEntries": 1,
"status": "ready"
},
{
"id": "test-id-2",
"name": "test-name-2",
"location": {
"id": "test-location-id-2",
"name": "test-location-name-2"
},
"termbaseStructure": {
"languages": [
{
"languageCode": "test-language-code-2"
}
],
"fields": [
{
"id": "test-field-id-2",
"name": "test-field-name-2",
"type": "userDefined",
"level": "language",
"dataType": "boolean"
}
]
},
"numberOfEntries": 2,
"status": "ready"
}
],
"itemCount": 2
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTermbase",
"description": "List termbases.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"tags": [
"Termbase"
]
},
"post": {
"summary": "Create Termbase",
"operationId": "CreateTermbase",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase"
},
"examples": {
"Example 1": {
"value": {
"id": "string",
"name": "string",
"description": "string",
"copyright": "string",
"location": {
"id": "string",
"name": "string",
"hasParent": true,
"path": [
{
"id": "string",
"name": "string",
"location": "string",
"hasParent": true
}
]
},
"termbaseStructure": {
"languages": [
{
"languageCode": "string",
"englishName": "string",
"direction": "string",
"parentLanguageCode": "string",
"defaultSpecificLanguageCode": "string",
"isNeutral": true
}
],
"fields": [
{
"id": "string",
"name": "string",
"description": "string",
"type": "system",
"level": "entry",
"dataType": "text",
"pickListValues": [
"string"
],
"allowCustomValues": true,
"allowMultiple": true,
"isMandatory": true
}
]
},
"numberOfEntries": 0,
"status": "ready",
"createdAt": "2022-01-12T12:00:00Z",
"lastModifiedAt": "2022-01-12T12:00:00Z"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to create a termbase.\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.\n* \"quotaReached\": - You have reached the maximum allowable number of termbases for your account.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified location was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": There is already a termbase with the same name.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Creates a new termbase.\nThe termbase can be created with a termbase template by providing the templateId or by providing a custom termbaseStructure. \nIf only a `termbaseTemplateId` was provided, the termbase will be created using data from the template. \nIf only a `termbaseStructure` was provided, the termbase will be created using data from the structure. \nIf both, `termbaseTemplateId` and `termbaseStructure` are added in the request, the `termbaseStructure` takes precedence.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-create-request"
}
}
},
"description": ""
},
"tags": [
"Termbase"
]
}
},
"/termbases/{termbaseId}": {
"get": {
"summary": "Get Termbase",
"tags": [
"Termbase"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read the resource.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTermbase",
"description": "Retrieves a termbase by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"delete": {
"summary": "Delete Termbase",
"operationId": "DeleteTermbase",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the termbase\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the termbase could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": The termbase cannot be deleted as is currently being processed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Deletes a termbase by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase"
]
},
"put": {
"summary": "Update Termbase",
"operationId": "UpdateTermbase",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"duplicate\": The field name must be unique within the list.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to update the termbase.\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified termbase identifier was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": There is already a termbase with the same name.\n* \"invalidStatus\": The termbase cannot be updated as is currently being processed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-update-request"
}
}
}
},
"description": "Updates the termbase.\nThe termbase can be updated with a termbase template by providing the termbaseTemplateId or by providing a custom termbaseStructure. \n\nIf only a `termbaseTemplateId ` was provided, the termbase will be updated using data from the template. \nIf only a `termbaseStructure` was provided, the termbase will be updated using data from the structure. \nIf both, `termbaseTemplateId` and `termbaseStructure` are added in the request, the `termbaseStructure` takes precedence.",
"tags": [
"Termbase"
]
},
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
}
]
},
"/termbases/{termbaseId}/entries": {
"post": {
"summary": "Create Termbase Entry",
"operationId": "CreateTermbaseEntry",
"responses": {
"201": {
"description": "Created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-entry"
},
"examples": {
"termbase-entry-create": {
"value": {
"id": "string",
"humanReadableId": "string",
"languages": [
{
"id": "string",
"language": {
"languageCode": "string",
"englishName": "string",
"direction": "string",
"parentLanguageCode": "string",
"defaultSpecificLanguageCode": "string",
"isNeutral": true
},
"terms": [
{
"id": "string",
"text": "string",
"termbaseFieldValues": [
{
"id": "string",
"name": "string",
"termbaseFieldId": "string",
"value": "string",
"fieldValueLinks": [
{
"type": "term",
"value": "string"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifiedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifiedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
],
"termbaseFieldValues": [
{
"id": "string",
"name": "string",
"termbaseFieldId": "string",
"value": "string",
"fieldValueLinks": [
{
"type": "term",
"value": "string"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifiedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
],
"termbaseFieldValues": [
{
"id": "string",
"name": "string",
"termbaseFieldId": "string",
"value": "string",
"fieldValueLinks": [
{
"type": "term",
"value": "string"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifiedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
],
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
},
"lastModifiedAt": "2019-08-24T14:15:22Z",
"lastModifiedBy": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"anonymized": true,
"anonymizedUserName": "string",
"location": {
"id": "string",
"name": "string"
},
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"location": {
"id": "string",
"name": "string"
},
"users": [
{
"id": "string"
}
]
}
]
}
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"invalidLevel\" : The termbaseFieldId is invalid for the current termbaseField type\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to create an entry.\n* \"benefitNotAvailable\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": The termbase cannot be updated as is currently being processed.\n* \"duplicate\" : An entry with the same value already exists.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Creates a new termbase entry. For more information about how to use `fieldValueLinks` see [`Create termbase entry`](../docs/termbase/Termbase-entries.html#creating-a-termbase-entry).",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-entry-create-request"
}
}
}
},
"tags": [
"Termbase"
]
},
"get": {
"summary": "List Termbase Entries",
"operationId": "ListTermbaseEntries",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-termbase-entries-response"
},
"examples": {
"termbase-entries-list": {
"value": {
"items": [
{
"id": "test-id-1",
"humanReadableId": "test-humanReadableId-1",
"languages": [
{
"id": "test-languages-id-1",
"language": {
"languageCode": "test-language-code-1"
},
"terms": [
{
"id": "test-terms-id-1",
"text": "test-terms-test-1"
}
]
}
],
"termbaseFieldValues": [
{
"id": "test-termbaseFieldValues-id-1",
"name": "test-termbaseFieldValues-name-1",
"termbaseFieldId": "test-termbaseFieldValues-termbaseFieldId-1",
"value": "test-termbaseFieldValues-value-1",
"fieldValueLinks": [
{
"type": "term",
"value": "test-value-1"
}
]
}
]
},
{
"id": "test-id-2",
"humanReadableId": "test-humanReadableId-2",
"languages": [
{
"id": "test-languages-id-2",
"language": {
"languageCode": "test-language-code-2"
},
"terms": [
{
"id": "test-terms-id-2",
"text": "test-terms-test-2"
}
]
}
],
"termbaseFieldValues": [
{
"id": "test-termbaseFieldValues-id-2",
"name": "test-termbaseFieldValues-name-2",
"termbaseFieldId": "test-termbaseFieldValues-termbaseFieldId-2",
"value": "test-termbaseFieldValues-value-2",
"fieldValueLinks": [
{
"type": "term",
"value": "test-value-2"
}
]
}
]
}
],
"itemCount": 2
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read the entries.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Retrieves a list of all the entries in a termbase.",
"tags": [
"Termbase"
],
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/humanReadableIds"
}
]
},
"delete": {
"summary": "Delete Termbase Entries",
"operationId": "DeleteTermbaseEntries",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to delete an entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Deletes all the entries in the termbase.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase"
]
},
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
}
]
},
"/termbases/{termbaseId}/entries/{entryId}": {
"get": {
"summary": "Get Termbase Entry",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-entry"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read the entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the entry could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTermbaseEntry",
"description": "Retrieves a termbase entry by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"tags": [
"Termbase"
]
},
"put": {
"summary": "Update Termbase Entry",
"operationId": "UpdateTermbaseEntry",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to update the entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": The termbase cannot be updated as is currently being processed.\n* \"duplicate\" : An entry with the same value already exists.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Updates a termbase entry by identifier.\nThe request body will overwrite the existing data.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-entry-update-request"
}
}
}
}
},
"delete": {
"summary": "Delete Termbase Entry",
"operationId": "DeleteTermbaseEntry",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to delete the termbase entries.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Deletes a termbase entry.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase"
]
},
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"$ref": "#/components/parameters/entryId"
}
]
},
"/termbases/{termbaseId}/exports": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
}
],
"post": {
"summary": "Export Termbase",
"operationId": "ExportTermbase",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-export-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified termbase was not found.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"xml",
"tbx"
],
"default": "tbx",
"description": "The file format used to export the termbase."
},
"properties": {
"$ref": "#/components/schemas/termbase-export-properties-request"
}
}
}
}
}
},
"description": "Generates an asynchronous export operation.
\nUse the [Poll Export Termbase](#/operations/PollExportTermbase) endpoint to poll until the export status is `done`.",
"tags": [
"Termbase Export"
]
}
},
"/termbases/{termbaseId}/exports/{exportId}": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"$ref": "#/components/parameters/exportId"
}
],
"get": {
"summary": "Poll Termbase Export",
"operationId": "PollExportTermbase",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-export-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified export was not found."
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Polls a termbase via an export operation. The exported termbase can be downloaded once the status is `done`.",
"tags": [
"Termbase Export"
]
}
},
"/termbases/{termbaseId}/exports/{exportId}/download": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"$ref": "#/components/parameters/exportId"
}
],
"get": {
"summary": "Download Exported Termbase",
"operationId": "DownloadExportedTermbase",
"responses": {
"200": {
"description": "OK",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - The specified termbase or export was not found.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Downloads the exported termbase when the poll operation status is `done`.",
"tags": [
"Termbase Export"
]
}
},
"/termbases/{termbaseId}/export-template": {
"parameters": [
{
"name": "termbaseId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The termbase identifier."
}
],
"get": {
"summary": "Export Termbase Template",
"tags": [
"Termbase Export"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "DownloadTermbaseDefinition",
"description": "Downloads the termbase definition.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/termbases/{termbaseId}/terms/{sourceLanguageCode}": {
"get": {
"summary": "List Termbase Terms",
"operationId": "ListTermbaseTerms",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-termbase-terms-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read the entries.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"schema": {
"type": "string",
"maxLength": 100
},
"in": "query",
"name": "search",
"description": "The text to search for."
},
{
"schema": {
"type": "string",
"enum": [
"normal",
"linguistic",
"fuzzy"
],
"default": "normal"
},
"in": "query",
"name": "searchType",
"description": "The type of the search performed."
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "targetLanguageCode",
"description": "The target language code used to list the terms."
}
],
"description": "Retrieves a list of all the terms of the termbase.\nSearch types:\n- normal: Use normal search to look for terms that match the text exactly as entered.\n- linguistic: Use linguistic search to look for terms that are similar to the search term. Linguistic search is based on stemming and other language-dependent aspects.\n- fuzzy: Use fuzzy search to look for terms that are similar to the search term. Fuzzy search is more fault-tolerant than linguistic search.",
"tags": [
"Termbase"
]
},
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"schema": {
"type": "string"
},
"name": "sourceLanguageCode",
"in": "path",
"required": true,
"description": "The source language code used to list the terms."
}
]
},
"/termbases/{termbaseId}/imports": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
}
],
"get": {
"summary": "Get Termbase Import History",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-termbase-import-history"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetImportHistory",
"description": "Gets the import history for a termbase.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"tags": [
"Termbase Import"
]
},
"post": {
"summary": "Import Termbase",
"operationId": "ImportTermbase",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-import-response"
},
"examples": {
"import-termbase-ok": {
"value": {
"id": "test-import-id",
"status": "queued"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"invalidStatus\": Cannot import as the termbase is currently being processed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"schema": {
"type": "boolean",
"default": true
},
"in": "query",
"name": "strictImport",
"description": "Specifies if the entries are only imported into the exact language that matches your imported file.
`true` - The import will only occur if the language in your import file matches exactly with a language in your termbase.
`false` - The import will occur even there are non-matching languages, by trying to match them to a relevant main language or language variant, if available."
},
{
"schema": {
"type": "string",
"enum": [
"ignore",
"merge",
"overwrite"
],
"default": "overwrite"
},
"in": "query",
"name": "duplicateEntriesStrategy",
"description": "The strategy for duplicate entries. Determines how the duplicate entries will be handled.
`ignore` - The content of the current entry with the same identifier will be kept, and the new entry will be ignored
`merge` - The content of the current entry with the same identifier will be merged with the imported entry. If the identifier is not provided the content will be merged by text.
`overwrite` - The content of the current entry with the same identifier will be replaced by the imported entry."
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/termbase-import-request"
},
"file": {
"type": "string",
"format": "binary",
"description": "The file (binary string) to import into the termbase.
\nAccepted file types: .xml, .tbx\n
"
}
}
},
"examples": {}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"description": "Generates an asynchronous import operation.
\nUse the Poll Import Termbase endpoint to poll until the import status is `done`.
",
"tags": [
"Termbase Import"
]
}
},
"/termbases/{termbaseId}/imports/{importId}": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"$ref": "#/components/parameters/importId"
}
],
"get": {
"summary": "Poll Termbase Import",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/termbase-poll-import-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "PollTermbaseImport",
"description": "Polls a termbase import operation.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase Import"
]
}
},
"/termbases/{termbaseId}/imports/{importId}/logs": {
"parameters": [
{
"$ref": "#/components/parameters/termbaseId"
},
{
"$ref": "#/components/parameters/importId"
}
],
"get": {
"summary": "Download Termbase Import Logs",
"operationId": "DownloadTermbaseImportLog",
"description": "Downloads the termbase import logs.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Termbase Import"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error code: \n * \"invalid\": the value specified in the field \"name\" of the errorDetails is not an accepted value."
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": - The authenticated user is not allowed to read entry.\n* \"entitlementMissing\": - Your subscription does not include access to the requested type of benefit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
}
},
"/tqa-profiles": {
"get": {
"summary": "List TQA Profiles",
"tags": [
"TQA Profile"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-tqa-profiles-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTqaProfiles",
"description": "List TQA Profiles.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
]
}
},
"/tqa-profiles/{profileId}": {
"get": {
"summary": "Get TQA Profile",
"tags": [
"TQA Profile"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tqa-profile"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the User could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTqaProfile",
"description": "Get a TQA Profile By identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": [
{
"$ref": "#/components/parameters/profileId"
}
]
},
"/translation-memory/{translationMemoryId}": {
"get": {
"summary": "Get Translation Memory",
"tags": [
"Translation Memory"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation memory could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTranslationMemory",
"description": "Get a single Translation Memory by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"put": {
"summary": "Update Translation Memory",
"operationId": "UpdateTranslationMemory",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"minSize\": Minimum size not met for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation memory could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Updates a Translation Memory. We recommend reading this page too [Updating data with PUT](../docs/Updating-data-with-PUT.html).",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-update-request"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"tags": [
"Translation Memory"
]
},
"delete": {
"summary": "Delete Translation Memory",
"operationId": "DeleteTranslationMemory",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation memory could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Deletes a Translation Memory.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"tags": [
"Translation Memory"
]
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "translationMemoryId",
"in": "path",
"required": true,
"description": "The identifier of the translation memory"
}
]
},
"/translation-memory/{translationMemoryId}/copy": {
"post": {
"summary": "Copy Translation Memory",
"tags": [
"Translation Memory"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The translation memory could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "CopyTranslationMemory",
"description": "Creates a copy of a Translation Memory. The name will be suffixed with ' (Copy) '",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "translationMemoryId",
"in": "path",
"required": true,
"description": "The identifier of the translation memory"
}
]
},
"/translation-memory": {
"get": {
"summary": "List Translation Memories",
"tags": [
"Translation Memory"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-translation-memories-reposne"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTranslationMemories",
"description": "Retrieves all the Translation Memories.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"post": {
"summary": "Create Translation Memory",
"operationId": "CreateTranslationMemory",
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-base"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"minSize\": Minimum size not met for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"description": "Create a new Translation Memory.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-create-request"
}
}
}
},
"tags": [
"Translation Memory"
]
}
},
"/translation-memory/field-templates": {
"get": {
"summary": "List Field Templates",
"tags": [
"Translation Memory"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-translation-memory-field-templates"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListFieldTemplates",
"parameters": [
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"description": "Retrieves all the Field Templates."
},
"parameters": []
},
"/translation-memory/field-templates/{fieldTemplateId}": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "fieldTemplateId",
"in": "path",
"required": true,
"description": "The field template identifier"
}
],
"get": {
"summary": "Get Field Template",
"tags": [
"Translation Memory"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-field-template"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetFieldTemplate",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"description": "Get a single Field Template by identifier."
}
},
"/translation-memory/{translationMemoryId}/imports": {
"parameters": [
{
"schema": {
"type": "string"
},
"name": "translationMemoryId",
"description": "The identifier of the Translation Memory.",
"in": "path",
"required": true
}
],
"get": {
"summary": "Get Translation Memory Import History",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-translation-memory-import-history"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the entry.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetTMImportHistory",
"description": "Gets the import history for a translation memory. It returns the history of last 7 days.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
}
],
"tags": [
"Translation Memory Import"
]
},
"post": {
"summary": "Import Translation Memory",
"operationId": "ImportTranslationMemory",
"responses": {
"200": {
"description": "OK - returned when the `status` field has one of the following values: `failed`, `done`, `cancelled`",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-import-response"
},
"examples": {
"import-termbase-ok": {
"value": {
"id": "test-import-id",
"status": "queued"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"202": {
"description": "Accepted - returned when the `status` field has one of the following values: `queued`, `inProgress`",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-import-response"
},
"examples": {
"import-termbase-ok": {
"value": {
"id": "test-import-id",
"status": "queued"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query/form parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty mandatory value mentioned in the \"name\" field on the error response.\n* \"multiPartOrder\": The multipart order in the body is not correct. The `properties` must be first and then, file.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": Not authorized to import translation memories.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"required": [
"properties",
"file"
],
"properties": {
"properties": {
"$ref": "#/components/schemas/translation-memory-import-request"
},
"file": {
"type": "string",
"format": "binary",
"description": "The file (binary string) to import into the translation memory.
Accepted file types: .tmx, .sdltm, .zip, .tmx.gz, .sdlxliff"
}
}
},
"examples": {}
}
},
"description": "For details on multipart requests please see [this article](../docs/How-to-multipart.html)."
},
"description": "Generates an asynchronous import operation. \n
\n
Read more about prerequisites and limitations on the [official documentation center](https://docs.rws.com/791595/741139/trados-enterprise/importing-tm-content).\n
\nNote: The order of the multipart form parameter must be implemented as such: properties first, file second.\n
\nUse the Poll Translation Memory Import endpoint to poll until the import status is `done`.
\nTo track the progress of the import please refer to [Poll Translation Memory Import](#/operations/PollTMImport).",
"tags": [
"Translation Memory Import"
]
}
},
"/translation-memory/imports/{importId}": {
"parameters": [
{
"name": "importId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The import identifier."
}
],
"get": {
"summary": "Poll Translation Memory Import",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-import-poll-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the path parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the entry.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "PollTMImport",
"description": "Polls a Translation Memory import operation. The import is finished when the status is `done`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Translation Memory Import"
]
}
},
"/translation-memory/{translationMemoryId}/exports": {
"parameters": [
{
"$ref": "#/components/parameters/translationMemoryId"
}
],
"post": {
"summary": "Export Translation Memory",
"operationId": "ExportTranslationMemory",
"responses": {
"200": {
"description": "OK - returned when the `status` field has one of the following values: `failed`, `done`, `cancelled`",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-export-response"
}
}
}
},
"202": {
"description": "Accepted - returned when the `status` field has one of the following values: `queued`, `inProgress`",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-export-response"
}
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the request parameters. Either the `translationMemoryId` or the `sourceLanguageCode`/`targetLanguageCode` are invalid.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to export the translation memory.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"description": "Generates an asynchronous export operation.\nUse the [Poll Translation Memory Export](#/operations/PollTranslationMemoryExport) endpoint to poll until the export status is `done`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-export-request"
}
}
}
},
"tags": [
"Translation Memory Export"
]
}
},
"/translation-memory/exports/{exportId}": {
"parameters": [
{
"$ref": "#/components/parameters/exportId"
}
],
"get": {
"summary": "Poll Translation Memory Export",
"tags": [
"Translation Memory Export"
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-memory-poll-export-response"
}
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid `exportId` in the path parameters.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "PollTranslationMemoryExport",
"description": "Polls a translation memory via an export operation. The exported translation memory can be downloaded once the status is `done`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/translation-memory/exports/{exportId}/download": {
"parameters": [
{
"$ref": "#/components/parameters/exportId"
}
],
"get": {
"summary": "Download Exported Translation Memory",
"tags": [
"Translation Memory Export"
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid `exportId` in the path parameters.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": The authenticated user is not allowed to read the resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": The resource could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "DownloadExportedTranslationMemory",
"description": "Downloads the exported translation memory in the `tmx.gz` format when the poll operation status is `done`.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/translations/lookup": {
"post": {
"summary": "Lookup",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-search-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response. \n\n * \"invalid\": Invalid input mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Unauthorized to use translation engine.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - translation engine not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "TranslationsLookup",
"tags": [
"Translation"
],
"description": "Translates a phrase in plain text or a BCM fragment containing a single segment. The translated content will be returned as a BCM [fragment](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Fragment.html) or [term](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Skeleton.Term.html). \n\n For detailed concepts and examples see the [Translation API](../docs/translations/Translations.html) page.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-search-request"
}
}
},
"description": "Learn more about Translation Memory standard penalties [here](https://docs.rws.com/en-US/trados-enterprise-accelerate-791595/trados-tm-penalties-1159224).\r\n
\r\nLearn more about Translation Unit status penalties [here](https://docs.rws.com/en-US/trados-enterprise-accelerate-791595/editing-project-tm-and-verification-settings-800732)."
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": []
},
"/translations/concordance": {
"post": {
"summary": "Concordance",
"tags": [
"Translation"
],
"responses": {
"200": {
"description": "OK.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-concordance-search-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response. \n\n * \"invalid\": Invalid input mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Unauthorized to use translation engine.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - translation engine not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "TranslationsConcordanceSearch",
"description": "Performs a concordance search for a given text within the TM linked to the specified translation engine. The translated content will be returned as a BCM [fragment](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Fragment.html) or [term](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Skeleton.Term.html). \n\n For detailed concepts and examples see the [Translation API](../docs/translations/Translations.html) page.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-concordance-search-request"
}
}
},
"description": "Learn more about Translation Memory standard penalties [here](https://docs.rws.com/en-US/trados-enterprise-accelerate-791595/trados-tm-penalties-1159224).\r\n
\r\nLearn more about Translation Unit status penalties [here](https://docs.rws.com/en-US/trados-enterprise-accelerate-791595/editing-project-tm-and-verification-settings-800732)."
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"parameters": []
},
"/translations/translation-unit": {
"put": {
"summary": "Update Translation Unit",
"tags": [
"Translation"
],
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-unit-add-update-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response. \n\n * \"invalid\": Invalid input mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Unauthorized to use translation engine.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - translation engine not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "TranslationsUpdate",
"description": "Updates a translation unit. The system identifies matching translation units in the TM based on the provided BCM [fragment](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Fragment.html). \n\n For detailed concepts and examples see the [Translation API](../docs/translations/Translations.html) page.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-update-request"
}
}
}
}
},
"post": {
"summary": "Add Translation Unit",
"tags": [
"Translation"
],
"responses": {
"200": {
"description": "Ok",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-unit-add-update-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \n\n * \"empty\": Empty value for variable mentioned in the \"name\" field on the error response. \n\n * \"invalid\": Invalid input mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Unauthorized to use translation engine.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": - translation engine not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "TranslationsAdd",
"description": "Adds a translation unit. The system identifies matching translation units in the TM based on the provided BCM [fragment](https://developers.rws.com/languagecloud-api-docs/api/bcm/Sdl.Core.Bcm.BcmModel.Fragment.html). \n\n For detailed concepts and examples see the [Translation API](../docs/translations/Translations.html) page.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/translation-add-request"
}
}
}
}
}
},
"/users/me": {
"get": {
"tags": [
"User"
],
"summary": "Get my User",
"description": "Retrieves the authenticated user.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetMyUser"
}
},
"/users": {
"get": {
"tags": [
"User"
],
"summary": "List Users",
"description": "Retrieves a list of all the users in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
},
{
"$ref": "#/components/parameters/email"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-users-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListUsers"
},
"post": {
"summary": "Create User",
"tags": [
"User"
],
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in “name” field on the error response.\r\n* “maxSize“: The maximum size was exceeded for the value mentioned in the \"name\" field.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes: \r\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"409": {
"description": "Error responses:\r\n* “duplicate”: duplicate value for the field mentioned in the error details.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "CreateUser",
"description": "Creates a new user in an account.",
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user-create-request"
}
}
}
}
}
},
"/users/{userId}": {
"get": {
"tags": [
"User"
],
"summary": "Get User",
"description": "Retrieves a user by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "error codes:\n* \"notFound\": the User could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetUser"
},
"parameters": [
{
"$ref": "#/components/parameters/userId"
}
],
"put": {
"summary": "Update User",
"tags": [
"User"
],
"responses": {
"204": {
"description": "No Content",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes: \r\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\r\n* \"forbidden\": the authenticated user is not allowed to update the user.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\r\n* \"notFound\": the user could not be found by identifier.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdateUser",
"description": "Updates a user within the account.\r\n\r\nPlease follow the update rules detailed on the [Updating data with PUT](../docs/Updating-data-with-PUT.html) page.\r\n\r\nWhen performing an update, fields that are related to a different type of user will be ignored.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/user-update-request"
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
]
},
"delete": {
"summary": "Delete User",
"tags": [
"User"
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Invalid input in userId field.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "DeleteUser",
"description": "Deletes a user.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
]
}
},
"/.well-known/jwks.json": {
"get": {
"summary": "List Public Keys",
"tags": [
"Public Keys"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/well-known-jwks-response"
},
"examples": {
"list-keys-ok": {
"value": {
"keys": [
{
"kty": "test-kty-1",
"n": "test-n-1",
"e": "test-e-1",
"alg": "test-alg-1",
"kid": "test-kid-1",
"use": "test-use-1"
},
{
"kty": "test-kty-2",
"n": "test-n-2",
"e": "test-e-2",
"alg": "test-alg-2",
"kid": "test-kid-2",
"use": "test-use-2"
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of it's dependencies attempted to retrieve data outside the allowed range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListPublicKeys",
"description": "List all available Public Keys."
}
},
"/.well-known/jwks.json/{kid}": {
"get": {
"summary": "Get Public Key",
"tags": [
"Public Keys"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/jwk"
},
"examples": {
"get-key-ok": {
"value": {
"kty": "test-kty",
"n": "test-n",
"e": "test-e",
"alg": "test-alg",
"kid": "test-kid",
"use": "test-use"
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the public key could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetPublicKey",
"description": "Retrieves a public key by it's identifier."
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "kid",
"in": "path",
"required": true,
"description": "The key identifier."
}
]
},
"/vendors": {
"get": {
"operationId": "ListVendors",
"summary": "List Vendors",
"description": "Retrieves a list of all the vendors in an account.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-vendors-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"post": {
"operationId": "CreateVendor",
"summary": "Create Vendor",
"description": "Creates a new vendor organization. A vendor represents an external LSP that can be assigned translation tasks. The key contact provided will become the primary point of contact for the vendor.\n\nCreating a vendor automatically provisions a dedicated folder and a `VendorProjectManager` group within the account hierarchy.\n\n**Managing vendor members:** Users can be added to a vendor by inviting them via the [Create User](#/operations/CreateUser) endpoint, specifying the auto-created `VendorProjectManager` group as one of the `groups` in the request. Users can be removed from the vendor by removing them from that group using the [Update Group](#/operations/UpdateGroup) or [Update User](#/operations/UpdateUser) endpoints.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-create-request"
},
"examples": {
"selfManagedVendor": {
"summary": "Self-managed vendor with quote template and custom fields",
"value": {
"name": "Lionbridge",
"description": "Leading global LSP specializing in translation and localization.",
"keyContact": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@lionbridge.com"
},
"selfManaged": true,
"quoteTemplateId": "ab49e078-8ea1-45fc-b469-475c38a1d20b",
"customFields": [
{
"key": "vendor_tier",
"value": "premium"
}
]
}
},
"managedVendorMinimal": {
"summary": "Externally managed vendor, no quote template",
"value": {
"name": "TransPerfect",
"keyContact": {
"firstName": "Jane",
"lastName": "Smith",
"email": "jane.smith@transperfect.com"
},
"selfManaged": false
}
}
}
}
}
},
"responses": {
"201": {
"description": "Vendor created successfully.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor"
},
"examples": {
"selfManagedVendor": {
"summary": "Self-managed vendor with quote template",
"value": {
"id": "69e693d00000000000000000",
"name": "Lionbridge",
"description": "Leading global LSP specializing in translation and localization.",
"keyContact": {
"id": "69e693d00000000000000001",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@lionbridge.com"
},
"vendorFolder": {
"id": "a91ec1bdc70be40ad55bfb34d76c0026",
"name": "vendors"
},
"groups": [
{
"id": "69e693d00000000000000002",
"name": "VendorProjectManager"
}
],
"selfManaged": true,
"quoteTemplate": {
"id": "ab49e078-8ea1-45fc-b469-475c38a1d20b",
"name": "Standard Quote Template"
}
}
},
"managedVendorMinimal": {
"summary": "Externally managed vendor, no quote template",
"value": {
"id": "69e693d00000000000000003",
"name": "TransPerfect",
"keyContact": {
"id": "69e693d00000000000000004",
"firstName": "Jane",
"lastName": "Smith",
"email": "jane.smith@transperfect.com"
},
"vendorFolder": {
"id": "b82fd2cec81cf51be66agc45e87d1137",
"name": "vendors"
},
"groups": [
{
"id": "69e693d00000000000000005",
"name": "VendorProjectManager"
}
],
"selfManaged": false
}
}
}
}
},
"links": {
"GetVendorById": {
"operationId": "GetVendor",
"parameters": {
"vendorId": "$response.body#/id"
},
"description": "Use the returned vendor `id` to retrieve the full vendor resource."
},
"CreateVendorOrderTemplate": {
"operationId": "CreateVendorOrderTemplate",
"description": "Associate this vendor with a vendor order template to enable task assignment."
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.\n* \"empty\": Empty input in the body parameter mentioned in the \"name\" field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"missing\": Missing required field for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to create vendor order templates.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* “duplicate”: duplicate value for the field mentioned in the error details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
}
},
"/vendors/{vendorId}": {
"get": {
"operationId": "GetVendor",
"summary": "Get Vendor",
"description": "Retrieves a vendor by identifier.\n\nUse the `fields` query parameter to include optional nested resources such as `members`. The `members` field returns the users in the vendor's `VendorProjectManager` group. To manage vendor members, use the [Create User](#/operations/CreateUser), [Update User](#/operations/UpdateUser), or [Update Group](#/operations/UpdateGroup) endpoints.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor"
},
"examples": {
"selfManagedVendor": {
"summary": "Self-managed vendor with quote template and members",
"value": {
"id": "69e693d00000000000000000",
"name": "Lionbridge",
"description": "Leading global LSP specializing in translation and localization.",
"keyContact": {
"id": "69e693d00000000000000001",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@lionbridge.com"
},
"vendorFolder": {
"id": "a91ec1bdc70be40ad55bfb34d76c0026",
"name": "vendors"
},
"groups": [
{
"id": "69e693d00000000000000002",
"name": "VendorProjectManager"
}
],
"selfManaged": true,
"quoteTemplate": {
"id": "ab49e078-8ea1-45fc-b469-475c38a1d20b",
"name": "Standard Quote Template"
},
"members": [
{
"id": "69e693d00000000000000010",
"firstName": "Alice",
"lastName": "Translator",
"email": "alice@lionbridge.com"
}
]
}
},
"externallyManagedVendor": {
"summary": "Externally managed vendor, no quote template",
"value": {
"id": "69e693d00000000000000003",
"name": "TransPerfect",
"keyContact": {
"id": "69e693d00000000000000004",
"firstName": "Jane",
"lastName": "Smith",
"email": "jane.smith@transperfect.com"
},
"vendorFolder": {
"id": "b82fd2cec81cf51be66agc45e87d1137",
"name": "vendors"
},
"groups": [
{
"id": "69e693d00000000000000005",
"name": "VendorProjectManager"
}
],
"selfManaged": false
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the vendor.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"put": {
"operationId": "UpdateVendor",
"summary": "Update Vendor",
"description": "Updates a vendor by identifier. Only fields included in the request body are updated. We recommend reading [Updating data with PUT](../docs/Updating-data-with-PUT.html) before using this endpoint.\n\n**Member management is not part of this endpoint.** To add a user to a vendor, invite them via the [Create User](#/operations/CreateUser) endpoint specifying the vendor's `VendorProjectManager` group. To remove a user from the vendor, remove them from that group using the [Update Group](#/operations/UpdateGroup) or [Update User](#/operations/UpdateUser) endpoints.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the vendor.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"duplicate\": duplicate value for the field mentioned in the error details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
}
}
},
"delete": {
"operationId": "DeleteVendor",
"summary": "Delete Vendor",
"description": "Deletes a vendor by identifier.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the vendor.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\n* \"conflict\": the vendor cannot be deleted because its folder contains resources that must be removed first. The error details describe which resources are blocking deletion.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "vendorId",
"in": "path",
"required": true,
"description": "The vendor identifier."
}
]
},
"/vendors/{vendorId}/order-templates": {
"get": {
"operationId": "ListVendorOrderTemplates",
"summary": "List Vendor Order Templates",
"description": "Retrieves a list of vendor order templates for the specified vendor.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-vendor-order-templates-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the query parameter mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to list vendor order templates for this vendor.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"post": {
"operationId": "CreateVendorOrderTemplate",
"summary": "Create Vendor Order Template",
"description": "Creates a new vendor order template for the specified vendor.\n\nFor more information on creating vendor order templates, see [Creating order templates for vendors](https://docs.rws.com/en-US/trados-enterprise-accelerate-791595/creating-order-templates-for-vendors-708439).",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-order-template-create-request"
},
"examples": {
"singleLanguagePair": {
"summary": "Single language pair, with one manager and one assignee, wait for all files (default delay)",
"value": {
"name": "EN-FR Translation",
"pricingModelId": "pm-abc123",
"quoteConfiguration": { "behaviour": "waitForAllFiles" },
"languagePairs": [
{ "source": "en-US", "target": "fr-FR" }
],
"assignments": [
{
"languagePair": { "source": "en-US", "target": "fr-FR" },
"managers": [ { "type": "user", "id": "69e693d00000000000000010" } ],
"assignees": [ { "type": "user", "id": "69e693d00000000000000011" } ]
}
]
}
},
"multipleLanguagePairs": {
"summary": "Multiple language pairs with group assignees and wait for all files with custom holding delay",
"value": {
"name": "Multilingual Package",
"description": "Template covering EN to DE and FR with a group-based assignee.",
"pricingModelId": "pm-def456",
"quoteConfiguration": { "behaviour": "waitForAllFiles", "holdingDelay": 120 },
"allowQuoteEditing": true,
"serviceTypes": [ "st-translation-001" ],
"languagePairs": [
{ "source": "en-US", "target": "de-DE" },
{ "source": "en-US", "target": "fr-FR" }
],
"assignments": [
{
"languagePair": { "source": "en-US", "target": "de-DE" },
"managers": [ { "type": "user", "id": "69e693d00000000000000010" } ],
"assignees": [ { "type": "group", "id": "69e693d00000000000000002" } ]
},
{
"languagePair": { "source": "en-US", "target": "fr-FR" },
"managers": [ { "type": "user", "id": "69e693d00000000000000010" } ],
"assignees": [ { "type": "user", "id": "69e693d00000000000000011" } ]
}
]
}
}
}
}
},
"required": true
},
"responses": {
"201": {
"description": "Vendor Order Template created successfully.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-order-template-response"
},
"examples": {
"singleLanguagePair": {
"summary": "Single language pair template",
"value": {
"id": "vot-abc123",
"name": "EN-FR Translation",
"quoteConfiguration": { "behaviour": "waitForAllFiles" },
"allowQuoteEditing": false,
"pricingModel": { "id": "pm-abc123", "name": "Standard Rate" },
"languagePairs": [
{ "source": "en-US", "target": "fr-FR" }
],
"assignments": [
{
"languagePair": { "source": "en-US", "target": "fr-FR" },
"managers": [ { "type": "user", "id": "69e693d00000000000000010" } ],
"assignees": [ { "type": "user", "id": "69e693d00000000000000011" } ]
}
]
}
}
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.\n* \"empty\": Empty input in the body parameter mentioned in the \"name\" field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response. \n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to create vendor order templates.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "vendorId",
"in": "path",
"required": true,
"description": "The vendor identifier."
}
]
},
"/vendors/{vendorId}/order-templates/{orderTemplateId}": {
"get": {
"operationId": "GetVendorOrderTemplate",
"summary": "Get Vendor Order Template",
"description": "Retrieves a vendor order template by identifier.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-order-template-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the vendor order template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor order template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"put": {
"operationId": "UpdateVendorOrderTemplate",
"summary": "Update Vendor Order Template",
"description": "Updates a vendor order template by identifier. Only fields included in the request body are updated. We recommend reading [Updating data with PUT](../docs/Updating-data-with-PUT.html) before using this endpoint.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/vendor-order-template-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.\n* \"empty\": Empty input in the body parameter mentioned in the \"name\" field on the error response.\n* \"minSize\": Minimum size exceeded for the value mentioned in the \"name\" field on the error response.\n* \"maxSize\": Maximum size exceeded for the value mentioned in the \"name\" field on the error response. \n",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the vendor order template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor order template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"delete": {
"operationId": "DeleteVendorOrderTemplate",
"summary": "Delete Vendor Order Template",
"description": "Deletes a vendor order template by identifier.",
"tags": [
"Vendor"
],
"parameters": [
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/Authorization"
}
],
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* \"invalid\": Invalid input in the field mentioned in the \"name\" field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to delete the vendor order template.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the vendor order template could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
}
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "vendorId",
"in": "path",
"required": true,
"description": "The vendor identifier."
},
{
"schema": {
"type": "string"
},
"name": "orderTemplateId",
"in": "path",
"required": true,
"description": "The vendor order template identifier."
}
]
},
"/workflows/{workflowId}": {
"get": {
"tags": [
"Workflow"
],
"summary": "Get Workflow",
"description": "Retrieves a workflow by identifier.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/workflow"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to read the workflow.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the resource could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "GetWorkflow"
},
"put": {
"tags": [
"Workflow"
],
"summary": "Update Workflow",
"description": "Updates the workflow in terms of: name, description, task configuration (and its details), and task type configuration values (`configurationValues`). Observe the rules of [JSON Merge Patch Semantics](https://tools.ietf.org/html/rfc7386).",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/workflow-update-request"
}
}
},
"required": true
},
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the body parameter mentioned in the “name” field on the error response.\n* \"empty\": Empty input in the body parameter mentioned in the \"name\" field on the error response.\n* \"limit.exceeded\": a maximum number of users per task was assigned\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
},
"401": {
"description": "The user could not be identified.",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the Workflow.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Workflow could not be found by identifier.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"409": {
"description": "Error codes:\r\n* \"projectPlanChanged\": The associated project has already been changed at the level of `projectPlan.taskConfigurations`. Updating the workflow is no longer possible; the project should be updated to set the relevant `projectPlan.taskConfigurations` fields. \r\n",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "UpdateWorkflow"
},
"parameters": [
{
"$ref": "#/components/parameters/workflowId"
}
]
},
"/workflows": {
"get": {
"tags": [
"Workflow"
],
"summary": "List Workflows",
"description": "Retrieves all the workflows in an account.",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
},
{
"$ref": "#/components/parameters/top"
},
{
"$ref": "#/components/parameters/skip"
},
{
"$ref": "#/components/parameters/location"
},
{
"$ref": "#/components/parameters/location-strategy"
},
{
"$ref": "#/components/parameters/sort"
},
{
"$ref": "#/components/parameters/fields"
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-workflows-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input in the query parameter mentioned in the “name” field on the error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"416": {
"description": "Error codes:\n* \"requestedRangeNotSatisfiable\": The requested entity or one of its dependencies attempted to retrieve data outside the allowed range. Skip+Top might be outside the supported range.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListWorkflows"
}
},
"/projects/{projectId}/custom-fields/{customFieldKey}": {
"parameters": [
{
"name": "projectId",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The project identifier."
},
{
"schema": {
"type": "string"
},
"name": "customFieldKey",
"in": "path",
"required": true,
"description": "The custom field key."
}
],
"put": {
"summary": "Update Custom Field",
"operationId": "UpdateCustomField",
"responses": {
"204": {
"description": "No Content",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"400": {
"description": "Error codes:\n* “invalid”: Invalid input for a readOnly field, with a different value than the deafult one. Also this code is used for invalid input values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"403": {
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to update the Custom field for the Project.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"404": {
"description": "Error codes:\n* \"notFound\": the Project could not be found by identifier or Custom field key could not be found or does not belong to the desired resource type.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/custom-field-update-request",
"description": "Thew new value along wit"
}
}
}
},
"tags": [
"Project"
],
"description": "Allows updating individual custom fields on a project.",
"parameters": []
}
},
"/translation-domain/service-types": {
"get": {
"summary": "List Service Types",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-translation-service-types-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
},
"401": {
"description": "The user could not be identified.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListTranslationServiceTypes",
"parameters": [
{
"$ref": "#/components/parameters/Authorization"
},
{
"$ref": "#/components/parameters/X-LC-Tenant"
}
],
"tags": [
"Translation Domain"
],
"description": "List all available service types."
}
}
},
"components": {
"schemas": {
"account": {
"title": "Account",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The account identifier."
},
"name": {
"type": "string",
"description": "