Okapi Okapi

OpenStreetMap API GET /api/capabilities endpoint removal

Deprecated, no dateSubscribe to OpenStreetMap APIShare

The unversioned GET /api/capabilities endpoint has been deprecated without a shutdown date. Calls made to this route fail under this removal. Developers relying on this endpoint will need to update their integrations to avoid disruptions.


Calls it hits

  • GET /api/capabilities

What to use instead of these calls

Check the available versions with GET /api/versions, then call GET /api/0.6/capabilities.

In OpenStreetMap API's words

The unversioned version of this API endpoint is however 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 GET /api/capabilities 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 POST /api/0.6/changeset/{id}/subscribeEndpoint removal Deprecated, no date
  3. No date POST /api/0.6/changeset/{id}/unsubscribeEndpoint removal Deprecated, no date
  4. No date POST /api/0.6/changeset/comment/{id}/hideEndpoint removal Deprecated, no date
  5. No date POST /api/0.6/changeset/comment/{id}/unhideEndpoint removal Deprecated, no date
  6. No date POST /api/0.6/gpx/createEndpoint removal Deprecated, no date
  7. No date POST /api/0.6/user/messages/{id}Endpoint 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.