Currently the Robot Framework plugin REST API returns a response for the RobotResult model
It would be useful for the response to include
The failedCases is obtained from the RobotResult.getAllFailedCases() method, which returns List<RobotCaseResult>, which is iterated through and the RobotCaseResult.getName() and RobotCaseResult.getParent() methods are used to create the List<String> failedCases
The RobotResult.getAllCases() also returns List<RobotCaseResult> and similarly, the List<String> passedCases and List<String> skippedCases could be created with the getName() + getParent().
Each RobotCaseResult would be checked with .isPassed() or isSkipped() for their respective List<String>
The last work done for the failedCases value https://github.com/jenkinsci/robot-plugin/pull/24/files#diff-a4d1d7fb1980ff4c5825099d9be03cd49f2fd1bcf5f8621926764468315064c2