Okapi Okapi

/v1/* → behaviour change

Particle Cloud API

Deprecated, no date

Particle Cloud API has deprecated passing the query parameter access_token across /v1/* endpoints without a shutdown date. The provider notes this practice is discouraged for new applications. Requests relying on this method will eventually fail.


Calls it hits

  • /v1/*
  • query parameter access_token

What to use instead of these calls

Send the access token in the Authorization header as a Bearer token.

In Particle Cloud API's words

Sending the access token in the query string is deprecated and discouraged for new application

Particle Cloud API, Announcement

Facts

API
Particle Cloud API api.particle.io
Kind
Behaviour change
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Particle Cloud API's own pages

Questions

When does this change take effect?

Particle Cloud API deprecated /v1/*, query parameter access_token without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Particle Cloud 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.


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