[frontend] REST API [WIP]