}\r
}\r
}\r
- }\r
+ },\r
+ "/jobs/{jobId}": {\r
+ "get": {\r
+ "tags": [\r
+ "job"\r
+ ],\r
+ "summary": "jobstatus",\r
+ "description": "",\r
+ "operationId": "get_jobstatus",\r
+ "parameters": [\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "job Id",\r
+ "name": "jobId",\r
+ "in": "path"\r
+ },\r
+ {\r
+ "required": true,\r
+ "type": "string",\r
+ "description": "job response message id",\r
+ "name": "responseId",\r
+ "in": "query"\r
+ }\r
+ ],\r
+ "responses": {\r
+ "202": {\r
+ "description": "",\r
+ "schema": {\r
+ "$ref": "#/definitions/JobDetailInfo"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
},\r
"definitions": {\r
"NsPkgDistributeRequest": {\r
"description": "csar model json data"\r
}\r
}\r
+ },\r
+ "jobResponseInfo": {\r
+ "type": "object",\r
+ "properties": {\r
+ "status": {\r
+ "type": "string"\r
+ },\r
+ "progress":{\r
+ "type": "string"\r
+ },\r
+ "statusDescription": {\r
+ "type": "string"\r
+ },\r
+ "errorCode": {\r
+ "type": "string"\r
+ },\r
+ "responseId": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
+ "JobDetailInfo":{\r
+ "type": "object",\r
+ "properties": {\r
+ "jobId": {\r
+ "type": "string"\r
+ },\r
+ "responseDescriptor":\r
+ {\r
+ "type":"object",\r
+ "properties": {\r
+ "status": {\r
+ "type": "string"\r
+ },\r
+ "progress":{\r
+ "type": "string"\r
+ },\r
+ "statusDescription": {\r
+ "type": "string"\r
+ },\r
+ "errorCode": {\r
+ "type": "string"\r
+ },\r
+ "responseId": {\r
+ "type": "string"\r
+ },\r
+ "responseHistoryList": {\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/jobResponseInfo"\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
}\r
-\r
}\r
}
\ No newline at end of file