Add API calls. - rrirower/DP2SceneGraphWizard GitHub Wiki
Optionally, you may elect to support a backend server (BE) to support subscriptions and persistent registry settings. The Add API calls form is used to specify the URL path to a BE server that supports REST API calls to functions you'll need to define.
Select the type of BE function you'd like to support (ie. Subscription or Registry) and expand the tree on the left. You'll see a list of functions that the channel code expects you to implement in your BE server. Function names listed in Red have not been implemented. Those in Green have been implemented in your BE server.
In the Current URL box, enter the base path for each BE server endpoint. For example, http://mybeserver.com/
. The wizard will append the endpoint name to your URL, thus creating a path to the supported function in your BE server.
You MUST define the function in your BE server with the same name for the associated function on the left. For example, if you plan to support registry persistence, your BE REST function may be something like http://mybeserver.com/cloud-save-registry
.
NOTE: If you plan to support registry persistence, your user will be asked to enter his/her Roku account email the first time they start your channel. The user's Roku email is used to identify your user in the BE call to your server.
Programming Notes: