entities rest api work