Is there a way to retrieve a single element of an array using the dataquery command of the webapi? I've being trying to provide the subscript to the command, but I couldn't figure out how to do it.
For example lets say variable plublic.foo is an array of n elements, I would get all its elements using the command:
http://192.168.1.2/?command=DataQuery&uri=dl:public.foo&format=json&mode=most-recent
Instead I am interested in getting only the ith element.
You can specify the subscripts of an array element as a comma separated list within parentheses following the column name. For example, if the array subscript is 5 within a single dimensional array, you would specify "dl:public.foo(5)" as the value for the uri parameter.