Add API call logmessages
This commit is contained in:
parent
23f4f21bc2
commit
26ca5b078d
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user