X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fapi.json;h=a4ea2edf8480c54d677bb3c809d6794d5a806243;hb=37fa97b64c288953ef7ad161d62c999126495352;hp=3a47572257ce32d62f7da09460f033917af4113f;hpb=34a30b0b34f863b103c55900c93408323298bdcc;p=portal%2Fnonrtric-controlpanel.git diff --git a/docs/api.json b/docs/api.json index 3a47572..a4ea2ed 100644 --- a/docs/api.json +++ b/docs/api.json @@ -45,10 +45,7 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ei_job_request" - } + "type": "string" } }, "401": { @@ -78,10 +75,7 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ei_producer" - } + "type": "string" } }, "401": { @@ -381,64 +375,5 @@ "deprecated": false } } - }, - "definitions": { - "ei_job_request": { - "type": "object", - "required": [ - "ei_job_identity" - ], - "properties": { - "ei_job_data": { - "type": "object", - "description": "Json for the job data" - }, - "ei_job_identity": { - "type": "string", - "description": "Identity of the EI job" - }, - "ei_type_identity": { - "type": "string", - "description": "Type identity for the job" - }, - "owner": { - "type": "string", - "description": "The owner of the job" - }, - "target_uri": { - "type": "string", - "description": "URI for the target of the EI" - } - }, - "title": "ei_job_request", - "description": "The EI job" - }, - "ei_producer": { - "type": "object", - "required": [ - "ei_producer_id", - "ei_producer_types", - "status" - ], - "properties": { - "ei_producer_id": { - "type": "string", - "description": "Idenitity of the EI producer" - }, - "ei_producer_types": { - "type": "array", - "description": "Types provided by the EI producer", - "items": { - "type": "string" - } - }, - "status": { - "type": "string", - "description": "Status of the EI producer" - } - }, - "title": "ei_producer", - "description": "The EI producer" - } } }