Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Conversation

@hossam-magdy
Copy link

It seems that the correct endpoint for triggering job on chainlink node is: POST /v2/jobs/%s/runs (instead of POST /v2/specs/%s/runs). (Perhaps the */specs/* one was in a previous chainlink versions?)

Refs: Chainlink v1.0.0 router code, and docs


Also:

  • the endpoint for listing jobs: GET /v2/jobs (instead of GET /v2/specs)
  • the endpoint for creating job: POST /v2/jobs (instead of POST /v2/specs)

Ref: https://github.com/smartcontractkit/chainlink/blob/v1.0.0/core/web/router.go/#L283-L286


Or maybe I missed something and the */specs/* endpoints are meant to be the correct ones, in that case please feel free to close the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant