From 8050fc9cde35f3c92841aa49456205d7f6b832a8 Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 13 Jun 2025 08:15:47 +0200 Subject: [PATCH] ODM-12620 updated description for the linkage endpoints. Removed code 204 from the description for endpoints, which do not return this code. --- openapi/v1/integrationCurator.yaml | 18 +++++------------- openapi/v1/odmApi.yaml | 23 ++++++++++------------- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/openapi/v1/integrationCurator.yaml b/openapi/v1/integrationCurator.yaml index 7830d88e..0ffb4d2a 100644 --- a/openapi/v1/integrationCurator.yaml +++ b/openapi/v1/integrationCurator.yaml @@ -740,11 +740,7 @@ paths: responses: "200": content: {} - description: Not all signal data were linked to the samples. - "204": - content: {} - description: All signal data were linked to the samples from the specified - sample group. + description: Returned both for partial and full linking. A short message body is included indicating status. "400": content: {} description: "Sample group, signal group or samples to the link were not\ @@ -1456,11 +1452,7 @@ paths: responses: "200": content: {} - description: Not all signal data were linked to the samples. - "204": - content: {} - description: All signal data were linked to the samples from the specified - sample group. + description: Returned both for partial and full linking. A short message body is included indicating status. "401": content: {} description: |- @@ -1927,7 +1919,7 @@ paths: responses: "204": content: {} - description: Link created. + description: Returned both for partial and full linking. No content body is provided in either case. "400": content: {} description: Link cannot be created. @@ -2261,7 +2253,7 @@ paths: responses: "204": content: {} - description: Link created. + description: Returned both for partial and full linking. No content body is provided in either case. "400": content: {} description: Link cannot be created. @@ -3914,7 +3906,7 @@ paths: responses: "200": content: {} - description: Not all signal data were linked to the samples. + description: Returned both for partial and full linking. A short message body is included indicating status. "204": content: {} description: All signal data were linked to the samples from the specified diff --git a/openapi/v1/odmApi.yaml b/openapi/v1/odmApi.yaml index 638f6879..4203b56d 100644 --- a/openapi/v1/odmApi.yaml +++ b/openapi/v1/odmApi.yaml @@ -4058,11 +4058,8 @@ paths: responses: "200": content: {} - description: "Not all signal data were linked to the samples." - "204": - content: {} - description: "All signal data were linked to the samples from the specified\ - \ sample group." + description: "Returned both for partial and full linking. A short message\ + \ body is included indicating status." "400": content: {} description: "Sample group, signal group or samples to the link were not\ @@ -4816,11 +4813,8 @@ paths: responses: "200": content: {} - description: "Not all signal data were linked to the samples." - "204": - content: {} - description: "All signal data were linked to the samples from the specified\ - \ sample group." + description: "Returned both for partial and full linking. A short message\ + \ body is included indicating status." "401": content: {} description: "User is not authenticated. Please supply a valid Access Token\ @@ -5311,7 +5305,8 @@ paths: responses: "204": content: {} - description: "Link created." + description: "Returned both for partial and full linking. No content body\ + \ is provided in either case." "400": content: {} description: "Link cannot be created." @@ -5654,7 +5649,8 @@ paths: responses: "204": content: {} - description: "Link created." + description: "Returned both for partial and full linking. No content body\ + \ is provided in either case." "400": content: {} description: "Link cannot be created." @@ -7426,7 +7422,8 @@ paths: responses: "200": content: {} - description: "Not all signal data were linked to the samples." + description: "Returned both for partial and full linking. A short message\ + \ body is included indicating status." "204": content: {} description: "All signal data were linked to the samples from the specified\