# REST API V.4 - Append to the same file not working.

**URL:** <https://community.wowza.com/t/rest-api-v-4-append-to-the-same-file-not-working/46878>\
**Category:** Wowza Developer Dojo\
**Created:** [April 26, 2016, 6:02pm UTC](https://community.wowza.com/t/rest-api-v-4-append-to-the-same-file-not-working/46878 "2016-04-26T18:02:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Marcelo\_Henrique\_Car](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@Marcelo\_Henrique\_Car](https://community.wowza.com/u/Marcelo_Henrique_Car)\
**Post date:** [May 3, 2016, 3:14pm UTC](https://community.wowza.com/t/rest-api-v-4-append-to-the-same-file-not-working/46878/2 "2016-05-03T15:14:25Z")

</div>

No help on this issue someone?

tried with:

live

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingpacketizer, mpegdashstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer

versionFile

false

Boolean

appendFile

true

Boolean

No lucky, bellow my body params:

var bodyparam = {

“restURI” : WowzaApiProxy.REST\_URL + “/streamrecorders/” + streamName,

“recorderName” : streamName,

“instanceName” : “_definst_”,

“recorderState” : “”,

“defaultRecorder” : false,

“segmentationType” : “None”,

“outputPath” : “/Library/WowzaStreamingEngine-4.4.1/content/”,

“baseFile” : streamName + ‘.mp4’,

“fileFormat” : “MP4”,

“fileVersionDelegateName” : “com.wowza.wms.livestreamrecord.manager.StreamRecorderFileVersionDelegate”,

“fileTemplate” : “${BaseFileName}”,

“segmentDuration” : 900000,

“segmentSize” : 10485760,

“segmentSchedule” : “0 \* \* \* \* \*”,

“recordData” : true,

“startOnKeyFrame” : true,

“splitOnTcDiscontinuity” : false,

“option” : " — ",

“moveFirstVideoFrameToZero” : true,

“currentSize” : 0,

“currentDuration” : 0,

“recordingStartTime” : “”

};

As per docs the field “segmentationType” : “None” should be doing the work to append to the same file, but no lucky too.

Really need some help on this, don’t know more what to try.

Thanks in advance.

M

---

_[View the full topic](https://community.wowza.com/t/rest-api-v-4-append-to-the-same-file-not-working/46878)._
