X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fapi.json;h=a4ea2edf8480c54d677bb3c809d6794d5a806243;hb=37fa97b64c288953ef7ad161d62c999126495352;hp=53e1a2f48dc6fc03e517d36c205b0da40749f6b7;hpb=79210b341093833b4d8cd432937fc1b87fa03107;p=portal%2Fnonrtric-controlpanel.git diff --git a/docs/api.json b/docs/api.json index 53e1a2f..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": { @@ -141,7 +135,7 @@ "tags": [ "policy-controller" ], - "summary": "Returns a policy instance of a type", + "summary": "Returns a policy instance", "operationId": "getPolicyInstanceUsingGET", "produces": [ "application/json" @@ -153,13 +147,6 @@ "description": "policy_instance_id", "required": true, "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "type", - "required": true, - "type": "string" } ], "responses": { @@ -388,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" - } } }