Mods to create api doc
Add in the success path too