- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Programatically / API to upload new package or re-key package ?
If there an API or shell commands to install a new package and re-key existing packages?
We need to semi automate to facilitate upgrade updates to many apps.
If not, is there any documentation regarding how the Authorization header is generated so we can send HTTP calls to the admin form for the Roku device (so we can trigger new package installs and re-keys without manual interaction with the form). Everything else is clear but the Authorization header has values in it that we are not sure how they are generated.
i.e.a
Authorization: Digest username="auser", realm="auser", nonce="1721248854", uri="/plugin_inspect", response="fdfe17877181c40cfd74d8dbfe62bc21", qop=auth, nc=00000037, cnonce="339d218b3a87a3af"
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Programatically / API to upload new package or re-key package ?
Hey! You could take a look at the Roku Deploy node module on npm. This module powers many of the Roku community tools and many use it for packaging, rekeying, signing, etc with the device.
We are in the process of a major release update that will make it more usable from the CLI but for now you could make a simple node script to use the module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Programatically / API to upload new package or re-key package ?
This is perfect, thank you!