mjbnz / streamdeck-api-request

StreamDeck API Request Plugin
Other
47 stars 13 forks source link

Help Parsing Response #9

Open IBC-IT opened 1 year ago

IBC-IT commented 1 year ago

I have a GET request (through Samsung Automation Studio) that changes a TV source to a different input. The action works as expected, however I can't get the image to update for a match.

The response for the GET request is: [{"component":"main","capability":"mediaInputSource","command":"setInputSource","arguments":["HDMI3"]}]

as it appears in the browser.

What would be used for JSON Path to identify "HDMI3"?

When I enter "x[0].arguments[0]" for the JSON Path and "HDMI3" for the Expected Value, the image does not change, so I assume something is incorrect. Unless this is related to the latest version Stream Deck (running 6.0.1).