rest api revised
rest api revised (more)