Add API call logmessages

This commit is contained in:
glax 2023-09-26 20:05:50 +02:00
parent 23f4f21bc2
commit 26ca5b078d

View File

@ -191,4 +191,10 @@ function RemoveJob(jobId){
function CancelJob(jobId){ function CancelJob(jobId){
var uri = `${apiUri}/Jobs/Cancel?jobId=${jobId}`; var uri = `${apiUri}/Jobs/Cancel?jobId=${jobId}`;
PostData(uri); PostData(uri);
}
async function GetLogmessages(count){
var uri = `${apiUri}/LogMessages?count=${count}`;
let json = await GetData(uri);
return json;
} }