Adds REST API for all entitytypes