Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload firmware package .zip with API? #32

Open
ftab opened this issue Sep 5, 2023 · 1 comment
Open

Upload firmware package .zip with API? #32

ftab opened this issue Sep 5, 2023 · 1 comment

Comments

@ftab
Copy link

ftab commented Sep 5, 2023

Is it possible to automate the uploading of the firmware package generated at build time? It would be helpful if our CI/CD could do that during the deploy process so we don't have to manually do it.

@shahpiyushv
Copy link
Collaborator

@ftab , since ESP Insights and ESP RainMaker have a common login, you can refer to the RainMaker user management APIs to get the refresh and access tokens, which can then be used for Insights APIs. To upload an image you can check out the OTA Image Upload Request and OTA Image Upload Confirm APIs.

You can also refer to the RainMaker CLI which has the user login and token management. You can extend it to upload the images to Insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants