Fix workflow definition and rest URLs.