restapi: fix build break

Fix compilation error introduced by
ced96c948c538fe5674528e54c8a1f754446a4d0

Change-Id: Ib8470ebbc6b8afe515f51d4c9ae235d796445e4c
Signed-off-by: Allon Mureinik <amureini@redhat.com>