Okapi Okapi

OpenStreetMap API POST /api/0.6/user/messages/{id} endpoint removal

Deprecated, no dateSubscribe to OpenStreetMap APIShare

OpenStreetMap API deprecated POST /api/0.6/user/messages/{id} without a shutdown date. This deprecation affects requests made to the POST /api/0.6/user/messages/{id} endpoint, which was formerly used to update the read status of a message. Once removed, calls using this endpoint fail.


Calls it hits

  • POST /api/0.6/user/messages/{id}

What to use instead of these calls

Update a message's read status with PUT /api/0.6/user/messages/{id} instead.

In OpenStreetMap API's words

PUT /api/0.6/user/messages/#id was added to update read status of a message and its POST equivalent was deprecated.

OpenStreetMap API, Announcement

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 POST /api/0.6/user/messages/{id} 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

  1. No date GET /api/0.6/gpx/{id}/detailsEndpoint removal Deprecated, no date
  2. No date GET /api/capabilitiesEndpoint removal Deprecated, no date
  3. No date POST /api/0.6/changeset/{id}/subscribeEndpoint removal Deprecated, no date
  4. No date POST /api/0.6/changeset/{id}/unsubscribeEndpoint removal Deprecated, no date
  5. No date POST /api/0.6/changeset/comment/{id}/hideEndpoint removal Deprecated, no date
  6. No date POST /api/0.6/changeset/comment/{id}/unhideEndpoint removal Deprecated, no date
  7. No date POST /api/0.6/gpx/createEndpoint removal Deprecated, no date
  8. No date PUT /api/0.6/node/createEndpoint removal Deprecated, no date
  9. No date PUT /api/0.6/relation/createEndpoint removal Deprecated, no date
  10. 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.

Add to GitHub

Get notifications

Subscribe to OpenStreetMap API

Hear about each breaking change OpenStreetMap API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • OpenStreetMap API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.