ExtractInfo
Return archive extraction progress
Changed onThis function returns progress information for an archive extraction that the ExtractInfo::start function began.
Note: When no run is active, the state return value is none and the other return values are 0 or null.
get/ExtractInfo/progress
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "progress",
"module": "ExtractInfo",
"result": {
"data": {
"currentBytes": 104857600,
"elapsedSeconds": 42,
"percent": 33.3,
"startedAtEpoch": 1750636800,
"state": "inprogress",
"totalBytes": 314572800
},
"status": 1
}
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - warning
added the new
0.00enum value to the/response property for the response status - warning
added the new
1.00enum value to the/response property for the response status - info
api operation id
progressremoved and replaced withExtractInfo-progress - info
added the optional property
/to the response with the status
- breaking