+++ /dev/null
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0",
- "title": "ONAP VFC Service Internal Rest API"
- },
- "basePath": "/api/nslcm/v1",
- "paths": {
- "/ns/{nsInstanceId}/postdeal": {
- "post": {
- "tags": [
- "postdeal"
- ],
- "summary": "ns postdeal",
- "description": "",
- "operationId": "ns_postdeal",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "required": true,
- "type": "string",
- "description": "",
- "name": "nsInstanceId",
- "in": "path"
- },
- {
- "in": "body",
- "name": "body",
- "description": "request param",
- "required": true,
- "schema": {
- "$ref": "#/definitions/NSInstPostDetailRequest"
- }
- }
- ],
- "responses": {
- "202": {
- "description": ""
- },
- "404": {
- "description": "URL not found"
- }
- }
- }
- },
- "/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": {
-
- "NSInstPostDetailRequest": {
- "type": "object",
- "properties": {
- "status": {
- "type": "string"
- }
- }
- },
- "JobProgressRequest": {
- "type": "object",
- "properties": {
- "progress": {
- "type": "string"
- },
- "desc": {
- "type": "string"
- },
- "errcode": {
- "type": "string"
- }
- }
- }
- }
-}
\ No newline at end of file