code: function() {
          const params = {
              access_token: this.opts.accessToken,
          };
          return {
              base: this.opts.baseUrl,
              path: "/_matrix/media/v1/upload",
              params: params,
          };
      }
docs: Get the content repository url with query parameters.
  @return {Object} An object with a 'base', 'path' and 'params' for base URL,
  path and query parameters respectively.