- fixes and improvements to the REST API interface