restful api for everything