REST API Recording doesnt work

This was resolved .

This was resolved .

What was your solution? I’m also getting Unknown action: stopRecording when I use the REST API to stop a recording.

<wmsResponse>
<success>false</success>
<message>Unknown action: stopRecording</message>
</wmsResponse>

Hello

You can stop a recording by following the given example here.

Let me know if you have any further problems.

Thanks,

Matt

Hello

You can stop a recording by following the given example here.

Let me know if you have any further problems.

Thanks,

Matt

Thank you. Using curl with the header was the trick. I’d made the mistake of just pasting the url into a browser and expecting it to work.

curl -X PUT --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/streamrecorders/MyDemoStream.stream/actions/stopRecording