The ECP documentation gives the following for launching an app from the channel store. However, it does not explain how to get the "contentID" for an app that *is not* already installed on the Roku. How do I find the contentID for an app that is not already installed by the user? (Intent, clickable banner that says "Hey, install this channel", the user clicks and is taken to the specific app in the channel store for installation.).
# The following command will launch the channel store app (11) on the box with a contentID # equal to 14_e (the MLB app). You can get the plugin ID for your app using the /query/apps # example above. It returns the installed apps on a Roku box.
# This technique would be useful in creating clickable ads in a free “Lite” version of a paid # app. When a user clicks on the ad, the channel store page to purchase the full version
# could be launched.
% echo -e 'POST /launch/11?contentID=14_e HTTP/1.1\r\n\r\n' | ncat 192.168.1.114 8060
HTTP/1.1 200 OK
Content-Length: 0