restapi fix

Merged armin requested to merge fixRestApi into master

Merge request reports