From 554a53ec55ad0cff6284d36eccff869146e929e6 Mon Sep 17 00:00:00 2001 From: ds-mwesener <124587888+ds-mwesener@users.noreply.github.com> Date: Fri, 19 Jul 2024 12:15:01 +0000 Subject: [PATCH] chore(release): updated OpenAPI spec --- docs/api/traceability-foss-backend.json | 2179 +++++++++++------------ 1 file changed, 1071 insertions(+), 1108 deletions(-) diff --git a/docs/api/traceability-foss-backend.json b/docs/api/traceability-foss-backend.json index fe750a2092..1e7563e2c9 100644 --- a/docs/api/traceability-foss-backend.json +++ b/docs/api/traceability-foss-backend.json @@ -31,18 +31,18 @@ "description": "The endpoint returns all policies .", "operationId": "policy", "responses": { - "200": { - "description": "Returns the policies", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IrsPolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -51,8 +51,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -61,8 +61,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -71,18 +71,18 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/IrsPolicyResponse" } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -91,8 +91,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -101,8 +101,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -138,16 +138,18 @@ "required": true }, "responses": { - "200": { - "description": "Update successful", + "401": { + "description": "Authorization failed.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -156,8 +158,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -166,8 +168,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -176,8 +178,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -186,8 +188,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -196,8 +198,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -206,13 +208,11 @@ } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Update successful", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } } @@ -243,8 +243,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -253,8 +253,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -263,8 +263,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -273,8 +273,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -283,18 +283,18 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CreatePolicyResponse" } } } }, - "415": { - "description": "Unsupported media type", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -303,18 +303,18 @@ } } }, - "200": { - "description": "Returns the policies", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -363,8 +363,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -373,8 +373,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -383,11 +383,8 @@ } } }, - "204": { - "description": "No content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -396,8 +393,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -406,8 +403,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -416,8 +416,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -426,8 +426,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -455,23 +455,18 @@ "description": "The endpoint returns a result of BPN EDC URL mappings.", "operationId": "getBpnEdcs", "responses": { - "200": { - "description": "Returns the paged result found", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -480,8 +475,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -490,8 +485,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -500,8 +495,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -510,8 +505,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -520,8 +515,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -530,12 +525,17 @@ } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Returns the paged result found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } @@ -572,23 +572,18 @@ "required": true }, "responses": { - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -597,8 +592,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -607,8 +602,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -617,8 +612,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -627,18 +622,23 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the paged result found for BpnEdcMapping", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -647,8 +647,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -689,23 +689,18 @@ "required": true }, "responses": { - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -714,9 +709,9 @@ } } }, - "404": { - "description": "Not found.", - "content": { + "500": { + "description": "Internal server error.", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" @@ -724,8 +719,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -734,8 +729,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -744,18 +739,23 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the paged result found for BpnEdcMapping", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -764,8 +764,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -803,8 +803,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -813,8 +813,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -823,28 +823,28 @@ } } }, - "200": { - "description": "Returns submodel payload", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "Returns submodel payload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "string" } } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -853,8 +853,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -863,8 +863,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -873,8 +873,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -920,8 +920,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -930,11 +930,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -943,8 +940,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -953,11 +950,8 @@ } } }, - "204": { - "description": "No Content." - }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -966,8 +960,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -976,8 +973,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -986,8 +983,11 @@ } } }, - "400": { - "description": "Bad request.", + "204": { + "description": "No Content." + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1025,8 +1025,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1035,8 +1035,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1045,8 +1045,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1055,8 +1055,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1065,8 +1065,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1075,8 +1075,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1095,8 +1095,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1145,8 +1145,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1155,8 +1155,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1165,11 +1165,8 @@ } } }, - "204": { - "description": "No content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1178,8 +1175,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1188,8 +1185,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1198,8 +1198,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1208,8 +1208,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1258,8 +1258,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1268,11 +1268,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1281,11 +1278,8 @@ } } }, - "204": { - "description": "No content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1294,8 +1288,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1304,8 +1298,14 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No content." + }, + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1314,8 +1314,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1324,8 +1324,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1364,8 +1364,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1374,11 +1374,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1387,11 +1384,8 @@ } } }, - "204": { - "description": "No content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1400,8 +1394,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1410,8 +1404,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1420,8 +1417,11 @@ } } }, - "415": { - "description": "Unsupported media type", + "204": { + "description": "No content." + }, + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1430,8 +1430,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1470,8 +1470,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1480,11 +1480,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1493,11 +1490,8 @@ } } }, - "204": { - "description": "No content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1506,8 +1500,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1516,8 +1510,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1526,8 +1523,11 @@ } } }, - "415": { - "description": "Unsupported media type", + "204": { + "description": "No content." + }, + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1536,8 +1536,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1575,8 +1575,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1585,8 +1585,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1595,23 +1595,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1620,18 +1615,23 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns searchable values for given fieldName.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1640,8 +1640,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1650,8 +1650,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1689,6 +1689,26 @@ "required": true }, "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "500": { "description": "Internal server error.", "content": { @@ -1699,8 +1719,8 @@ } } }, - "404": { - "description": "Not found.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1856,28 +1876,8 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1886,8 +1886,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1896,8 +1896,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1935,8 +1935,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1945,8 +1945,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1955,8 +1955,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1965,8 +1965,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1975,8 +1975,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1985,8 +1985,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2005,8 +2005,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2044,27 +2044,30 @@ "required": true }, "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "Ok.", "content": { "application/json": { "schema": { - "type": "string", - "example": { - "message": "Authorization failed." + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "description": "PageResults", + "items": { + "$ref": "#/components/schemas/PageResultContractResponse" } } } } }, - "404": { - "description": "Not found.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Not found." + "message": "Forbidden." } } } @@ -2083,69 +2086,66 @@ } } }, - "403": { - "description": "Forbidden.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Forbidden." + "message": "Too many requests." } } } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Too many requests." + "message": "Authorization failed." } } } } }, - "200": { - "description": "Ok.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "description": "PageResults", - "items": { - "$ref": "#/components/schemas/PageResultContractResponse" + "type": "string", + "example": { + "message": "Internal server error." } } } } }, - "500": { - "description": "Internal server error.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Internal server error." + "message": "Bad request." } } } } }, - "400": { - "description": "Bad request.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Bad request." + "message": "Not found." } } } @@ -2192,16 +2192,21 @@ "required": true }, "responses": { - "200": { - "description": "OK.", + "204": { + "description": "No Content." + }, + "401": { + "description": "Authorization failed.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2210,8 +2215,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2220,11 +2225,8 @@ } } }, - "204": { - "description": "No Content." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2233,18 +2235,16 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "OK.", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2253,8 +2253,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2263,8 +2263,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2310,8 +2310,11 @@ } }, "responses": { - "500": { - "description": "Internal server error.", + "204": { + "description": "No Content." + }, + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2320,8 +2323,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2330,21 +2333,18 @@ } } }, - "200": { - "description": "OK.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204": { - "description": "No Content." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2353,8 +2353,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2363,18 +2363,18 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportResponse" } } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2383,8 +2383,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2422,8 +2422,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2432,8 +2432,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2442,8 +2442,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2452,8 +2452,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2462,8 +2462,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2472,8 +2472,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2485,8 +2485,8 @@ "201": { "description": "Created." }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2525,8 +2525,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2535,8 +2535,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2545,23 +2545,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2570,18 +2565,23 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns searchable values for given fieldName.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2590,8 +2590,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2600,8 +2600,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2639,8 +2639,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2649,8 +2649,18 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2839,10 +2849,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -2851,18 +2857,8 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2871,8 +2867,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2881,8 +2877,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2891,8 +2887,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2930,8 +2926,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2940,8 +2936,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2950,8 +2946,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2960,8 +2956,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2970,8 +2966,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2980,8 +2976,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2993,8 +2989,8 @@ "201": { "description": "Created." }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3033,8 +3029,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -3043,8 +3039,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3053,23 +3049,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3078,18 +3069,23 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns searchable values for given fieldName.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3098,8 +3094,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -3108,8 +3104,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3147,8 +3143,8 @@ "required": true }, "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -3157,8 +3153,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3167,8 +3163,38 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -3357,10 +3383,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -3369,38 +3391,8 @@ } } }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3438,6 +3430,26 @@ } ], "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "500": { "description": "Internal server error.", "content": { @@ -3448,8 +3460,8 @@ } } }, - "404": { - "description": "Not found.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3634,10 +3646,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -3645,28 +3653,8 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3675,8 +3663,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -3685,8 +3673,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3732,6 +3720,66 @@ "required": true }, "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { "description": "Returns the updated asset", "content": { @@ -3908,10 +3956,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -3919,8 +3963,8 @@ } } }, - "500": { - "description": "Internal server error.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3928,9 +3972,38 @@ } } } - }, - "404": { - "description": "Not found.", + } + }, + "security": [ + { + "oAuth2": [ + "profile email" + ] + } + ] + } + }, + "/assets/as-built/{assetId}": { + "get": { + "tags": [ + "AssetsAsBuilt" + ], + "summary": "Get asset by id", + "description": "The endpoint returns an asset filtered by id .", + "operationId": "assetById_1", + "parameters": [ + { + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -3939,8 +4012,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3949,8 +4022,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -3969,8 +4042,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3988,38 +4061,9 @@ } } } - } - }, - "security": [ - { - "oAuth2": [ - "profile email" - ] - } - ] - } - }, - "/assets/as-built/{assetId}": { - "get": { - "tags": [ - "AssetsAsBuilt" - ], - "summary": "Get asset by id", - "description": "The endpoint returns an asset filtered by id .", - "operationId": "assetById_1", - "parameters": [ - { - "name": "assetId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "500": { - "description": "Internal server error.", + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4204,37 +4248,50 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } } } } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } + } + }, + "security": [ + { + "oAuth2": [ + "profile email" + ] + } + ] + }, + "patch": { + "tags": [ + "AssetsAsBuilt" + ], + "summary": "Updates asset", + "description": "The endpoint updates asset by provided quality type.", + "operationId": "updateAsset_1", + "parameters": [ + { + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } - }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAssetRequest" } } }, + "required": true + }, + "responses": { "401": { "description": "Authorization failed.", "content": { @@ -4245,8 +4302,8 @@ } } }, - "403": { - "description": "Forbidden.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4255,8 +4312,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4265,8 +4322,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4274,44 +4331,27 @@ } } } - } - }, - "security": [ - { - "oAuth2": [ - "profile email" - ] - } - ] - }, - "patch": { - "tags": [ - "AssetsAsBuilt" - ], - "summary": "Updates asset", - "description": "The endpoint updates asset by provided quality type.", - "operationId": "updateAsset_1", - "parameters": [ - { - "name": "assetId", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAssetRequest" + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "required": true - }, - "responses": { "200": { "description": "Returns the updated asset", "content": { @@ -4488,10 +4528,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -4499,26 +4535,6 @@ } } }, - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "429": { "description": "Too many requests.", "content": { @@ -4528,46 +4544,6 @@ } } } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "400": { - "description": "Bad request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -4588,8 +4564,8 @@ "description": "The endpoint Triggers reload of shell descriptors.", "operationId": "reload", "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4598,8 +4574,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4608,11 +4584,8 @@ } } }, - "202": { - "description": "Created registry reload job." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4621,8 +4594,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4631,8 +4604,11 @@ } } }, - "403": { - "description": "Forbidden.", + "202": { + "description": "Created registry reload job." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4641,8 +4617,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4651,8 +4627,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4690,18 +4666,18 @@ } ], "responses": { - "200": { - "description": "OK.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4710,8 +4686,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4720,8 +4696,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4730,18 +4706,18 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PolicyResponse" } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4750,8 +4726,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4760,8 +4736,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4797,8 +4773,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4807,16 +4783,18 @@ } } }, - "200": { - "description": "Deletion successful", + "415": { + "description": "Unsupported media type", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4825,18 +4803,16 @@ } } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "Deletion successful", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4845,8 +4821,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4855,8 +4831,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4865,8 +4841,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4905,8 +4881,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4915,23 +4891,18 @@ } } }, - "200": { - "description": "OK.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "type": "array", - "description": "Notifications", - "items": { - "$ref": "#/components/schemas/NotificationResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4940,8 +4911,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4950,18 +4921,23 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "type": "array", + "description": "Notifications", + "items": { + "$ref": "#/components/schemas/NotificationResponse" + } } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4970,8 +4946,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4980,8 +4956,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5009,8 +4985,8 @@ "description": "The endpoint can return limited data based on the user role", "operationId": "dashboard", "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -5019,8 +4995,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5029,18 +5005,18 @@ } } }, - "200": { - "description": "Returns dashboard data", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DashboardResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5049,18 +5025,18 @@ } } }, - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns dashboard data", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DashboardResponse" } } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -5069,8 +5045,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -5079,8 +5055,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5119,8 +5095,11 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "204": { + "description": "No Content." + }, + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -5129,8 +5108,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5139,11 +5118,8 @@ } } }, - "204": { - "description": "No Content." - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -5152,8 +5128,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5162,18 +5138,18 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportReportResponse" } } } }, - "415": { - "description": "Unsupported media type", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -5182,18 +5158,18 @@ } } }, - "200": { - "description": "OK.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportReportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5239,6 +5215,26 @@ } ], "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "500": { "description": "Internal server error.", "content": { @@ -5249,6 +5245,16 @@ } } }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -5429,10 +5435,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -5451,38 +5453,8 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -5491,8 +5463,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5530,26 +5502,6 @@ } ], "responses": { - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the asset by childId", "content": { @@ -5726,10 +5678,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -5737,8 +5685,8 @@ } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -5747,8 +5695,18 @@ } } }, - "401": { - "description": "Authorization failed.", + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -5767,8 +5725,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -5786,6 +5744,16 @@ } } } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -5814,16 +5782,76 @@ "$ref": "#/components/schemas/OwnPageable" } }, - { - "name": "searchCriteriaRequestParam", - "in": "query", - "required": true, - "schema": { - "$ref": "#/components/schemas/SearchCriteriaRequestParam" - } - } - ], - "responses": { + { + "name": "searchCriteriaRequestParam", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRequestParam" + } + } + ], + "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -6004,10 +6032,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -6016,26 +6040,6 @@ } } }, - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "429": { "description": "Too many requests.", "content": { @@ -6045,46 +6049,6 @@ } } } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "400": { - "description": "Bad request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -6105,23 +6069,18 @@ "description": "The endpoint returns a map for assets consumed by the map.", "operationId": "assetsCountryMap", "responses": { - "200": { - "description": "Returns the assets found", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6130,8 +6089,8 @@ } } }, - "404": { - "description": "Not found.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -6140,8 +6099,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6150,8 +6109,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6160,8 +6119,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6170,8 +6129,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6180,12 +6139,17 @@ } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Returns the assets found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } @@ -6219,6 +6183,26 @@ } ], "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "500": { "description": "Internal server error.", "content": { @@ -6229,8 +6213,8 @@ } } }, - "404": { - "description": "Not found.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6415,10 +6399,6 @@ "tombstone": { "type": "string", "example": " {\n \"catenaXId\": \"urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5\",\n \"endpointURL\": \"https://irs-provider-dataplane3.dev.demo.catena-x.net/api/public/data/urn:uuid:c7b3ea3d-97ea-41e4-960d-12fb166e1da1\",\n \"processingError\": {\n \"processStep\": \"SubmodelRequest\",\n \"errorDetail\": \"org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : \"{\"errors\":[]}\"\",\n \"lastAttempt\": \"2024-02-07T12:06:34.400493282Z\",\n \"retryCounter\": 0\n },\n \"policy\": null\n }\n" - }, - "contractAgreementId": { - "type": "string", - "example": "TODO" } } } @@ -6426,28 +6406,8 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6456,8 +6416,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6466,8 +6426,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6495,8 +6455,8 @@ "description": "Deletes all submodels from the system.", "operationId": "deleteSubmodels", "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -6505,11 +6465,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6518,8 +6475,8 @@ } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -6528,11 +6485,8 @@ } } }, - "204": { - "description": "No Content." - }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6541,8 +6495,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6551,8 +6508,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6561,8 +6518,11 @@ } } }, - "400": { - "description": "Bad request.", + "204": { + "description": "No Content." + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6600,8 +6560,8 @@ } ], "responses": { - "500": { - "description": "Internal server error.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -6610,8 +6570,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6620,11 +6580,8 @@ } } }, - "200": { - "description": "Okay" - }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -6633,8 +6590,8 @@ } } }, - "401": { - "description": "Authorization failed.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6643,8 +6600,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "Deleted." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6653,8 +6613,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6663,11 +6623,11 @@ } } }, - "204": { - "description": "Deleted." + "200": { + "description": "Okay" }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -7410,6 +7370,9 @@ "ASSET_AS_BUILT", "NOTIFICATION" ] + }, + "globalAssetId": { + "type": "string" } } },