Limit exposed entities for RestAPI

Hi,

it would be great if we could limit the exposed entities to the restful API.

Thanks,
Dennis