REST development part 3.

Signed-off-by: salomao.marcos <salomao.marcos@gmail.com>