[rest] added state machines to README.md