Feature/rest actions

I'd propose some tests to sort this »don't know if it works« challange out ;)