Download OpenAPI specification:
Returns a list of all jobIds currently held in storage backend. The result of this query can be reduced by filters provided in query parameters. If no filters are provided, all available jobIds are returned.
| limit | integer Example: limit=100 Maximum number of jobId's per page. If parameter 'limit' is not provided, the response will use it's default limit value to limit items per page. |
| offset | integer Example: offset=150 Start index of the requested page. If no offset is provided, index at position '0' is assumed, meaning the first page is returned. |
| sort | string Example: sort=sort=wf,-timestamp.tsInserted The sort argument is a comma separated list of fields to sort the results by. If the sort field is prefixed with a minus sign (-), the results will be sorted in descending order, otherwise in ascending order. |
| total | boolean Example: total=total=false The total argument spezifies if the total number of jobIds should be returned. Default of total is `true``. |
| .* | string.* Example: .*=wf=example¤t.exitStatus!=OK Any other query parameter will be treated as a filter. The filter parameter is a key-value pair where the key is an arbitrary field in the job object to filter by and the value is the value to filter for. Standard comparison operations (=, !=, >, <, >=, <=) are supported. All given filters are combined with a logical AND. |
{- "total": 23,
- "limit": 10,
- "offset": 20,
- "jobIds": [
- [
- "2024041909203198765",
- "2024041909213198766",
- "2024041909223198767"
]
]
}Returns a single job including details and history data according to the JSON schema defined in ADR 0001.
| jobId required | string (jobId) Example: 2024041909203198765 a DPF job's jobID |
{- "_id": "3fb45606-dd85-434b-b349-cd5c124824d0",
- "jobId": "2024041909203198765",
- "jobName": "Vom Client vergebener Name",
- "timestamps": {
- "tsInserted": 0,
- "tsChanged": 0,
- "tsFinished": 0
}, - "wf": "string",
- "jobPriority": 0,
- "current": {
- "status": "string",
- "wfPosition": "string",
- "wfPath": "string",
- "wuInstanceId": "string",
- "exitStatus": "string",
- "jobState": "string",
- "parameter": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}
}, - "history": [
- {
- "wfPosition": "string",
- "wfPath": "string",
- "exitStatus": "string",
- "status": "string",
- "jobState": "string",
- "timestamp": "string",
- "wuInstanceId": "string",
- "parameter": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}, - "paramerterUsed": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}, - "parameterModified": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}
}
]
}Modifies a job and returns the resulting job details. For now only the current status of a job can be changed. When the job's state is changed to cancel, of course the job is cancelled. When a job's state is set to repeat, the service will change the job's state to repeat, clean up the job's directory and afterwards set it's state to transferred again, so the job will be processed once more.
| jobId required | string (jobId) Example: 2024041909203198765 a DPF job's jobID |
object |
{- "current": {
- "status": "repeat"
}
}{- "_id": "3fb45606-dd85-434b-b349-cd5c124824d0",
- "jobId": "2024041909203198765",
- "jobName": "Vom Client vergebener Name",
- "timestamps": {
- "tsInserted": 0,
- "tsChanged": 0,
- "tsFinished": 0
}, - "wf": "string",
- "jobPriority": 0,
- "current": {
- "status": "string",
- "wfPosition": "string",
- "wfPath": "string",
- "wuInstanceId": "string",
- "exitStatus": "string",
- "jobState": "string",
- "parameter": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}
}, - "history": [
- {
- "wfPosition": "string",
- "wfPath": "string",
- "exitStatus": "string",
- "status": "string",
- "jobState": "string",
- "timestamp": "string",
- "wuInstanceId": "string",
- "parameter": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}, - "paramerterUsed": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}, - "parameterModified": {
- "property1": {
- "key": "string",
- "value": "string"
}, - "property2": {
- "key": "string",
- "value": "string"
}
}
}
]
}