Skip to content

REST API

Thomas edited this page Jun 27, 2018 · 13 revisions
Action Method Path CLI command
Index Job Specs GET /v2/specs $ chainlink jobspecs
Create Job Spec POST /v2/specs $ chainlink create {...}
Show Job Spec GET /v2/specs/:ID $ chainlink show $ID
Show Job Runs GET /v2/specs/:ID/runs
Show Job Run GET /v2/runs/:RunID
Create Job Run POST /v2/specs/:ID/runs $ chainlink run $ID
Update Job Run PATCH /v2/runs/:RunID
Create Bridge Type POST /v2/bridge_types $ chainlink bridge {...}
Show Bridge Types GET /v2/bridge_types $ chainlink getbridges
Show Bridge Spec GET /v2/bridge_types/:BridgeName $ chainlink showbridge $BridgeName
Remove Bridge DELETE /v2/bridge_types/:BridgeName $ chainlink removebridge $BridgeName
Show Config GET /v2/config
Backup GET /v2/backup $ chainlink backup
Account Balance GET /v2/account_balance $ chainlink account
Show Assignment GET /v1/assignments/:ID
Create Assignment POST /v1/assignments
Show Snapshot GET /v1/snapshots/:ID
Create Snapshot POST /v1/assignments/:AID/snapshots