Upgrade SAPI URLs to v1. Centralise config of SAPI URLs.