OpenStreetMap API
PUT /api/0.6/relation/create endpoint removal
Deprecated, no dateSubscribe to OpenStreetMap APIShare
OpenStreetMap API deprecated PUT /api/0.6/relation/create without a shutdown date. Calls made to this endpoint fail. The change affects requests using the legacy endpoint to create relations.
Calls it hits
PUT /api/0.6/relation/create
What to use instead of these calls
Create relations with POST /api/0.6/relations instead.
In OpenStreetMap API's words
POST /api/0.6/[nodes|ways|relations] was added to create elements and PUT /api/0.6/[node|way|relation]/create was deprecated.
Facts
- API
- OpenStreetMap API
api.openstreetmap.org - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against OpenStreetMap API's own pages
Questions
When does this change take effect?
OpenStreetMap API deprecated PUT /api/0.6/relation/create without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: OpenStreetMap 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 OpenStreetMap API 10
-
No date
GET /api/0.6/gpx/{id}/detailsEndpoint removal Deprecated, no date -
No date
GET /api/capabilitiesEndpoint removal Deprecated, no date -
No date
POST /api/0.6/changeset/{id}/subscribeEndpoint removal Deprecated, no date -
No date
POST /api/0.6/changeset/{id}/unsubscribeEndpoint removal Deprecated, no date -
No date
POST /api/0.6/changeset/comment/{id}/hideEndpoint removal Deprecated, no date -
No date
POST /api/0.6/changeset/comment/{id}/unhideEndpoint removal Deprecated, no date -
No date
POST /api/0.6/gpx/createEndpoint removal Deprecated, no date -
No date
POST /api/0.6/user/messages/{id}Endpoint removal Deprecated, no date -
No date
PUT /api/0.6/node/createEndpoint removal Deprecated, no date -
No date
PUT /api/0.6/way/createEndpoint 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.