You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 497c60d
Browse filesBrowse the repository at this point in the historyBrowse files
Extending extract functionlity for volumes to allow download. The
extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one
the user would provide the ftp url where the entity needs to be uploaded and in
the later the user would be provided a HTTP URL where from he/she can download
the entity. This url would be exposed for a specific time limit and would not
function after the time limit
Copy file name to clipboardExpand all lines: server/src/com/cloud/api/response/ExtractResponse.java
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ public class ExtractResponse extends BaseResponse {
29
29
@SerializedName("name") @Param(description="the name of the extracted object")
30
30
privateStringname;
31
31
32
-
@SerializedName("uploadId") @Param(description="the upload id of extracted object")
32
+
@SerializedName("extractId") @Param(description="the upload id of extracted object")
33
33
privateLonguploadId;
34
34
35
35
@SerializedName("uploadpercentage") @Param(description="the percentage of the entity uploaded to the specified location")
36
36
privateIntegeruploadPercent;
37
37
38
-
@SerializedName("status") @Param(description="the status of the ")
38
+
@SerializedName("status") @Param(description="the status of the extraction")
39
39
privateStringstatus;
40
40
41
41
@SerializedName("accountid") @Param(description="the account id to which the extracted object belongs")
@@ -68,8 +68,20 @@ public class ExtractResponse extends BaseResponse {
68
68
privateStringmode;
69
69
70
70
@SerializedName("url") @Param(description="if mode = upload then url of the uploaded entity. if mode = download the url from which the entity can be downloaded")
0 commit comments