There is a way:
examples taken from here in the Stream Management section:
https://www.wowza.com/docs/how-to-use-curl-to-query-wowza-rest-api
Get a list of stream files
curl -X GET --header ‘Accept:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamfiles
Add a stream file
curl -X POST --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-type:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamfiles/axis -d’
{
“restURI”: “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamfiles”,
“streamFiles”: [
{
“id”: “connectAppName= testlive&appInstance=definst&mediaCasterType=rtp”,
“href”: “http://localhohst:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamfiles/connectAppName=testlive&appInstance=definst&mediaCasterType=rtp”
}
]
}’
Connect a stream file
curl -X PUT --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-type:application/json; charset=utf-8’ “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/streamfiles/metallica/actions/connect?connectAppName=testlive&appInstance=definst&mediaCasterType=rtp”
Remove a stream file
curl -X DELETE --header ‘Accept:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamfiles/axis