<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ivs.help/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Change_Recording</id>
		<title>API Change Recording - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ivs.help/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Change_Recording"/>
		<link rel="alternate" type="text/html" href="https://ivs.help/wiki/index.php?title=API_Change_Recording&amp;action=history"/>
		<updated>2026-06-07T12:24:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ivs.help/wiki/index.php?title=API_Change_Recording&amp;diff=4570&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will update the metadata on other information associated with a specified recording.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3/records/{recordingid...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ivs.help/wiki/index.php?title=API_Change_Recording&amp;diff=4570&amp;oldid=prev"/>
				<updated>2020-04-14T20:00:36Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will update the metadata on other information associated with a specified recording.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3/records/{recordingid...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This API call will update the metadata on other information associated with a specified recording.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3/records/{recordingid}/update?&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Replace {recordingid} with the actual id number of the recording. Recordingss are numbered sequentially when added to VALT.''&lt;br /&gt;
&lt;br /&gt;
===Resource Information===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Method'''&lt;br /&gt;
|POST&lt;br /&gt;
|-&lt;br /&gt;
|'''Headers'''&lt;br /&gt;
|Content-Type:application/json&lt;br /&gt;
|-&lt;br /&gt;
|'''Response Type'''&lt;br /&gt;
|JSON&lt;br /&gt;
|-&lt;br /&gt;
|'''Authentication Required'''&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
The JSON body must be properly formatted. All fields and values should be enclosed in double quotes and separated by a colon.&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Field Name&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''name'''&lt;br /&gt;
|Recording Name&lt;br /&gt;
|no&lt;br /&gt;
|Session 1451&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''template'''&lt;br /&gt;
|JSON object containing field information for the default template of the recording author. This is required if there are any required fields in the template.&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;1&amp;quot;:&amp;quot;1234567890&amp;quot;,&amp;quot;3&amp;quot;:&amp;quot;John Doe&amp;quot;,&amp;quot;4&amp;quot;:&amp;quot;Adult&amp;quot;,&amp;quot;5&amp;quot;:&amp;quot;Suspect&amp;quot;,&amp;quot;6&amp;quot;:&amp;quot;John Smith&amp;quot;}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''{fieldid}'''&lt;br /&gt;
|Value to populate in the specified field ID. Replace {fieldid} with the id number for the field that you wish to populate. Template field IDs can be retrieved by [[API Template Details|listing the details for a specified template.]]&lt;br /&gt;
|no&lt;br /&gt;
|Behavioral Anaylsis&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''share'''&lt;br /&gt;
|Specify users and/or groups the video will be shared with. This is in addition to any default rights.&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;users&amp;quot;:[13,54,23],&amp;quot;groups&amp;quot;:[2,5,13]}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''users'''&lt;br /&gt;
|Array of user IDs the video will be shared with.&lt;br /&gt;
|no&lt;br /&gt;
|[13,54,23]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''groups'''&lt;br /&gt;
|Array of group IDs the video will be shared with.&lt;br /&gt;
|no&lt;br /&gt;
|[2,5,13]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;|'''retention'''&lt;br /&gt;
|&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;type&amp;quot;:&amp;quot;for&amp;quot;,&amp;quot;for&amp;quot;:{&amp;quot;days&amp;quot;:30}}&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''type'''&lt;br /&gt;
|Retention Type (Valid Values: inherit,infinitely,until,for)&lt;br /&gt;
|no&lt;br /&gt;
|until&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''until'''&lt;br /&gt;
|Date videos will be retained until.&lt;br /&gt;
|no&lt;br /&gt;
|06-01-2020&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''for'''&lt;br /&gt;
|Number of hours, days, or minutes videos will be retained for.&lt;br /&gt;
|no&lt;br /&gt;
|&amp;quot;for&amp;quot;:{&amp;quot;days&amp;quot;:30}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|'''days'''&lt;br /&gt;
|Number of days to retain video. (Should only be specified if type is set to '''for'''.)&lt;br /&gt;
|no&lt;br /&gt;
|30&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|'''hours'''&lt;br /&gt;
|Number of hours to retain video. (Should only be specified if type is set to '''for'''.)&lt;br /&gt;
|no&lt;br /&gt;
|24&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|'''minutes'''&lt;br /&gt;
|Number of minutes to retain video. (Should only be specified if type is set to '''for'''.)&lt;br /&gt;
|no&lt;br /&gt;
|180&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Response===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Reason&lt;br /&gt;
|-&lt;br /&gt;
|200&lt;br /&gt;
|Recording Started Successfully&lt;br /&gt;
|-&lt;br /&gt;
|400&lt;br /&gt;
|Invalid Request (See Response for Specific Error)&lt;br /&gt;
|-&lt;br /&gt;
|401&lt;br /&gt;
|Unauthorized&lt;br /&gt;
|-&lt;br /&gt;
|404&lt;br /&gt;
|Recording ID Not Found&lt;br /&gt;
|-&lt;br /&gt;
|500&lt;br /&gt;
|JSON Body Formatted Incorrectly&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+JSON Response&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|data&lt;br /&gt;
|-&lt;br /&gt;
|'''id'''&lt;br /&gt;
|ID number for the updated recording.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Request===&lt;br /&gt;
The sample JSON body below is formatted with line breaks and indentation to make it easier to read. This is '''not''' required.&lt;br /&gt;
&amp;lt;pre&amp;gt;https://ivstest1.ad.ipivs.com/api/v3/records/616/update?access_token=e82632d19c523678fea3d1016c6df9e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;name&amp;quot;:&amp;quot;API Update&amp;quot;,&lt;br /&gt;
  &amp;quot;retention&amp;quot;: {&lt;br /&gt;
    &amp;quot;type&amp;quot;:&amp;quot;for&amp;quot;,&lt;br /&gt;
    &amp;quot;for&amp;quot;:&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;days&amp;quot;:30&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Successful Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;id&amp;quot;: 616&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Failure Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;error&amp;quot;:{&lt;br /&gt;
&amp;quot;code&amp;quot;: 404&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>