{
"openapi": "3.1.0",
"info": {
"title": "Trados Cloud Platform Global API",
"description": "The Trados Cloud Platform API providing global functionality.",
"version": "1.0",
"contact": {},
"summary": ""
},
"servers": [
{
"url": "https://api.cloud.trados.com/public-api/v1"
}
],
"tags": [
{
"name": "Accounts",
"description": "Region related endpoints."
},
{
"name": "Public Keys",
"description": "Region related endpoints."
},
{
"name": "Region",
"description": "Region related endpoints."
}
],
"paths": {
"/regions": {
"get": {
"summary": "List Regions",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/list-regions-response"
}
}
},
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
}
}
},
"operationId": "ListRegions",
"description": "Lists all the regions including domains names (hosts) for various services.",
"tags": [
"Region"
]
}
},
"/.well-known/jwks.json": {
"get": {
"summary": "List 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.",
"x-internal": false,
"tags": [
"Public Keys"
]
}
},
"/accounts": {
"get": {
"summary": "List My Accounts",
"tags": [
"Accounts"
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/list-my-accounts-response"
}
}
}
},
"401": {
"description": "Unauthorized",
"headers": {
"X-LC-TraceId": {
"$ref": "#/components/headers/X-LC-TraceId"
}
},
"content": {
"application/json": {
"schema": {
"type": "object",
"$ref": "#/components/schemas/error-response"
}
}
}
}
},
"operationId": "ListMyAccounts",
"description": "Retrieves the accounts from all regions where the authenticated user is part of . \r\n\r\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"
}
],
"x-internal": false
}
}
},
"components": {
"schemas": {
"list-regions-response": {
"title": "List Regions Response",
"type": "object",
"required": [
"items",
"itemCount"
],
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/region-details"
}
},
"itemCount": {
"type": "number"
}
},
"description": "Provides information about available regions and host addresses."
},
"region-details": {
"title": "Region Details",
"type": "object",
"required": [
"regionCode",
"name",
"location",
"hosts"
],
"properties": {
"regionCode": {
"type": "string",
"description": "Region code that uniquely identifies the region. Possible values are `ca` and `eu`."
},
"name": {
"type": "string",
"description": "Region name.",
"example": "EU"
},
"location": {
"type": "string",
"description": "User friendly geographical location of the region.",
"example": "EU (Frankfurt, DE)"
},
"hosts": {
"$ref": "#/components/schemas/region-hosts"
}
}
},
"region-hosts": {
"title": "Region Hosts",
"type": "object",
"required": [
"apiHost"
],
"properties": {
"apiHost": {
"type": "string",
"description": "Trados Cloud Platform API host. It contains the host and is should be suffixed with the path of the Public API and version."
}
}
},
"list-jwks": {
"title": "List JWKs Response",
"type": "array",
"items": {
"$ref": "#/components/schemas/jwk"
},
"x-internal": false
},
"jwk": {
"title": "JWK",
"type": "object",
"description": "A Json Web Key. \n
\nSee https://datatracker.ietf.org/doc/html/rfc7517 for details.",
"properties": {
"kty": {
"type": "string",
"description": "The cryptographic algorithm\n family used with the key."
},
"n": {
"type": "string",
"description": "The RSA public modulus n."
},
"e": {
"type": "string",
"description": "The RSA public exponent e."
},
"alg": {
"type": "string",
"description": "The algorithm intended for use with the key."
},
"kid": {
"type": "string",
"description": "The \"kid\" (key ID) parameter is used to match a specific key."
},
"use": {
"type": "string",
"description": "The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data."
}
},
"x-internal": false
},
"error-response": {
"title": "Error Response",
"type": "object",
"description": "Error response properties.",
"properties": {
"message": {
"type": "string",
"description": "Retrieves a descriptive message that shows what went wrong."
},
"errorCode": {
"type": "string",
"description": "Concise code that describes the nature of the error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/error-detail-response"
}
}
},
"required": [
"message",
"errorCode"
]
},
"error-detail-response": {
"title": "Error Detail Response",
"type": "object",
"description": "Error detail response properties.",
"properties": {
"name": {
"type": "string",
"description": ""
},
"code": {
"type": "string",
"description": ""
},
"value": {
"type": "string"
}
}
},
"well-known-jwks-response": {
"title": "Well Known Keys Response",
"type": "object",
"properties": {
"keys": {
"$ref": "#/components/schemas/list-jwks",
"description": "The list of public keys."
}
},
"x-internal": false
},
"list-my-accounts-response": {
"title": "List My Accounts Response",
"type": "object",
"properties": {
"itemCount": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/account"
}
}
},
"required": [
"itemCount",
"items"
],
"description": "A response for the List My Accounts endpoint.",
"x-internal": false
},
"account": {
"title": "Account",
"type": "object",
"required": [
"id",
"regionCode"
],
"properties": {
"id": {
"type": "string",
"description": "The account identifier."
},
"name": {
"type": "string",
"description": "