fixed broken api endpoints

Signed-off-by: aditya <dev@chimeracoder.net>