simplify
amend api url