rest api for backbone