Newer
Older
WopiAPI.prototype.getPassports = function (fileID) {
const [protocol, host] = window.API_HOST.split(':');
let url = `${protocol}:${host}${window.WOPI_URI_PREFIX}`;
url = url.charAt(url.length - 1) === "/" ? url : url + "/";
url += 'getPassports';
publicKey: window.viamApi.getConfig().headers.publicKey,
uuid: window.viamApi.getConfig().headers.uuid,
token: window.viamApi.getConfig().headers.token,
deviceHash: window.viamApi.getConfig().headers.deviceHash,
userAgent: window.viamApi.getConfig().headers.userAgent,
fileID