X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fapi%2Fecs-api.json;h=7da2270b6ebae0fcda5749d8567b92506b898a44;hb=f1cee0f81c6bc482f73182c8f4c903e8376381e8;hp=b2d800bd6903bbe2b3135973e58ebe92117b4ce9;hpb=366bc97828bf62e39a41318c1407a2c7c8cb5b74;p=nonrtric.git diff --git a/enrichment-coordinator-service/api/ecs-api.json b/enrichment-coordinator-service/api/ecs-api.json index b2d800bd..7da2270b 100644 --- a/enrichment-coordinator-service/api/ecs-api.json +++ b/enrichment-coordinator-service/api/ecs-api.json @@ -208,10 +208,16 @@ "description": "Information for an Information Type", "type": "object", "required": ["info_job_data_schema"], - "properties": {"info_job_data_schema": { - "description": "Json schema for the job data", - "type": "object" - }} + "properties": { + "info_type_information": { + "description": "Type specific information for the information type", + "type": "object" + }, + "info_job_data_schema": { + "description": "Json schema for the job data", + "type": "object" + } + } }, "producer_info_job_request": { "description": "The body of the Information Producer callbacks for Information Job creation and deletion", @@ -415,7 +421,7 @@ "description": "Information type is not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} }, - "406": { + "409": { "description": "The Information type has one or several active producers", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } @@ -445,7 +451,7 @@ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, "400": { - "description": "Bad request", + "description": "Input validation failed", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, @@ -629,8 +635,12 @@ "description": "Producer created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, + "400": { + "description": "Input validation failed", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, "404": { - "description": "Producer not found", + "description": "Producer type not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, @@ -735,9 +745,17 @@ "description": "Job created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, + "400": { + "description": "Input validation failed", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, "404": { "description": "Enrichment Information type is not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, + "409": { + "description": "Cannot modify job type", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, "parameters": [{ @@ -848,9 +866,17 @@ "description": "Job created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, + "400": { + "description": "Input validation failed", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, "404": { "description": "Information type is not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, + "409": { + "description": "Cannot modify job type", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, "parameters": [