docs for api and edit_api fixed