Is there a tag I can add to my url query that filters the output to specfic channels ID of a probe.
/api/table.json?content=channels&output=json&columns=name,lastvalue_&id=54907&
...this gives several channels number 1-6. I only wish to display channel ID 4.
Article Comments
Hi callaghana,
You can change the output format of the API call:
"xml": default format (recommended)
"xmltable": a HTML table in XML format
"csvtable": comma separated format
"html": HTML table
More information can be found here
Feb, 2020 - Permalink
Thank you Moritz - I can't get xmltable to work. this and the other XML examples don't display data but trigger a XML file download but I need the data to be live.
Feb, 2020 - Permalink
I might be going about this the wrong way. Do you know of a way to format ahtml page that sits on the the xml/json?
Feb, 2020 - Permalink
Hi there,
you can use the "&count=1" option to limit the output. However, in this way you can only exclude channels which are at the end of the output.
Feb, 2020 - Permalink