diff --git a/kudu/package.json b/kudu/package.json index 17e4d11e83..f228d704cc 100644 --- a/kudu/package.json +++ b/kudu/package.json @@ -1,7 +1,7 @@ { "name": "vscode-azurekudu", "author": "Microsoft Corporation", - "version": "0.1.1", + "version": "0.1.2", "description": "Client used to interact with Kudu.", "tags": [ "azure", diff --git a/kudu/swagger.json b/kudu/swagger.json index 71c304f1b1..96e1b6c0d1 100644 --- a/kudu/swagger.json +++ b/kudu/swagger.json @@ -142,7 +142,13 @@ "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/DeployResult" + } + }, + "202": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeployResult" } } } @@ -219,7 +225,13 @@ "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/DeployResult" + } + }, + "202": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeployResult" } } } @@ -5501,10 +5513,7 @@ "consumes": [ "multipart/form-data" ], - "produces": [ - "application/json", - "text/json" - ], + "produces": [], "parameters": [ { "name": "file", @@ -5523,10 +5532,10 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "type": "object" - } + "description": "No Content" + }, + "202": { + "description": "No Content" } } } @@ -6898,6 +6907,80 @@ } } }, + "DeployResult": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "status": { + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "type": "integer" + }, + "status_text": { + "type": "string" + }, + "author_email": { + "type": "string" + }, + "author": { + "type": "string" + }, + "deployer": { + "type": "string" + }, + "message": { + "type": "string" + }, + "progress": { + "type": "string" + }, + "received_time": { + "format": "date-time", + "type": "string" + }, + "start_time": { + "format": "date-time", + "type": "string" + }, + "end_time": { + "format": "date-time", + "type": "string" + }, + "last_success_end_time": { + "format": "date-time", + "type": "string" + }, + "complete": { + "type": "boolean" + }, + "active": { + "type": "boolean" + }, + "is_temp": { + "type": "boolean" + }, + "is_readonly": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "log_url": { + "type": "string" + }, + "site_name": { + "type": "string" + } + } + }, "DiagnosticsSettings": { "type": "object", "properties": {