/v1/candidates/* → endpoint removal
Deprecated, no date
Lever has deprecated the /v1/candidates/* endpoints without specifying a shutdown date. Calls made to these endpoints will eventually fail. The provider stated that these routes have been deprecated as of 2020 while remaining maintained for backwards compatibility.
Calls it hits
/v1/candidates/*
What to use instead of these calls
Call the Opportunities endpoints (/v1/opportunities and /v1/opportunities/{opportunity}/...) instead of /v1/candidates/.... The candidate id serves as the opportunity id.
In Lever API's words
The Candidates endpoints were deprecated as of 2020. Though they are maintained for backwards compatibility, going forward please see
Facts
- API
- Lever API
api.lever.co - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Lever API's own pages
Questions
When does this change take effect?
Lever API deprecated /v1/candidates/* without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Lever API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.