X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fswagger%2Fvfc.others.swagger.json;h=16d70c0b1443d19a22297a77693d41f43bd5ce61;hb=a252316231bcf6c9f5669084a1b8e838dd46846f;hp=9be74901807256fccbc22bb98df99ef1ba03480b;hpb=9c3f78942507bfebaca73c9a9c363198d52742e8;p=vfc%2Fnfvo%2Flcm.git diff --git a/lcm/swagger/vfc.others.swagger.json b/lcm/swagger/vfc.others.swagger.json index 9be74901..16d70c0b 100644 --- a/lcm/swagger/vfc.others.swagger.json +++ b/lcm/swagger/vfc.others.swagger.json @@ -41,74 +41,49 @@ "responses": { "202": { "description": "" + }, + "404": { + "description": "URL not found" } } } }, - "/mandb/{modelName}": { - "get": { - "tags": [ - "db" - ], - "summary": "query ns table info", - "description": "query ns table info", - "operationId": "query_ns_table", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "required": true, - "type": "string", - "description": "model Name.", - "name": "modelName", - "in": "path" - } - ], - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/TableInfo" - } - }, - "500": { - "description": "the url is invalid" - } - } - }, - "delete": { - "tags": [ - "db" - ], - "summary": "ns table delete", - "description": "ns table delete", - "operationId": "ns_table_delete", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "required": true, - "type": "string", - "description": "model Name.", - "name": "modelName", - "in": "path" - } - ], - "responses": { - "204": { - "description": "The tables were deleted successfully." - } + "/jobs/{jobId}": { + "post": { + "tags": [ + "job" + ], + "summary": "jobstatus", + "description": "", + "operationId": "post_jobprogress", + "parameters": [ + { + "required": true, + "type": "string", + "description": "", + "name": "jobId", + "in": "path" + }, + { + "in": "body", + "name": "body", + "description": "request param", + "required": true, + "schema": { + "$ref": "#/definitions/JobProgressRequest" } + } + ], + "responses": { + "202": { + "description": "" + }, + "404": { + "description": "URL not found" + } } } + } }, "definitions": { @@ -120,16 +95,19 @@ } } }, - - - - "TableInfo": { - "type": "object", - "properties": { - "count": { - "type": "string" - } + "JobProgressRequest": { + "type": "object", + "properties": { + "progress": { + "type": "string" + }, + "desc": { + "type": "string" + }, + "errcode": { + "type": "string" } + } } } } \ No newline at end of file