Hi
For some reason ive figured i'd make an Apple homekit plugin for homebridge featuring the Meraki MT sensors.
I guess ive got to much time on my hand.
But!
Im unable to fetch the latest information based on serials.
the API keeps returning (in postman) :
{
"errors": [
"'serials' must be an array"
]
}
Solved! Go to solution.
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
Yep! thats it @RaphaelL
Ive tried the serials=[] as postman had that as an example in the postman themplate.
And no matter how i formatted the array on the right side, it complained.
first try with https://api.meraki.com/api/v1/organizations/ORGID/sensor/readings/latest?serials[]=SERIAL and it worked 😄
Thanks!
Excellent ! Glad you got it working !
Hi! Any idea how to format this query in postman itself?