RDK Resources

[*RDK Preferred*]

Code Management Facility

Code Releases

RDK Forums

[RDK Conferences]

RDK Support

Archives

Papers & Presentations Archive

In the News!

Skip to end of metadata
Go to start of metadata

Versions

org.rdk.ContinueWatching.1 - Initial version of the ContinueWatching API.

Methods

setApplicationToken  (v1)

Description: Set the given token to the application.

Arguments: 

  • applicationName: string
  • application_token: JSON Object{key1:String, key2:String, …}

Returns:

  • success::bool

Request : {"jsonrpc":"2.0","id":3,"method":"org.rdk.ContinueWatching.setApplicationToken","params":{"applicationName":"netflix","application_token":{"ABC" : "xyz","DEF" : "uvw"}}}
 
Response : {"jsonrpc":"2.0","id":3,"result":{"success":true}}

getApplicationToken  (v1)

Description: Retrieve the token value of a particular application.

Arguments: 

  • applicationName: string

Returns:

  • The application's token value upon success, else it returns an empty array.
  • success: bool

Request : {"jsonrpc":"2.0","id":"3","method":"org.rdk.ContinueWatching.getApplicationToken","params":{ "applicationName":"netflix"}}

Response : {"jsonrpc":"2.0","id":3,"result":{"application_token":[{"ABC":"xyz","DEF":"uvw"}],"success":true}}

deleteApplicationToken  (v1)

Description: Delete the stored token for a particular application.

Arguments: 

  • applicationName: string

Returns:

  • success: bool

Request : {"jsonrpc":"2.0","id":"3","method":"org.rdk.ContinueWatching.deleteApplicationToken","params":{ "applicationName":"netflix"}}
 
Response : {"jsonrpc":"2.0","id":3,"result":{"success":true}}



  • No labels