Ronoco-vm API - Summarized documentation

The table below lists all the endpoints of ronoco-vm and their different possible behaviour

URLMethodBodyReturn CodeReturnDescription
/GET200{"Success": "Server is running"}
/shutdownGETShutdown flask server
/free/GET200{'compliant': 'True'}Robot is compliant
/free/GET200{'compliant': 'False'}Robot is not compliant
/free/POST{'compliant': 'True'}200{'compliant': 'True'}Robot has been set compliant
/free/POST{'compliant': 'False'}200{'compliant': 'False'}Robot has been set not compliant
/free/POSTNone or incorrect400Bad Request
/free/POST{'compliant' : 'Bool'}404Not FoundRobot is not alive
/point/add/simulationPOST{}408{"Error": "Rviz doesn't send response"}Rviz is not alive or very slow
/point/add/simulationPOST{}200{"Success" : "Add cartesian point with id: int"}A point has been recorded
/point/add/actualPOST{}408{"Error": "MoveIt doesn't send response"}MoveIt is not alive or very slow
/point/add/actualPOST{}200{"Success" : "Add cartesian point with id: int"}A point has been recorded
/point/getGET404{"Error": "No point have been recorded"}ros parameters server (on the name "cartesianPoints") is empty
/point/getGET200A json with all cartesian points
/point/get/idGET404{"Error": "No point have been recorded"}ros parameters server (on the name "cartesianPoints") doesn't contain point with this id
/point/get/idGET200A json with one point
/point/deletePOST{}200{"Success": "All points have been deleted"}All points have been cleared or database was empty
/point/delete/idPOST{}404{"Error": "No point match with id: int"ros parameters server (on the name "cartesianPoints") doesn't contain point with this id
/point/delete/idPOST{}200{"Success": "Point have been deleted"}Point has been deleted
/control/POSTan export of nodered tree200{"Success": "All behavior trees has been executed"}
/control/POSTNone400{"Error": "json is empty"}Can't evaluate an empty file
/control/POSTan export of nodered tree400{"Error": "json contains 0 valid roots"}Json is not empty but doesn't contain root block
/control/POSTan export of nodered tree400{"Error": "Tree with root id is incorrect"}Json contains a root block but associate tree is incorrect
/control/POSTan export of nodered tree400{"Error": "Block (or child of this block) with id is incorrect"}Json contains tree but one block is incorrect
/control/stopGET200{"Success": "Behavior tree has been stopped "}Current behavior tree is stopped