[TASK] Add a REST API for actions