Skip to content

Register Job​

PUT
/system/jobs

Register a Job and return the JobInformation with next schedule information

Authorizations​

httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"className": "string",
  
"description": "string",
  
"cronExpression": "string",
  
"group": "string",
  
"priority": 0
}

Responses​

application/json
JSON
{
  
"name": "string",
  
"group": "string",
  
"jobClassName": "string",
  
"description": "string",
  
"cronExpression": "string",
  
"priority": 0,
  
"lastScheduledFireTime": "2024-01-01T00:00:00Z",
  
"nextScheduledFireTime": "2024-01-01T00:00:00Z",
  
"scheduleInformation": "string"
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.