code: function apiUrl({ withTenant, apiBaseUrl, apiDomain, tenant, withFeed, feed }) {
    let result = withTenant
      ? `https://${tenant || 'www'}.${apiDomain}`
      : apiBaseUrl
    if (withFeed) {
      result += `/F/${feed}/api/v3`
    }
    return result
  }
docs: /*
  Construct the URL for an individual request.
  
  `apiBaseUrl`, `apiDomain`, `withTenant` and `withFeed` come from the service
  configuration. When `withTenant` and `withFeed` are false, return
  `apiBaseUrl` for every request.
  
  When `withTenant` and/or `withFeed` are true, `tenant` and `feed` come from the
  request, and this returns a different URL for each request.
  
  In practice, `withTenant` and `withFeed` are used together, for MyGet.