# Wowza Rest API for setting content path and enabling recording for a stream

**URL:** <https://community.wowza.com/t/wowza-rest-api-for-setting-content-path-and-enabling-recording-for-a-stream/47137>\
**Category:** Wowza Streaming Engine\
**Created:** [June 10, 2016, 5:10am UTC](https://community.wowza.com/t/wowza-rest-api-for-setting-content-path-and-enabling-recording-for-a-stream/47137 "2016-06-10T05:10:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lavleen\_gaba](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@Lavleen\_gaba](https://community.wowza.com/u/Lavleen_gaba)\
**Post date:** [June 10, 2016, 5:10am UTC](https://community.wowza.com/t/wowza-rest-api-for-setting-content-path-and-enabling-recording-for-a-stream/47137/1 "2016-06-10T05:10:51Z")

</div>

Which wowza API or xml configuration is responsible to enable the recording of incoming stream and for setting the content path of the stream which is coming from wowza gocoder?

Currently, i am using engine manager but my requirement is to make it dynamic.

Eagerly waiting for the reply.! Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [June 23, 2016, 3:53pm UTC](https://community.wowza.com/t/wowza-rest-api-for-setting-content-path-and-enabling-recording-for-a-stream/47137/2 "2016-06-23T15:53:19Z")

</div>

Hi,

The content path is dictated by the StorageDir property in your install-dir/conf/[app-name]/Application.xml file. This is set when you create the application. You can specify an existing sub-folder when starting a recording. See these [REST API](https://www.wowza.com/docs/stream-recording-query-examples) examples for what’s available from an API point of view.

Regards,

Paul
