Page tree

Stops the job.

Endpoint

https://<Director_IP_address>:4443/c/router

Tenant Endpoint

For tenants of the multi-tenant product the endpoint must be:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

Request Example

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
		"action": "JobManagement",
		"method": "stop",
		"data": [{"jobIds":[1]}],
		"type": "rpc",
		"tid": 1}"

Request Fields

Field
Type
Value(s)

action

string

JobManagement

method

string

stop

data

array of intJob IDs

type

stringrpc

stopType

string

ALL or SPECIFIC

sourceVids

array of string

For SPECIFIC stop type, a single job is expected

tid

integer1

Response Sample

{
    "action": "JobManagement",
    "method": "stop",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": null
} 

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where a problem occurred
causestringCause of failure
  • No labels