Is there a way to list all variables set on a channel in ARI?

I suspect the answer is no, but I wanted to confirm. I just discovered channel variables in going through the docs, and these seem like a really useful way to persist state/custom data. What I’m wondering though, is if I start a new subscription and then do a GET /channels to list channels, is there a way to also get the channel variables with that list? What about a full set of variables for a channel? It seems like the only way to get channel variable values is to a-know the name of the variable, and b-retrieve it one channel at a time. Is there something I’m missing?

Nope, that’s the way channel variables are really meant to be used. As well, ARI source code is partially built based on the actual documentation you see. If it’s not documented in ARI, then it’s not there. There could be indirect ways to get it, but I can’t think of any.

1 Like

OK, thanks for the confirmation!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.