Jobs (New)

Retry

Retry

put/api/cp/setup/job3/{queue}/{id}

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Path parameters

queuestring required

Queue identifier

idinteger required

Id identifier

Request body

queuestring

Queue

idstring

Id

seqinteger

Seq

namestring required

Name

statestring

State

datastring

Data

optsstring

Opts

priorityinteger

Priority

delay_msinteger

Delay Ms

max_attemptsinteger

Max Attempts

attempts_madeinteger

Attempts Made

attempts_startedinteger

Attempts Started

progressstring

Progress

return_valuestring

Return Value

failed_reasonstring

Failed Reason

stacktracestring

Stacktrace

deferred_failurestring

Deferred Failure

processed_bystring

Processed By

added_at_msinteger

Added At Ms

process_at_msinteger

Process At Ms

processed_at_msinteger

Processed At Ms

finished_at_msinteger

Finished At Ms

lock_tokenstring

Lock Token

locked_until_msinteger

Locked Until Ms

stalled_countinteger

Stalled Count

dedup_idstring

Dedup Id

scheduler_idstring

Scheduler Id

parent_queuestring

Parent Queue

parent_idstring

Parent Id

parent_keystring

Parent Key

pending_depsinteger

Pending Deps

stalled_markedboolean

Stalled Marked

Example request

{
  "queue": "Sample queue text content",
  "id": 12345,
  "seq": 1000000,
  "name": "Example Name",
  "state": "example_state",
  "data": "example_data",
  "opts": "example_opts",
  "priority": "example_priority",
  "delay_ms": 1000000,
  "max_attempts": "example_max_attempts",
  "attempts_made": "example_attempts_made",
  "attempts_started": "example_attempts_started",
  "progress": "example_progress",
  "return_value": "example_return_value",
  "failed_reason": "Sample failed_reason text content",
  "stacktrace": "example_stacktrace",
  "deferred_failure": "Sample deferred_failure text content",
  "processed_by": "Sample processed_by text content",
  "added_at_ms": 1000000,
  "process_at_ms": 1000000,
  "processed_at_ms": 1000000,
  "finished_at_ms": 1000000,
  "lock_token": "Sample lock_token text content",
  "locked_until_ms": 1000000,
  "stalled_count": 10,
  "dedup_id": 1,
  "scheduler_id": 1,
  "parent_queue": "Sample parent_queue text content",
  "parent_id": 1,
  "parent_key": "Sample parent_key text content",
  "pending_deps": "example_pending_deps",
  "stalled_marked": "example_stalled_marked"
}

Response

Successful response

unknown required

Changes