Okapi Okapi

Onesignal /api/v1/apps/{id}/users/{id} endpoint removal

Deprecated, no dateSubscribe to OnesignalShare

The /api/v1/apps/{id}/users/{id} endpoint has been deprecated without an announced shutdown date. This change affects requests sent to the legacy user endpoint. Once fully removed, calls to this endpoint fail.


Calls it hits

  • /api/v1/apps/{id}/users/{id}

What to use instead of these calls

Use Update User or Delete User by sending requests to the new user endpoints using external_id instead.

In Onesignal's words

This is a Legacy API. Use Update User or Update Subscription instead.

Onesignal, Announcement

Facts

API
Onesignal onesignal.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Onesignal's own pages

Questions

When does this change take effect?

Onesignal deprecated /api/v1/apps/{id}/users/{id} without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Onesignal 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 Onesignal 4

  1. No date GET /api/v1/playersEndpoint removal Deprecated, no date
  2. No date GET /api/v1/players/{id}Endpoint removal Deprecated, no date
  3. No date POST /api/v1/playersEndpoint removal Deprecated, no date
  4. No date PUT /api/v1/players/{id}Endpoint 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 Onesignal

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

1What to follow

Provider
  • Onesignal

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.