Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shtechsupport
Reel Rookie

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!

0 Kudos
2 REPLIES 2
Chris-DP
Binge Watcher

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. 

0 Kudos
shtechsupport
Reel Rookie

Re: Programatically / API to upload new package or re-key package ?

This is perfect, thank you!

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.