src/http-api.js
function() {
        const params = {
            access_token: this.opts.accessToken,
        };
        return {
            base: this.opts.baseUrl,
            path: "/_matrix/media/v1/upload",
            params: params,
        };
    }
function() {
        const params = {
            access_token: this.opts.accessToken,
        };
        return {
            base: this.opts.baseUrl,
            path: "/_matrix/media/v1/upload",
            params: params,
        };
    }
function ( ) { const params = { access_token : this . opts . accessToken , } ; return { base : this . opts . baseUrl , path : "/_matrix/media/v1/upload" , params : params , } ; }
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.
Get the content repository url with query parameters .