"scp/git@code.vereign.com:docker/osticket.git" did not exist on "32a35130175b483f5609bcf37f2fc7022f65d073"
Newer
Older
WopiAPI.prototype.getPassports = function (resourceID, contentType) {
const { publicKey, uuid, token, deviceHash } = window.viamApi.getConfig().headers;
url: `${window.WOPI_URL}getPassports`,
publicKey,
uuid,
token,
deviceHash,
resourceID: encodeURI(resourceID),
contentType: encodeURI(contentType)
WopiAPI.prototype.putDocument = function (resourceID, accessToken, file) {
const { publicKey, uuid, token, deviceHash } = window.viamApi.getConfig().headers;
resourceID = encodeURI(resourceID);
url: `${window.WOPI_URL}files/${resourceID}/contents`,
method: 'POST',
headers: {
publicKey,
uuid,
token,
deviceHash
},
params: {
access_token: accessToken
},
data: file
};
return axios(requestConfig);
};