New API-Call: StartJobNow

This commit is contained in:
glax 2023-08-31 13:12:20 +02:00
parent 5968dacf72
commit 50d93d4631

View File

@ -124,6 +124,11 @@ function CreateDownloadNewChaptersJob(connector, internalId){
PostData(uri);
}
function StartJob(jobId){
var uri = `${apiUri}/Jobs/StartNow?jobId=${jobId}`;
PostData(uri);
}
function UpdateDownloadLocation(downloadLocation){
var uri = `${apiUri}/Settings/UpdateDownloadLocation?downloadLocation=${downloadLocation}`;
PostData(uri);