webCoRE icon indicating copy to clipboard operation
webCoRE copied to clipboard

Enable custom fuel stream urls

Open jp0550 opened this issue 7 years ago • 0 comments

Enable custom fuel stream url per our conversation on community.webcore.co to enable custom (local) urls to be sent to the UI.

Tested for backwards compatibility for both UI and backend.

Hubitat's version will have something like this in the getFuelStreamUrl's method

return [
		list : [l: true, u: baseUrl + "intf/fuelstreams/list?access_token=${state.accessToken}"],
                get  : [l: true, u: baseUrl + "intf/fuelstreams/get?id={fuelStreamId}&access_token=${state.accessToken}", p: 'fuelStreamId']
    ]

jp0550 avatar Aug 11 '18 03:08 jp0550