From ccc763a263d15be3b0da7c9de7182fa0c33e6590 Mon Sep 17 00:00:00 2001 From: anicolescu Date: Fri, 14 Aug 2026 16:05:32 +0300 Subject: [PATCH 1/5] LTLC-132850-added list termbase entry templates endpoint --- articles/LCPublicAPI/api/Public-API.v1.json | 125 ++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 15b3306..9bc2b6d 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -13829,6 +13829,96 @@ "operationId": "ListTranslationEngines" } }, + "/termbase-entry-templates/{termbaseId}": { + "get": { + "summary": "List Termbase Entry Templates", + "operationId": "ListTermbaseEntryTemplates", + "description": "Retrieves the entry templates that are linked to the termbase.", + "tags": [ + "Termbase Entry Templates" + ], + "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/list-termbase-entry-templates-response" + }, + "examples": { + "termbase-entry-templates-list": { + "value": { + "items": [ + { + "id": "test-id-1", + "name": "test-name-1" + }, + { + "id": "test-id-2", + "name": "test-name-2" + } + ], + "itemCount": 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" + } + } + }, + "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" + } + } + } + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/termbaseId" + } + ] + }, "/termbase-templates": { "get": { "summary": "List Termbase Templates", @@ -24381,6 +24471,26 @@ "itemCount" ] }, + "list-termbase-entry-templates-response": { + "title": "List Termbase Entry Templates Response", + "type": "object", + "description": "The termbase entry templates response.", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/termbase-entry-template" + } + }, + "itemCount": { + "type": "integer" + } + }, + "required": [ + "items", + "itemCount" + ] + }, "list-termbases-response": { "title": "List Termbases Response", "type": "object", @@ -30117,6 +30227,21 @@ "type" ] }, + "termbase-entry-template": { + "title": "Termbase Entry Template", + "type": "object", + "description": "The termbase entry template.", + "properties": { + "id": { + "type": "string", + "description": "The identifier of the termbase entry template." + }, + "name": { + "type": "string", + "description": "The name of the termbase entry template." + } + } + }, "termbase-template-update-request": { "title": "Termbase Template Update Request", "type": "object", From ec2004d1b7e934143d24b00a4daf6ef486293ae6 Mon Sep 17 00:00:00 2001 From: anicolescu Date: Mon, 17 Aug 2026 13:34:05 +0300 Subject: [PATCH 2/5] added Termbase Entry Templates tag --- articles/LCPublicAPI/api/Public-API.v1.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 9bc2b6d..00361d9 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -134,6 +134,10 @@ "name": "Termbase", "description": "Termbase" }, + { + "name": "Termbase Entry Templates", + "description": "Termbase Entry Templates" + }, { "name": "Termbase Export", "description": "Termbase Export" From 6cf41e70fc521d4273313855b86aa7c85767904d Mon Sep 17 00:00:00 2001 From: anicolescu Date: Thu, 20 Aug 2026 09:55:59 +0300 Subject: [PATCH 3/5] Modified URL, added default and required fields --- articles/LCPublicAPI/api/Public-API.v1.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 00361d9..41e3e8b 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -13833,7 +13833,7 @@ "operationId": "ListTranslationEngines" } }, - "/termbase-entry-templates/{termbaseId}": { + "/termbases/{termbaseId}/entry-templates": { "get": { "summary": "List Termbase Entry Templates", "operationId": "ListTermbaseEntryTemplates", @@ -30242,9 +30242,13 @@ }, "name": { "type": "string", - "description": "The name of the termbase entry template." + "description": "The name of the termbase entry template.", + "x-default-field": true } - } + }, + "required": [ + "id" + ] }, "termbase-template-update-request": { "title": "Termbase Template Update Request", From fd2df9336a151c50bfd7b29671694fb8746081c7 Mon Sep 17 00:00:00 2001 From: anicolescu Date: Thu, 20 Aug 2026 10:37:06 +0300 Subject: [PATCH 4/5] Added default notation on the UI (manual way) --- articles/LCPublicAPI/api/Public-API.v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 41e3e8b..504c4a6 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -30242,7 +30242,7 @@ }, "name": { "type": "string", - "description": "The name of the termbase entry template.", + "description": "
default
The name of the termbase entry template.
", "x-default-field": true } }, From 0fbcc70fc48aaa02a723868a86396546f10b68e4 Mon Sep 17 00:00:00 2001 From: anicolescu Date: Thu, 20 Aug 2026 10:48:19 +0300 Subject: [PATCH 5/5] extra "s" removed --- articles/LCPublicAPI/api/Public-API.v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index 504c4a6..7cba871 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -13833,7 +13833,7 @@ "operationId": "ListTranslationEngines" } }, - "/termbases/{termbaseId}/entry-templates": { + "/termbase/{termbaseId}/entry-templates": { "get": { "summary": "List Termbase Entry Templates", "operationId": "ListTermbaseEntryTemplates",