Format for channel vars

I’m using the ARI to create a channel, and one of the parameters is appArgs. This arguments become channel vars according to what I found online. (Is that correct)?

It appears that the statis app (that will work with the channel once created) will be able to receive the arguments. Should the statis app know which arguement means what only based solely on position?

Or should I send key-value pairs as parameters to the ARI post appArgs like:
cars=1,people=20,programmers=0

I couldn’t find any good examples.

appArgs do not become channel variables. They are passed to your ARI application and have no meaning in Asterisk itself. The only meaning is what you give it, including whether to use key value pair, or position, or something else.