Checking the Export State

After receiving the export ID, you can check the state of the export operation.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/rest_v2/export/<export-id>/state

Return Value on Success

Typical Return Values on Failure

200 OK – Returns a JSON object that gives the current state of the export operation.

404 Not Found – When the specified export ID is not found.

The body of the response contains the current state of the export operation:

{
  phase: "inprogress",
  message: "Progress..."
}
{
  phase: "ready",
  message: "Ready!"
}
{
  phase: "failure",
  message: "Not enough space on 
            disk"
}

Version: 
Feedback
randomness