REST API Deprecated #762
Replies: 8 comments 31 replies
-
I tried to create a developer account and register my app, but I only get an error: "unable to onboard app"... |
Beta Was this translation helpful? Give feedback.
-
No need to start spreading FUD until we have the details. A documented and supported API from Tesla is a good thing and much better than trying to constantly reverse engineer an unofficially supported API, which can be switched off at a moments notice. OAuth authentication is an industry standard and there are lots of authentication providers out there, including the ability to host your own OpenSource OAuth server. The legacy API currently uses OAuth authentication so the apps already have a level of OAuth compatability. Yes existing apps will need to migrate to the new framework, but the fact that Tesla have provided a documented RestAPI and proxy server which appears to have more functionality than the current undocumented API does give me hope. Looks like the developer tier is still free, so let's not scare the horses too early. Some folks have this working already in their dev environments: |
Beta Was this translation helpful? Give feedback.
-
Those aren't servers, per se, but you'll need to do a bit of work for OAuth. Their expectation seems to be that OAuth requests will come from a domain with a redirect and return. It might be as simple as setting up DNS entries to get past this screen, and using those same DNS entries in your app. You might need these to exist when you register. I am a few days away from testing this (just had shoulder surgery, so typing with my wrong hand), but I'm the same situation as you, but I think I know enough about OAuth to be dangerous. Let's keep this discussion going. |
Beta Was this translation helpful? Give feedback.
-
For anyone using my TeslaAuth library for C#/.NET, I've managed to get this library to work with the Fleet API. The changes haven't been merged yet and testing/feedback would be appreciated. Once it's confirmed to work for people besides myself, I'll merge and push to Nuget. |
Beta Was this translation helpful? Give feedback.
-
This has now been released as v3.0.0 of the library (it still also works for the Owner API) |
Beta Was this translation helpful? Give feedback.
-
That's great news, I look forward to testing this. I'll be a few days away (post shoulder surgery - I don't really want to re-factor just typing with my wrong hand). I've been using a source code version for a while as I ran into an issue with the Newtonsoft.Json JSON library that I used in my app that was incompatible with the version in your library (possibly due to me needing (?wanting) a newer version, or a .Net Framework version issue, so will be keen to report back on this, too. I note from reviewing the PR that you considered moving away from it, but didn't. |
Beta Was this translation helpful? Give feedback.
-
The old api might not be dead as Tesla wrote this in the command api repo:
|
Beta Was this translation helpful? Give feedback.
-
Hello ! Does anyone know how to integrate the Vehicle Command SDK into an Android (or even Flutter) application? The SDK has been developed using the Go language. It's normally possible to compile Go code so that it can be used by mobile applications, but it looks a bit tricky. Tesla also offers a proxy, to convert REST API calls to their new vehicle-command protocol. Are there any other solutions? |
Beta Was this translation helpful? Give feedback.
-
Looks like they are deprecating the REST API.
https://github.com/teslamotors/vehicle-command?s=09
Seems we have to register our apps with Tesla now.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions