How do I get the status and reset stream operation of a stream in an incomingstream using the rest API

How do I get the status and reset stream operation of a stream in an incomingstream using the rest API

Instead of restarting the application, I need the reset stream’s operation API

And I need to get the rest API for stream status like active or wating for stream and reset stream

don’t restart an applicatioon api

example

Try this to restart just the stream (I have streamName as example of what I called the stream).

curl -X PUT --header ‘Accept:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/streamName/actions/restart

Using the REST API, you should be able to get the status of a stream using the following endpoint:

[/v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/instances/{instanceName}/incomingstreams/{streamName}](http://mediastreamtech.com/rest/#!/applications/getIncomingStreamConfig)

In order to access the REST API documentation, where all the available REST API endpoints are described, you can follow this article:

https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api

Instead of restarting the application, it’s a reset stream operation

If we use the name testlive as an example of an application name, you can restart a single application like this:

curl -X PUT \
-H 'Accept:application/json; charset=utf-8' \
http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/actions/restart

https://www.wowza.com/docs/application-management-query-examples#restart

We have several documents on REST API query examples in our documentation. Use the navigation to the left in our docs as seen here: