<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Start_Recording</id>
		<title>API Start Recording - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Start_Recording"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Start_Recording&amp;action=history"/>
		<updated>2026-05-14T13:31:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Start_Recording&amp;diff=4561&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will start a recording in the specified room.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3/rooms/{roomid}/record/start&lt;/pre&gt; ''Replace {roomid} with t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Start_Recording&amp;diff=4561&amp;oldid=prev"/>
				<updated>2020-04-14T19:55:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will start a recording in the specified room.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3/rooms/{roomid}/record/start&amp;lt;/pre&amp;gt; &amp;#039;&amp;#039;Replace {roomid} with t...&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 start a recording in the specified room.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3/rooms/{roomid}/record/start&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Replace {roomid} with the actual id number of the room. Rooms 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;2&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;2&amp;quot;|'''name'''&lt;br /&gt;
|Recording Name&lt;br /&gt;
|yes&lt;br /&gt;
|Session 1451&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&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;
|'''{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;2&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;
|'''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;
|'''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;2&amp;quot;|'''author'''&lt;br /&gt;
|Specifies a user ID to start the recording under. Authenticated user must have change author permissions.&lt;br /&gt;
|no&lt;br /&gt;
|7&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;
|Room 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;
|'''message'''&lt;br /&gt;
|&amp;quot;The recording is started&amp;quot; or contains a detailed message on why the recording could not be started&lt;br /&gt;
|-&lt;br /&gt;
|'''id'''&lt;br /&gt;
|ID number for the new recording.&lt;br /&gt;
|-&lt;br /&gt;
|'''start'''&lt;br /&gt;
|true = recording started successfully, false = recording could not be started (reference messaged for reason)&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/rooms/59/record/start?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 Recording&amp;quot;,&lt;br /&gt;
  &amp;quot;author&amp;quot;:15,&lt;br /&gt;
  &amp;quot;template&amp;quot;:&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;1&amp;quot;:&amp;quot;1234567890&amp;quot;,&lt;br /&gt;
    &amp;quot;3&amp;quot;:&amp;quot;John Doe&amp;quot;,&lt;br /&gt;
    &amp;quot;4&amp;quot;:&amp;quot;Adult&amp;quot;,&lt;br /&gt;
    &amp;quot;5&amp;quot;:&amp;quot;Suspect&amp;quot;,&lt;br /&gt;
    &amp;quot;6&amp;quot;:&amp;quot;John Smith&amp;quot;    &lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;share&amp;quot;: &lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;users&amp;quot;: [45, 46],&lt;br /&gt;
    &amp;quot;groups&amp;quot;: [17,19]&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;message&amp;quot;: &amp;quot;The recording is started&amp;quot;,&lt;br /&gt;
&amp;quot;id&amp;quot;: 612,&lt;br /&gt;
&amp;quot;start&amp;quot;: true&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;data&amp;quot;:{&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;This room is locked&amp;quot;,&lt;br /&gt;
&amp;quot;start&amp;quot;: false&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;code&amp;quot;: 400&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>