Request api docs fixing function endings