Wowza 4.8.5, REST api, how to list all live applications? I want to get their names so I can iterate through them.
I think I found it
curl -X GET \ -H 'Accept:application/json; charset=utf-8' \ http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live
And then you to get the live apps
$live = json_decode($response, true); $live = $live['transcoderConfig']['templates']['templates'];
Awesome- that’s it. Here is the call to get the names for all incoming streams for an application if you need this as well.
curl -X GET --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_
There is a Java method also to view all the stream names:
Awesome as always! Thank you so much!