Neon API
name query parameter removal on POST /api/v2/projects/{id}/snapshots/{id}/restore
Deprecated, no dateSubscribe to Neon APIShare
The query parameter name on the POST /api/v2/projects/{id}/snapshots/{id}/restore endpoint has been deprecated without a shutdown date. Calls that continue to pass this parameter as a query parameter will eventually fail once it is removed.
Calls it hits
POST /api/v2/projects/{id}/snapshots/{id}/restorequery parameter name
What to use instead of these calls
Send name in the JSON request body instead of the query string.
In Neon API's words
Deprecated. Use the `name` field in the request body instead.
Facts
- API
- Neon API
console.neon.tech - Kind
- Parameter removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Neon API's own pages
Questions
When does this change take effect?
Neon API deprecated POST /api/v2/projects/{id}/snapshots/{id}/restore, query parameter name without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Neon 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.
More from Neon API 5
-
No date
/api/v2/projects/{id}/auth/*Endpoint removal Deprecated, no date -
No date
GET /consumption_history/accountEndpoint removal Deprecated, no date -
No date
POST /api/v2/projects/auth/createEndpoint removal Deprecated, no date -
No date
POST /api/v2/projects/auth/userEndpoint removal Deprecated, no date -
No date
POST /api/v2/users/me/projects/transferEndpoint removal Deprecated, no date
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.