diff --git a/docs/api/traceability-foss-backend.json b/docs/api/traceability-foss-backend.json index 2e9cb075b2..7e555dea0d 100644 --- a/docs/api/traceability-foss-backend.json +++ b/docs/api/traceability-foss-backend.json @@ -41,8 +41,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -51,8 +51,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -61,8 +61,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -71,8 +71,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -81,28 +81,28 @@ } } }, - "200": { - "description": "Returns the policies", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IrsPolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/IrsPolicyResponse" } } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -148,8 +148,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -158,8 +158,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -168,26 +168,26 @@ } } }, - "200": { - "description": "Update successful", + "429": { + "description": "Too many requests.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "404": { - "description": "Not found.", + "200": { + "description": "Update successful", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -196,8 +196,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -206,8 +206,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -253,8 +253,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -263,8 +263,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -283,8 +283,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -293,8 +293,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -303,8 +303,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -313,8 +313,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -373,8 +373,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -383,8 +383,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -396,8 +396,8 @@ "204": { "description": "No content." }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -406,8 +406,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -416,8 +416,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -426,8 +426,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -455,18 +455,23 @@ "description": "The endpoint returns a result of BPN EDC URL mappings.", "operationId": "getBpnEdcs", "responses": { - "401": { - "description": "Authorization failed.", + "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" + } } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -505,23 +510,18 @@ } } }, - "200": { - "description": "Returns the paged result found", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -530,8 +530,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -572,18 +572,23 @@ "required": true }, "responses": { - "401": { - "description": "Authorization failed.", + "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", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -602,23 +607,18 @@ } } }, - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -627,8 +627,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -637,8 +637,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -647,8 +647,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -689,18 +689,23 @@ "required": true }, "responses": { - "401": { - "description": "Authorization failed.", + "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", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -719,23 +724,18 @@ } } }, - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -744,8 +744,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -754,8 +754,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -764,8 +764,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -813,8 +813,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -823,8 +823,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -833,12 +833,12 @@ } } }, - "404": { - "description": "Not found.", + "200": { + "description": "Returns submodel payload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "string" } } } @@ -853,18 +853,18 @@ } } }, - "200": { - "description": "Returns submodel payload", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -873,8 +873,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -930,16 +930,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -976,8 +966,8 @@ "204": { "description": "No Content." }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -995,6 +985,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -1035,8 +1035,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1045,8 +1045,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1055,8 +1055,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1065,8 +1065,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1085,8 +1085,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1095,8 +1095,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1120,9 +1120,9 @@ "tags": [ "Notifications" ], - "summary": "Update notification by id", - "description": "The endpoint updates notification by their id.", - "operationId": "updateNotification_1", + "summary": "Update notification status by id", + "description": "The endpoint updates the notification status by their id.", + "operationId": "updateNotificationStatus", "parameters": [ { "name": "notificationId", @@ -1155,8 +1155,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1165,8 +1165,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1178,8 +1178,8 @@ "204": { "description": "No content." }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1188,8 +1188,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1198,8 +1198,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1208,8 +1208,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1268,16 +1268,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -1291,9 +1281,6 @@ "200": { "description": "Ok." }, - "204": { - "description": "No content." - }, "404": { "description": "Not found.", "content": { @@ -1304,6 +1291,9 @@ } } }, + "204": { + "description": "No content." + }, "429": { "description": "Too many requests.", "content": { @@ -1314,8 +1304,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1333,6 +1323,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -1374,16 +1374,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -1407,9 +1397,6 @@ } } }, - "204": { - "description": "No content." - }, "429": { "description": "Too many requests.", "content": { @@ -1420,8 +1407,11 @@ } } }, - "400": { - "description": "Bad request.", + "204": { + "description": "No content." + }, + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1439,6 +1429,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -1480,16 +1480,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -1513,9 +1503,6 @@ } } }, - "204": { - "description": "No content." - }, "429": { "description": "Too many requests.", "content": { @@ -1526,8 +1513,11 @@ } } }, - "400": { - "description": "Bad request.", + "204": { + "description": "No content." + }, + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1545,6 +1535,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -1585,8 +1585,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1595,8 +1595,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1605,8 +1605,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1615,23 +1615,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "415": { + "description": "Unsupported media type", "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": { @@ -1640,18 +1635,23 @@ } } }, - "400": { - "description": "Bad request.", + "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.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -1828,26 +1828,16 @@ "type": "array", "items": { "$ref": "#/components/schemas/NotificationMessageResponse" - } - } - } - } - } - } - } - }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -1886,8 +1876,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1905,6 +1895,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -1945,8 +1945,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -1955,8 +1955,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1965,8 +1965,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1975,8 +1975,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -1995,8 +1995,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2005,8 +2005,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2044,40 +2044,40 @@ "required": true }, "responses": { - "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.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Bad request." + "message": "Forbidden." } } } } }, - "401": { - "description": "Authorization failed.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Authorization failed." + "message": "Internal server error." } } } @@ -2099,40 +2099,40 @@ } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Too many requests." + "message": "Authorization failed." } } } } }, - "403": { - "description": "Forbidden.", + "415": { + "description": "Unsupported media type.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Forbidden." + "message": "Unsupported media type." } } } } }, - "415": { - "description": "Unsupported media type.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Unsupported media type." + "message": "Too many requests." } } } @@ -2192,6 +2192,9 @@ "required": true }, "responses": { + "204": { + "description": "No Content." + }, "401": { "description": "Authorization failed.", "content": { @@ -2202,8 +2205,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2212,8 +2215,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2222,11 +2225,8 @@ } } }, - "204": { - "description": "No Content." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2235,8 +2235,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2245,11 +2245,13 @@ } } }, - "200": { - "description": "OK.", + "403": { + "description": "Forbidden.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, @@ -2263,13 +2265,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "OK.", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } } @@ -2310,18 +2310,21 @@ } }, "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportResponse" } } } }, - "415": { - "description": "Unsupported media type", + "204": { + "description": "No Content." + }, + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -2340,9 +2343,6 @@ } } }, - "204": { - "description": "No Content." - }, "404": { "description": "Not found.", "content": { @@ -2363,8 +2363,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2383,12 +2383,12 @@ } } }, - "200": { - "description": "OK.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2432,8 +2432,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2442,8 +2442,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2452,8 +2452,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2462,8 +2462,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2475,8 +2475,8 @@ "201": { "description": "Created." }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2485,8 +2485,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2535,8 +2535,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2545,8 +2545,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2555,8 +2555,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2565,23 +2565,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "415": { + "description": "Unsupported media type", "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": { @@ -2590,18 +2585,23 @@ } } }, - "400": { - "description": "Bad request.", + "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.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -2639,36 +2639,6 @@ "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" - } - } - } - }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -2857,6 +2827,26 @@ } } }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "404": { "description": "Not found.", "content": { @@ -2877,8 +2867,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2896,6 +2886,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -2936,8 +2936,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -2946,8 +2946,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2956,8 +2956,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2966,8 +2966,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -2979,8 +2979,8 @@ "201": { "description": "Created." }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2989,8 +2989,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -3039,8 +3039,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -3049,8 +3049,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3059,8 +3059,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3069,23 +3069,18 @@ } } }, - "200": { - "description": "Returns searchable values for given fieldName.", + "415": { + "description": "Unsupported media type", "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": { @@ -3094,18 +3089,23 @@ } } }, - "400": { - "description": "Bad request.", + "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.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -3153,16 +3153,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -3183,16 +3173,6 @@ } } }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -3381,8 +3361,18 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3400,6 +3390,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -3440,8 +3440,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -3450,8 +3450,18 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3643,8 +3653,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3653,8 +3663,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3672,16 +3682,6 @@ } } } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -3730,8 +3730,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -3740,8 +3740,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3933,8 +3933,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3943,8 +3943,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -3953,8 +3953,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3963,8 +3963,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4012,16 +4012,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -4235,8 +4225,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4254,6 +4244,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4277,51 +4277,21 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAssetRequest" - } - } - }, - "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" - } + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAssetRequest" } } }, + "required": true + }, + "responses": { "200": { "description": "Returns the updated asset", "content": { @@ -4505,6 +4475,26 @@ } } }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "404": { "description": "Not found.", "content": { @@ -4525,8 +4515,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4544,6 +4534,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4574,8 +4574,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4584,8 +4584,8 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4597,8 +4597,8 @@ "202": { "description": "Created registry reload job." }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4607,8 +4607,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4617,8 +4617,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4627,8 +4627,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4666,16 +4666,6 @@ } ], "responses": { - "200": { - "description": "OK.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PolicyResponse" - } - } - } - }, "401": { "description": "Authorization failed.", "content": { @@ -4686,8 +4676,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4696,12 +4686,12 @@ } } }, - "500": { - "description": "Internal server error.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PolicyResponse" } } } @@ -4726,8 +4716,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4745,6 +4735,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4773,18 +4773,16 @@ } ], "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "Deletion successful", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4803,14 +4801,6 @@ } } }, - "200": { - "description": "Deletion successful", - "content": { - "application/json": { - - } - } - }, "404": { "description": "Not found.", "content": { @@ -4831,8 +4821,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4850,6 +4840,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4891,16 +4891,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -4946,8 +4936,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4965,6 +4955,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4985,16 +4985,6 @@ "description": "The endpoint can return limited data based on the user role", "operationId": "dashboard", "responses": { - "200": { - "description": "Returns dashboard data", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DashboardResponse" - } - } - } - }, "401": { "description": "Authorization failed.", "content": { @@ -5005,8 +4995,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -5015,12 +5005,12 @@ } } }, - "500": { - "description": "Internal server error.", + "200": { + "description": "Returns dashboard data", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DashboardResponse" } } } @@ -5045,8 +5035,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5064,6 +5054,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -5095,18 +5095,21 @@ } ], "responses": { - "401": { - "description": "Authorization failed.", + "204": { + "description": "No Content." + }, + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportReportResponse" } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -5125,21 +5128,18 @@ } } }, - "200": { - "description": "OK.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportReportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204": { - "description": "No Content." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5148,8 +5148,8 @@ } } }, - "429": { - "description": "Too many requests.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5158,8 +5158,8 @@ } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5168,8 +5168,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -5225,16 +5225,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -5245,18 +5235,8 @@ } } }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Too many requests.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -5453,8 +5433,18 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5472,6 +5462,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -5512,8 +5512,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -5522,8 +5522,18 @@ } } }, - "500": { - "description": "Internal server error.", + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5715,8 +5725,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5725,8 +5735,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5744,16 +5754,6 @@ } } } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -5792,46 +5792,6 @@ } ], "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" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -6020,6 +5980,36 @@ } } }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "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": { @@ -6030,8 +6020,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6049,6 +6039,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -6069,18 +6069,23 @@ "description": "The endpoint returns a map for assets consumed by the map.", "operationId": "assetsCountryMap", "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns the assets found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -6119,23 +6124,18 @@ } } }, - "200": { - "description": "Returns the assets found", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6144,8 +6144,8 @@ } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6376,16 +6376,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -6416,8 +6406,8 @@ } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6435,6 +6425,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -6465,16 +6465,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -6511,8 +6501,8 @@ "204": { "description": "No Content." }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6530,6 +6520,16 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -6570,16 +6570,6 @@ } } }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "500": { "description": "Internal server error.", "content": { @@ -6613,8 +6603,11 @@ } } }, - "400": { - "description": "Bad request.", + "204": { + "description": "Deleted." + }, + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -6633,8 +6626,15 @@ } } }, - "204": { - "description": "Deleted." + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [