All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080
Method | HTTP request | Description |
---|---|---|
CreateJobJob | Post /platform/3/job/jobs | |
CreateJobPolicy | Post /platform/1/job/policies | |
DeleteJobPolicy | Delete /platform/1/job/policies/{JobPolicyId} | |
GetJobEvents | Get /platform/3/job/events | |
GetJobJob | Get /platform/3/job/jobs/{JobJobId} | |
GetJobJobSummary | Get /platform/1/job/job-summary | |
GetJobPolicy | Get /platform/1/job/policies/{JobPolicyId} | |
GetJobRecent | Get /platform/3/job/recent | |
GetJobReports | Get /platform/3/job/reports | |
GetJobStatistics | Get /platform/1/job/statistics | |
GetJobType | Get /platform/1/job/types/{JobTypeId} | |
GetJobTypes | Get /platform/1/job/types | |
ListJobJobs | Get /platform/3/job/jobs | |
ListJobPolicies | Get /platform/1/job/policies | |
UpdateJobJob | Put /platform/3/job/jobs/{JobJobId} | |
UpdateJobPolicy | Put /platform/1/job/policies/{JobPolicyId} | |
UpdateJobType | Put /platform/1/job/types/{JobTypeId} |
CreateJobJobResponse CreateJobJob(ctx, jobJob)
Queue a new instance of a job type.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobJob | JobJobCreateParams |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateResponse CreateJobPolicy(ctx, jobPolicy)
Create a new job impact policy.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobPolicy | JobPolicyCreateParams |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteJobPolicy(ctx, jobPolicyId)
Delete a job impact policy. System policies may not be deleted.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobPolicyId | string | Delete a job impact policy. System policies may not be deleted. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobEvents GetJobEvents(ctx, optional)
List job events.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
begin | int32 | Restrict the query to events at or after the given time, in seconds since the Epoch. | |
end | int32 | Restrict the query to events before the given time, in seconds since the Epoch. | |
jobId | int32 | Restrict the query to the given job ID. | |
resume | string | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | |
jobType | string | Restrict the query to the given job type. | |
timeoutMs | int32 | Query timeout in milliseconds. The default is 10000 ms. | |
state | string | Restrict the query to events containing the given state. | |
limit | int32 | Return no more than this many results at once (see resume). | |
key | string | Restrict the query to the given key name. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobJobs GetJobJob(ctx, jobJobId)
View a single job instance.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobJobId | string | View a single job instance. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobJobSummary GetJobJobSummary(ctx, )
View job engine status.
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobPolicies GetJobPolicy(ctx, jobPolicyId)
View a single job impact policy.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobPolicyId | string | View a single job impact policy. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobRecent GetJobRecent(ctx, optional)
List recently completed jobs.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
timeoutMs | int32 | Query timeout in milliseconds. The default is 10000 ms. | |
limit | int32 | Max number of recent jobs to return. The default is 8, the max is 100. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobReports GetJobReports(ctx, optional)
List job reports.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
begin | int32 | Restrict the query to reports at or after the given time, in seconds since the Epoch. | |
end | int32 | Restrict the query to reports before the given time, in seconds since the Epoch. | |
jobId | int32 | Restrict the query to the given job ID. | |
resume | string | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | |
jobType | string | Restrict the query to the given job type. | |
timeoutMs | int32 | Query timeout in milliseconds. The default is 10000 ms. | |
limit | int32 | Return no more than this many results at once (see resume). | |
key | string | Restrict the query to the given report key. | |
verbose | bool | Display more detailed information, including job engine framework statistics. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobStatistics GetJobStatistics(ctx, optional)
View job engine statistics.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
devid | int32 | Restrict the query to the given node. | |
jobId | int32 | Restrict the query to the given job ID. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobTypes GetJobType(ctx, jobTypeId)
Retrieve job type information.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobTypeId | string | Retrieve job type information. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobTypesExtended GetJobTypes(ctx, optional)
List job types.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
sort | string | The field that will be used for sorting. | |
showAll | bool | Whether to show all job types, including hidden ones. Defaults to false. | |
dir | string | The direction of the sort. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobJobsExtended ListJobJobs(ctx, optional)
List running and paused jobs.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
sort | string | The field that will be used for sorting. | |
resume | string | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | |
batch | bool | If true, other arguments are ignored, and the query will return all results, unsorted, as quickly as possible. | |
state | string | Limit the results to jobs in the specified state. | |
limit | int32 | Return no more than this many results at once (see resume). | |
dir | string | The direction of the sort. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JobPoliciesExtended ListJobPolicies(ctx, optional)
List job impact policies.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
sort | string | The field that will be used for sorting. | |
limit | int32 | Return no more than this many results at once (see resume). | |
dir | string | The direction of the sort. | |
resume | string | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateJobJob(ctx, jobJob, jobJobId)
Modify a running or paused job instance. All input fields are optional, but one or more must be supplied.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobJob | JobJob | ||
jobJobId | string | Modify a running or paused job instance. All input fields are optional, but one or more must be supplied. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateJobPolicy(ctx, jobPolicy, jobPolicyId)
Modify a job impact policy.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobPolicy | JobPolicy | ||
jobPolicyId | string | Modify a job impact policy. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateJobType(ctx, jobType, jobTypeId)
Modify the job type. All input fields are optional, but one or more must be supplied.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
jobType | JobType | ||
jobTypeId | string | Modify the job type. All input fields are optional, but one or more must be supplied. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]