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

**URL:** https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869
**Category:** Wowza Streaming Engine
**Tags:** rest-api
**Created:** [March 25, 2020, 6:47pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869 "2020-03-25T18:47:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![aaa\_bbb8](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaa\_bbb8](https://community.wowza.com/u/aaa_bbb8)
#### Post date: [March 25, 2020, 6:47pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/1 "2020-03-25T18:47:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![aaa\_bbb8](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaa\_bbb8](https://community.wowza.com/u/aaa_bbb8)
#### Post date: [March 25, 2020, 10:57pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/2 "2020-03-25T22:57:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![aaa\_bbb8](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaa\_bbb8](https://community.wowza.com/u/aaa_bbb8)
#### Post date: [March 25, 2020, 11:24pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/3 "2020-03-25T23:24:20Z")

</div>

**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**

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [March 25, 2020, 11:39pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/4 "2020-03-25T23:39:33Z")

</div>

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](http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/globo-drm/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](https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api)

---

<div class="post-metadata">

### Author: ![aaa\_bbb8](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaa\_bbb8](https://community.wowza.com/u/aaa_bbb8)
#### Post date: [March 25, 2020, 11:24pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/5 "2020-03-25T23:24:18Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [March 25, 2020, 8:25pm UTC](https://community.wowza.com/t/how-do-i-get-the-status-and-reset-stream-operation-of-a-stream-in-an-incomingstream-using-the-rest-api/54869/6 "2020-03-25T20:25:58Z")

</div>

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

```auto
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](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:
