restapi : Facilitate accept-type specification as query param

Facilitate accept-type specification as query param

Change-Id: I54a2d8d57b09df126f1d7b1b3824fa41cda7e64d
Signed-off-by: Anmol Babu <anbabu@redhat.com>