Wowza Community

load smil into application via Api REST

Hi all.

Someone has some example of how to assign a smil to an application via api rest

Hello @Mike Washosky, I will share some docs with you on how to do this with examples. I hope this helps. If you still need a consultant to help you, please leave me a comment here and I can send you a list.



  3. I recommend you try this- it is very helpful to access examples as well.

Thx Rose, but still have a error msg

{“message”:“The request requires user authentication”,“success”:false,“code”:“401”,“wowzaServer”:“4.7.6”}

This is my line

curl --digest -u ‘user:pass’ -X PUT -H ‘Accept:application/json; charset=utf-8’ -H ‘Content-type:application/json; charset=utf-8’ http://my-server-ip:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/some-app-name/smilfiles/live.smil/actions/connect?connectAppName=some-app-name≈pInstance=definst&mediaCasterType=liverepeater

I put the corret user and pass, but still show me that msg :confused:

Sorry to hear that. I would suggest submitting a support ticket first to see if our engineers can test for an problem. You can do that here:

thx Rose, I’m going to open a ticket then