Skip to content

JobsApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
deleteJobDELETE /system/jobs/{jobGroup}/Delete Job
executeJobPOST /system/jobs/{jobGroup}/Execute Job
jobsListGET /system/jobsRegistered Jobs
possibleJobsListGET /system/jobs/classesPossible Jobs
registerJobPUT /system/jobsRegister Job
updateJobPATCH /system/jobs/{jobGroup}/Update Job

deleteJob

JsonValue_Boolean deleteJob(jobGroup, jobName)

Delete Job

Delete Job and reload all Job Information

Parameters

NameTypeDescriptionNotes
jobGroupStringGroup Name of the Job[default to Default]
jobNameStringName of the Job[default to null]

Return type

JsonValue_Boolean

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

executeJob

JsonValue_Boolean executeJob(jobGroup, jobName)

Execute Job

Execute scheduled Job manually

Parameters

NameTypeDescriptionNotes
jobGroupStringGroup Name of the Job[default to Default]
jobNameStringName of the Job[default to null]

Return type

JsonValue_Boolean

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

jobsList

List jobsList()

Registered Jobs

Returns the List of all registered Jobs with full information

Parameters

This endpoint does not need any parameter.

Return type

List

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

possibleJobsList

List possibleJobsList()

Possible Jobs

Returns the List of possible job classes

Parameters

This endpoint does not need any parameter.

Return type

List

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

registerJob

JobInformation registerJob(JobConfig)

Register Job

Register an Job and return the JobInformation with next schedule information

Parameters

NameTypeDescriptionNotes
JobConfigJobConfig

Return type

JobInformation

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

updateJob

JobInformation updateJob(jobGroup, jobName, JobConfig)

Update Job

Add Job and get JobInformation back

Parameters

NameTypeDescriptionNotes
jobGroupStringGroup Name of the Job[default to Default]
jobNameStringName of the Job[default to null]
JobConfigJobConfig

Return type

JobInformation

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

Released under the Apache License 2.0.