added the things

master
Daniel Martinez 2018-06-25 04:16:36 -04:00
parent 5b562aeb66
commit d63ee89c95
1 changed files with 32 additions and 0 deletions

32
the_things Normal file
View File

@ -0,0 +1,32 @@
##Remote
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "left" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "right" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "up" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "down" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "select" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "back" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "menu" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "togglefullscreen" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "queue" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "info" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "skipnext" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "skipprevious" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "playpause" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "volumeup" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "volumedown" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "fullscreen" }, "id": 1 } }' "http://192.168.1.130:5287/jsonrpc"