title: WOWZA Streaming engine REST API not updating RTMP url
body: <p>I am trying to re-stream Live "RTMP" stream through wowza Streaming engine. I am using wowza REST API for this purpose. I was able to create stream file  but RTMP URI target does not get created/updated in this file. following are detailed steps followed and results obtained. 
  1. to create stream file with following request  </p>
  
  <pre><code>POST: `http://&lt;server-ip&gt;:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/&lt;app-name&gt;/streamfiles`
  </code></pre>
  
  <p>HEADERS:</p>
  
  <pre><code>  Accept :application/json 
       Content-Type: application/json
  </code></pre>
  
  <p>BODY </p>
  
  <pre><code>{
    "name": "test_stream",
    "uri": "rtmp://ingest-sgp-01.lb.nanocosmos.de:80/live/&lt;stream-name&gt;"
  }
  </code></pre>
  
  <p>RESULT </p>
  
  <pre><code>{
    "success": true,
    "message": "",
    "data": null
  }
  </code></pre>
  
  <p>When  I checked state with Stream status RTMP URL was not created in properties. details are as follows
  GET: </p>
  
  <pre><code>`http://&lt;server-ip&gt;:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/&lt;app-name&gt;/streamfiles/test_stream/adv`
  
  BODY
   {
        "enabled": false,
        "canRemove": true,
        "name": "uri",
        "valuhttp://&lt;server-ip&gt;:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/&lt;app-name&gt;/streamfiles/test_stream/adve": null,
        "defaultValue": null,
        "type": "String",
        "sectionName": "Common",
        "section": null,
        "documented": true
      }
  </code></pre>
  
  <p>Again I send PUT request to Server with following details. </p>
  
  <pre><code>http://&lt;server-ip&gt;:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/&lt;app-name&gt;/streamfiles/test_stream/adv
  </code></pre>
  
  <p>BODY</p>
  
  <pre><code>{
     "advancedSettings": [
  {
  "enabled": true,
  "canRemove": true,
  "name": "uri",
  "value": "rtmp://ingest-sgp-01.lb.nanocosmos.de:80/live/Q0f8HNVJ1P",
  "defaultValue": null,
  "type": "String",
  "sectionName": "Common",
  "section": null,
  "documented": true
  },
  {
  "enabled": true,
  "canRemove": true,
  "name": "streamTimeout",
  "value": "0",
  "defaultValue": "12000",
  "type": "Integer",
  "sectionName": "Common",
  "section": null,
  "documented": true
  },
  {
  "enabled": true,
  "canRemove": true,
  "name": "reconnectWaitTime",
  "value": "0",
  "defaultValue": "3000",
  "type": "Integer",
  "sectionName": "Common",
  "section": null,
  "documented": true
  }
  ],
    "serverName": "_defaultServer_"
  }
  </code></pre>
  
  <p>RESULT </p>
  
  <pre><code>{
    "success": true,
    "message": "",
    "data": null
  }
  </code></pre>
  
  <p>but still in streamfile details URI is null
  RESULT </p>
  
  <pre><code>{
        "enabled": false,
        "canRemove": true,
        "name": "uri",
        "value": null,
        "defaultValue": null,
        "type": "String",these End points were hit with. swagger-ui tool provided by wowza, POST man tool with chrome, and nodej
        "sectionName": "Common",
        "section": null,
        "documented": true
      }
  </code></pre>
  
  <p>I am clueless why this RTMP URL is not created/updated via different  requests? these REST end-points were hit with. </p>
  
  <ol>
  <li>swagger-ui tool provided by wowza, </li>
  <li>POST man tool with chrome, </li>
  <li>nodejs Request API.</li>
  </ol>
  
  <p>all results same.  REST service is set to no authentication in the Server.xml file of wowza server. </p>