Appearance
job/on
Activates one or more jobs.
Method and path
POST /job/on
Authentication
Authentication is required. See Authentication.
Permissions
Accessible to tier 1 and 2 users.
Request headers
| Header | Required | Description |
|---|---|---|
X-Api-Key or X_API_KEY | yes | API key. |
Content-Type | yes | application/json. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
job_id | integer | array<integer> | yes |
Example request
bash
curl -X POST "$SIGNAL_API_BASE_URL/job/on" \
-H "X-Api-Key: $SIGNAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"job_id": ["<job_id>", "<job_id>"]}'json
{
"job_id": [
"<job_id>",
"<job_id>"
]
}Example response
json
[
{
"id": "<job_id>",
"type": "<job_type>",
"active": true,
"freq": "<frequency_seconds>",
"label": "Example Job",
"notes": "Example notes",
"search": "<search_string_or_json>",
"lastrun": "<datetime_or_null>"
}
]Notes
- The endpoint enqueues each activated job.
- For single-job requests, non-admin users are additionally restricted to jobs linked to accessible projects.