Skip to content

Instantly share code, notes, and snippets.

@aaron-goff
Created March 11, 2020 19:46
Show Gist options
  • Save aaron-goff/b2306f4446da3e1623488512b5973ad1 to your computer and use it in GitHub Desktop.
Save aaron-goff/b2306f4446da3e1623488512b5973ad1 to your computer and use it in GitHub Desktop.
Roku Calls -- No Webdriver
{
"info": {
"_postman_id": "b6841f54-a6b5-4bde-ad98-1d4cd0e0c14b",
"name": "Roku (No Webdriver)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Key Presses - keydown",
"item": [
{
"name": "Home",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{home}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{home}}"
]
}
},
"response": []
},
{
"name": "Rev",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{rev}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{rev}}"
]
}
},
"response": []
},
{
"name": "Fwd",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{fwd}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{fwd}}"
]
}
},
"response": []
},
{
"name": "Play",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{play}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{play}}"
]
}
},
"response": []
},
{
"name": "Select",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{select}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{select}}"
]
}
},
"response": []
},
{
"name": "Left",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{left}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{left}}"
]
}
},
"response": []
},
{
"name": "Right",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{right}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{right}}"
]
}
},
"response": []
},
{
"name": "Down",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{down}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{down}}"
]
}
},
"response": []
},
{
"name": "Up",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{up}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{up}}"
]
}
},
"response": []
},
{
"name": "Back",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{back}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{back}}"
]
}
},
"response": []
},
{
"name": "Instant Replay",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Info",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Backspace",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{backspace}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{backspace}}"
]
}
},
"response": []
},
{
"name": "Search",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{search}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{search}}"
]
}
},
"response": []
},
{
"name": "Enter",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keydown}}/{{enter}}",
"host": [
"{{base}}"
],
"path": [
"{{keydown}}",
"{{enter}}"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Key Presses - keyup",
"item": [
{
"name": "Home",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{home}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{home}}"
]
}
},
"response": []
},
{
"name": "Rev",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{rev}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{rev}}"
]
}
},
"response": []
},
{
"name": "Fwd",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{fwd}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{fwd}}"
]
}
},
"response": []
},
{
"name": "Play",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{play}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{play}}"
]
}
},
"response": []
},
{
"name": "Select",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{select}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{select}}"
]
}
},
"response": []
},
{
"name": "Left",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{left}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{left}}"
]
}
},
"response": []
},
{
"name": "Right",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{right}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{right}}"
]
}
},
"response": []
},
{
"name": "Down",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{down}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{down}}"
]
}
},
"response": []
},
{
"name": "Up",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{up}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{up}}"
]
}
},
"response": []
},
{
"name": "Back",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{back}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{back}}"
]
}
},
"response": []
},
{
"name": "Instant Replay",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Info",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Backspace",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{backspace}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{backspace}}"
]
}
},
"response": []
},
{
"name": "Search",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{search}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{search}}"
]
}
},
"response": []
},
{
"name": "Enter",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keyup}}/{{enter}}",
"host": [
"{{base}}"
],
"path": [
"{{keyup}}",
"{{enter}}"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Key Presses - keypress",
"item": [
{
"name": "Home",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{home}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{home}}"
]
}
},
"response": []
},
{
"name": "Rev",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{rev}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{rev}}"
]
}
},
"response": []
},
{
"name": "Fwd",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{fwd}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{fwd}}"
]
}
},
"response": []
},
{
"name": "Play",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{play}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{play}}"
]
}
},
"response": []
},
{
"name": "Select",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{select}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{select}}"
]
}
},
"response": []
},
{
"name": "Left",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{left}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{left}}"
]
}
},
"response": []
},
{
"name": "Right",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{right}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{right}}"
]
}
},
"response": []
},
{
"name": "Down",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{down}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{down}}"
]
}
},
"response": []
},
{
"name": "Up",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{up}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{up}}"
]
}
},
"response": []
},
{
"name": "Back",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{back}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{back}}"
]
}
},
"response": []
},
{
"name": "Instant Replay",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Info",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{info}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{info}}"
]
}
},
"response": []
},
{
"name": "Backspace",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{backspace}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{backspace}}"
]
}
},
"response": []
},
{
"name": "Search",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{search}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{search}}"
]
}
},
"response": []
},
{
"name": "Enter",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/{{keypress}}/{{enter}}",
"host": [
"{{base}}"
],
"path": [
"{{keypress}}",
"{{enter}}"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Roku TV",
"item": [
{
"name": "Get TV Channels Info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/tv-channels",
"host": [
"{{base}}"
],
"path": [
"query",
"tv-channels"
]
}
},
"response": []
},
{
"name": "Get Active TV Channel",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/tv-active-channel",
"host": [
"{{base}}"
],
"path": [
"query",
"tv-active-channel"
]
}
},
"response": []
},
{
"name": "Launch TV Tuner",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/launch/tv-input.dtv",
"host": [
"{{base}}"
],
"path": [
"launch",
"tv-input.dtv"
]
}
},
"response": []
},
{
"name": "Launch TV Tuner -- Specific Channel",
"event": [
{
"listen": "prerequest",
"script": {
"id": "93f0ec95-83b1-431b-833c-dc138f9cf941",
"exec": [
"if (pm.request.url.query.get('ch') === 'TBD') {",
" throw new Error('Please set the channel to be launched -- replace \"TBD\" with the channel you want to launch')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/launch/tv-input.dtv?ch=TBD",
"host": [
"{{base}}"
],
"path": [
"launch",
"tv-input.dtv"
],
"query": [
{
"key": "ch",
"value": "TBD"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Inputs",
"item": [
{
"name": "Accelerometer -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "e1863cad-26be-453f-a5ff-6fe2531e7b8f",
"exec": [
"if (pm.request.url.query.get('acceleration.x') === \"NONE\" || pm.request.url.query.get('acceleration.y') === \"NONE\" || pm.request.url.query.get('acceleration.z') === \"NONE\") {",
" throw new Error('Not all Acceleration parameters have been set. Please update them accordingly.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/input?acceleration.x=NONE&acceleration.y=NONE&acceleration.z=NONE",
"host": [
"{{base}}"
],
"path": [
"input"
],
"query": [
{
"key": "acceleration.x",
"value": "NONE"
},
{
"key": "acceleration.y",
"value": "NONE"
},
{
"key": "acceleration.z",
"value": "NONE"
}
]
}
},
"response": []
},
{
"name": "Orientation -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "e1863cad-26be-453f-a5ff-6fe2531e7b8f",
"exec": [
"if (pm.request.url.query.get('orientation.x') === \"NONE\" || pm.request.url.query.get('orientation.y') === \"NONE\" || pm.request.url.query.get('orientation.z') === \"NONE\") {",
" throw new Error('Not all Orientation parameters have been set. Please update them accordingly.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/input?orientation.x=NONE&orientation.y=NONE&orientation.z=NONE",
"host": [
"{{base}}"
],
"path": [
"input"
],
"query": [
{
"key": "orientation.x",
"value": "NONE"
},
{
"key": "orientation.y",
"value": "NONE"
},
{
"key": "orientation.z",
"value": "NONE"
}
]
}
},
"response": []
},
{
"name": "Gyroscope -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "e1863cad-26be-453f-a5ff-6fe2531e7b8f",
"exec": [
"if (pm.request.url.query.get('rotation.x') === \"NONE\" || pm.request.url.query.get('rotation.y') === \"NONE\" || pm.request.url.query.get('rotation.z') === \"NONE\") {",
" throw new Error('Not all Gyroscope parameters have been set. Please update them accordingly.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/input?rotation.x=NONE&rotation.y=NONE&rotation.z=NONE",
"host": [
"{{base}}"
],
"path": [
"input"
],
"query": [
{
"key": "rotation.x",
"value": "NONE"
},
{
"key": "rotation.y",
"value": "NONE"
},
{
"key": "rotation.z",
"value": "NONE"
}
]
}
},
"response": []
},
{
"name": "Magnetometer -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "e1863cad-26be-453f-a5ff-6fe2531e7b8f",
"exec": [
"if (pm.request.url.query.get('magnetic.x') === \"NONE\" || pm.request.url.query.get('magnetic.y') === \"NONE\" || pm.request.url.query.get('magnetic.z') === \"NONE\") {",
" throw new Error('Not all Magnetometer parameters have been set. Please update them accordingly.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/input?magnetic.x=NONE&magnetic.y=NONE&magnetic.z=NONE",
"host": [
"{{base}}"
],
"path": [
"input"
],
"query": [
{
"key": "magnetic.x",
"value": "NONE"
},
{
"key": "magnetic.y",
"value": "NONE"
},
{
"key": "magnetic.z",
"value": "NONE"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Get All Channels",
"request": {
"auth": {
"type": "digest",
"digest": [
{
"key": "nonceCount",
"value": "",
"type": "string"
},
{
"key": "qop",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "nonce",
"value": "",
"type": "string"
},
{
"key": "clientNonce",
"value": "",
"type": "string"
},
{
"key": "opaque",
"value": "",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
},
{
"key": "disableRetryRequest",
"value": true,
"type": "boolean"
},
{
"key": "realm",
"value": "rokudev",
"type": "string"
},
{
"key": "algorithm",
"value": "MD5",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Digest username=\"rokudev\" realm=\"rokudev\" nonce=\"1579124122\" uri=\"/plugin_inspect\" algorithm=\"MD5\" qop=auth nc=00000000 cnonce=\"\" response=\"01695a70dd5c75b3742f4bc3548506b9\"",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "{{base}}/query/apps",
"host": [
"{{base}}"
],
"path": [
"query",
"apps"
]
}
},
"response": []
},
{
"name": "Get Active Channel",
"request": {
"auth": {
"type": "digest",
"digest": [
{
"key": "nonceCount",
"value": "",
"type": "string"
},
{
"key": "qop",
"value": "",
"type": "string"
},
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "nonce",
"value": "",
"type": "string"
},
{
"key": "clientNonce",
"value": "",
"type": "string"
},
{
"key": "opaque",
"value": "",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
},
{
"key": "disableRetryRequest",
"value": true,
"type": "boolean"
},
{
"key": "realm",
"value": "rokudev",
"type": "string"
},
{
"key": "algorithm",
"value": "MD5",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Digest username=\"rokudev\" realm=\"rokudev\" nonce=\"1579124122\" uri=\"/plugin_inspect\" algorithm=\"MD5\" qop=auth nc=00000000 cnonce=\"\" response=\"01695a70dd5c75b3742f4bc3548506b9\"",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "{{base}}/query/active-app",
"host": [
"{{base}}"
],
"path": [
"query",
"active-app"
]
}
},
"response": []
},
{
"name": "Launch Dev Channel",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/launch/dev",
"host": [
"{{base}}"
],
"path": [
"launch",
"dev"
]
}
},
"response": []
},
{
"name": "Launch Channel -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "47e90206-4843-4fdc-bcee-9bcc6f75f2ec",
"exec": [
"if (pm.request.url.getPath().includes('channel-id-to-replace')) {",
" throw new Error('No Channel ID specified -- please replace \"channel-id-to-replace\" with the correct channel.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/launch/channel-id-to-replace",
"host": [
"{{base}}"
],
"path": [
"launch",
"channel-id-to-replace"
]
}
},
"response": []
},
{
"name": "Install Channel -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "47e90206-4843-4fdc-bcee-9bcc6f75f2ec",
"exec": [
"if (pm.request.url.getPath().includes('channel-id-to-replace')) {",
" throw new Error('No Channel ID specified -- please replace \"channel-id-to-replace\" with the correct channel.')",
"} else if (pm.request.url.getPath().includes('install/dev')) {",
" throw new Error('Unable to sideload a cannel with this request -- please use the sideload command')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/install/channel-id-to-replace",
"host": [
"{{base}}"
],
"path": [
"install",
"channel-id-to-replace"
]
}
},
"response": []
},
{
"name": "Get Device Info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/device-info",
"host": [
"{{base}}"
],
"path": [
"query",
"device-info"
]
}
},
"response": []
},
{
"name": "Get App Icon -- Dev",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/icon/dev",
"host": [
"{{base}}"
],
"path": [
"query",
"icon",
"dev"
]
}
},
"response": []
},
{
"name": "Get App Icon -- Template",
"event": [
{
"listen": "test",
"script": {
"id": "5b41d2ec-132a-4745-9f05-adeeccb1f37e",
"exec": [
"if (pm.request.url.getPath().includes('channel-id-to-replace')) {",
" throw new Error('No Channel ID specified -- please replace \"channel-id-to-replace\" with the correct channel.')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/icon/channel-id-to-replace",
"host": [
"{{base}}"
],
"path": [
"query",
"icon",
"channel-id-to-replace"
]
}
},
"response": []
},
{
"name": "Search -- Template",
"event": [
{
"listen": "prerequest",
"script": {
"id": "d820f966-5c92-48e8-93e6-5da03d09c205",
"exec": [
"if (!pm.request.url.query.get('keyword')) {",
" throw new Error('Keyword parameter is required!')",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{base}}/search/browse?keyword=",
"host": [
"{{base}}"
],
"path": [
"search",
"browse"
],
"query": [
{
"key": "keyword",
"value": "",
"description": "STRING, REQUIRED: The content title, channel name, person name, or keyword to be searched. If title is specified, it will be automatically used for the keyword value if keyword is not specified."
},
{
"key": "title",
"value": "",
"description": "STRING: The exact content title, channel name, person name, or keyword to be matched (ASCII case-insensitive).",
"disabled": true
},
{
"key": "type",
"value": "",
"description": "STRING: one of \"movie\", \"tv-show\", \"person\", \"channel\", or \"game.\" This parameter is recommended as otherwise the search results are unconstrained and may cause the desired item to not be found due to result limits",
"disabled": true
},
{
"key": "tsmid",
"value": "",
"description": "STRING: A TMS ID for a movie, TV show, or person. If known, this parameter is recommended to be passed in conjunction with the keyword and type parameters as this should most likely provide the desired search result.",
"disabled": true
},
{
"key": "season",
"value": "",
"description": "NUMBER: A season number for a TV show (series), e.g. 1, 2, 3, ... If specified for a tv-show search, and the TV show is found, the specified season will be picked in the Seasons list to be launched. If not specified or not found, the default (typically most recent) season will be selected.",
"disabled": true
},
{
"key": "show-unavailable",
"value": "",
"description": "BOOLEAN: Allows the general keyword search results to include upcoming movie / tv-shows that are not currently available on Roku.",
"disabled": true
},
{
"key": "match-any",
"value": "",
"description": "BOOLEAN: If there are multiple results matching the query, automatically selects the arbitrary first result. If this is not specified, the search will stop if the results do not indicate a unique result",
"disabled": true
},
{
"key": "provider-id",
"value": "",
"description": "STRING: One or more Roku channel IDs specifying the preferred/target provider. If specified, and the search results are available, the first provider available will be selected (and launched if so specified). The value may be specified as a comma separated list. E.g. \"12,13\" indicates that Netflix should be used (if available), else Amazon Video (if available).",
"disabled": true
},
{
"key": "provider",
"value": "",
"description": "STRING: One or more Roku channel titles specifying the preferred/target provider. If specified, and the search results are available, the first provider available will be selected. The value may be specified as a comma separated list. E.g. \"Amazon Video, VUDU\" indicates that Amazon Video should be used (if available), else VUDU (if available). Provider names are must be a full title match (case-insensitive) against the user's installed channels to be recognized.",
"disabled": true
},
{
"key": "launch",
"value": "",
"description": "BOOLEAN: Specifies that if the search content is found and a specified provider is available, the provider channel should be launched.",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "Get App UI",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/app-ui",
"host": [
"{{base}}"
],
"path": [
"query",
"app-ui"
]
}
},
"response": []
},
{
"name": "Get Player Info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base}}/query/media-player",
"host": [
"{{base}}"
],
"path": [
"query",
"media-player"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
{
"id": "fb615b24-4e5c-4016-b8fe-4a806895c27d",
"name": "Roku (No Webdriver)",
"values": [
{
"key": "Roku IP",
"value": "127.0.0.1",
"enabled": true
},
{
"key": "base",
"value": "http://{{Roku IP}}:8060",
"enabled": true
},
{
"key": "home",
"value": "home",
"enabled": true
},
{
"key": "rev",
"value": "rev",
"enabled": true
},
{
"key": "fwd",
"value": "fwd",
"enabled": true
},
{
"key": "play",
"value": "play",
"enabled": true
},
{
"key": "select",
"value": "select",
"enabled": true
},
{
"key": "left",
"value": "left",
"enabled": true
},
{
"key": "right",
"value": "right",
"enabled": true
},
{
"key": "down",
"value": "down",
"enabled": true
},
{
"key": "up",
"value": "up",
"enabled": true
},
{
"key": "back",
"value": "back",
"enabled": true
},
{
"key": "instantreplay",
"value": "instantreplay",
"enabled": true
},
{
"key": "info",
"value": "info",
"enabled": true
},
{
"key": "backspace",
"value": "backspace",
"enabled": true
},
{
"key": "search",
"value": "search",
"enabled": true
},
{
"key": "enter",
"value": "enter",
"enabled": true
},
{
"key": "keydown",
"value": "keydown",
"enabled": true
},
{
"key": "keyup",
"value": "keyup",
"enabled": true
},
{
"key": "keypress",
"value": "keypress",
"enabled": true
},
{
"key": "username",
"value": "rokudev",
"enabled": true
},
{
"key": "password",
"value": "Pass123",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2020-03-11T19:44:32.387Z",
"_postman_exported_using": "Postman/7.19.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment