Methods: media/folder | media/folder/create | media/folder/update | media/folder/delete | live/folder | live/folder/create | live/folder/update | live/folder/delete | materials/folder | materials/folder/create | materials/folder/update | materials/folder/delete
A list of folders in video
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/media/folder?apikey=[API_KEY]&code=XXXXXX&limit=100&offset=0&sortfield=name&sortdirection=asc
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <countTotal>3</countTotal> <Folders> <Item> <code>XXXXXX</code> <title>test folder</title> <fileCount>1</fileCount> <fileSize>71708304</fileSize> <added>2021-11-11 11:11:11</added> <duration>61</duration> </Item> </Folders> <Medias> <Item> <Title>demovideo.avi</Title> <Code>XXXXXX</Code> <Type>video</Type> <Width>1600</Width> <Height>900</Height> <MediaStatus>Done</MediaStatus> <Duration>61</Duration> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/8qFbgDZS&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <DownloadLink> https://bs-boomstream.com/balancer/hash:yyyyyy/xxxxxx.orig </DownloadLink> <Poster> <Code>XXXXXX-a1</Code> <Width>1600</Width> <Height>900</Height> <Url>https://bs.boomstream.com/balancer/XXXXXX-a1.jpg</Url> </Poster> <Transcodes> <Item> <Code>XXXXXX-XXXXXX</Code> <Title>1080p</Title> <Width>1600</Width> <Height>900</Height> <PseudoMP4>https://bs.boomstream.com/balancer/XXXXXX.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/XXXXXX/playlist.m3u8</AppleHLS> </Item> </Transcodes> <Adaptive/> <Screenshots> <Item> <Code>o9xO8V9w-a21</Code> <Width>1600</Width> <Height>900</Height> <Url>https://bs.boomstream.com/balancer/XXXXXX.jpg</Url> </Item> </Screenshots> </Item> </Medias> <Status>Success</Status> </Response>
Folder creation in video
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/media/folder/create?apikey=[API_KEY]&parent_code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test</title> <Status>Success</Status> </Response>
Updating a folder in video
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/media/folder/update?apikey=[API_KEY]&code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test 1</title> <fileCount>0</fileCount> <fileSize>0</fileSize> <added>2021-11-11 11:11:11</added </Response>
Deleting a folder in video
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/media/folder/delete?apikey=[API_KEY]&code=XXXXXX
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <Message>Folder is successfully deleted</Message> <Status>Success</Status> </Response>
A list of folders in live
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/live/folder?apikey=[API_KEY]&code=XXXXXX&limit=1&offset=0&sortfield=name&sortdirection=asc
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <countTotal>5</countTotal> <Folders> <Item> <code>XXXXXX</code> <title>test folder</title> <fileCount>1</fileCount> <added>2021-11-11 11:11:11</added> </Item> </Folders> <Medias> <Item> <Title>ip-camera</Title> <Code>XXXXXX</Code> <PublishKey>xxxxxxxx</PublishKey> <EncoderLink> https://boomstream.com/api/live/encoder?hash=xxxxxx&code=xxxxxx </EncoderLink> <OnlineStatus>False</OnlineStatus> <RecordStatus>False</RecordStatus> <Concurrent>0</Concurrent> <CreationDate>2021-11-11 11:11:11</CreationDate> <Type>camera</Type> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/XXXXXX&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <Poster> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Poster> <Recordings> <Item> <Title>Promo recording</Title> <Code>xxxxxxxx</Code> <Type>video</Type> <Width>640</Width> <Height>352</Height> <MediaStatus>Done</MediaStatus> <Duration>5</Duration> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/XXXXXX&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <DownloadLink>https://bs.boomstream.com/balancer/hash:6a3ef95256df7b0cfa24dcbf9002d211/xxxxxxxxx.orig</DownloadLink> <Poster> <Code>xxxxxx-a1</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/xxxxxx-a1.jpg</Url> </Poster> <Transcodes> <Item> <Code>xxxxxx-xxxxxx</Code> <Title>360p</Title> <Width>198</Width> <Height>360</Height> <PseudoMP4>https://bs.boomstream.com/balancer/xxxxxx-xxxxxx.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/xxxxxx-xxxxxx/playlist.m3u8</AppleHLS> </Item> </Transcodes> <Adaptive> <AppleHLS>https://bs.boomstream.com/adaptive/xxxxxx/playlist.m3u8</AppleHLS> </Adaptive> <Screenshots> <Item> <Code>xxxxxx-a1</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/xxxxxx-a1.jpg</Url> </Item> </Screenshots> </Item> </Recordings> <UpcomingLive/> <RestreamHosts/> <CameraUrl>rtsp://11.111.111.111:111</CameraUrl> <CameraAccount>[]</CameraAccount> <CameraIsActive>false</CameraIsActive> </Item> <Item> <Title>test trans</Title> <Code>XXXXXX</Code> <PublishKey>xxxxxx-xxxxxx</PublishKey> <EncoderLink> https:/.boomstream.com/api/live/encoder?hash=YYYYYY&code=XXXXXX </EncoderLink> <OnlineStatus>False</OnlineStatus> <RecordStatus>False</RecordStatus> <Concurrent>0</Concurrent> <CreationDate>2021-11-11 11:11:11</CreationDate> <Type>live</Type> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/BdDjawGu&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <Poster/> <Screenshots/> <Recordings/> <UpcomingLive/> <RestreamHosts/> </Item> </Medias> <Status>Success</Status> </Response>
Folder creation in live
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/live/folder/create?apikey=[API_KEY]&parent_code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test</title> <Status>Success</Status> </Response>
Updating a folder in live
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/folder/update?apikey=[API_KEY]&code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test 1</title> <fileCount>0</fileCount> <fileSize>0</fileSize> <added>2021-11-26 10:52:59</added> <Status>Success</Status> </Response>
Deleting a folder in live
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/folder/delete?apikey=[API_KEY]&code=XXXXXX
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <Message>Folder is successfully deleted</Message> <Status>Success</Status> </Response>
A list of folders in materials
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/materials/folder?apikey=[API_KEY]&code=XXXXXX&limit=1&offset=0&sortfield=name&sortdirection=asc
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <countTotal>4</countTotal> <Folders> <Item> <code>XXXXXX</code> <title>test folder</title> <fileCount>2</fileCount> <fileSize>0</fileSize> <added>2021-11-11 11:11:11</added> <duration>0</duration> </Item> </Folders> <Medias> <Item> <Title>boomstream3.jpg</Title> <Code>XXXXXX</Code> <Type>image</Type> <MediaStatus>Done</MediaStatus> <Duration>0</Duration> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/prAVy9Dy&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <DownloadLink> https://bs.boomstream.com/balancer/hash:XXXXXX/YYYYYY.orig </DownloadLink> <Poster> <Code>XXXXXX-m2</Code> <Width/> <Height/> <Url>https://bs.boomstream.com/balancer/XXXXXX-m2.jpg</Url> </Poster> <Screenshots> <Item> <Code>XXXXXX-m1</Code> <Width/> <Height/> <Url>https://bs.boomstream.com/balancer/XXXXXX-m1.jpg</Url> </Item> </Screenshots> </Item> <Status>Success</Status> </Response>
Folder creation in materials
Input parameters
Required parameters:
Optional parameters:
Sample query:
https://boomstream.com/api/materials/folder/create?apikey=[API_KEY]&parent_code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test</title> <Status>Success</Status> </Response>
Updating a folder in materials
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/materials/folder/update?apikey=[API_KEY]&code=XXXXXX&title=YYYYYY
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <code>XXXXXX</code> <title>Test 1</title> <fileCount>0</fileCount> <fileSize>0</fileSize> <added>2021-11-11 11:11:11</added> <Status>Success</Status> </Response>
Deleting a folder in materials
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/materials/folder/delete?apikey=[API_KEY]&code=XXXXXX
Sample response:
<?xml version="1.0" encoding="utf-8"?> <Response> <Message>Folder is successfully deleted</Message> <Status>Success</Status> <Version>1.0</Version> <Versions> <Item> <version>1.0</version> <description>Boomstream API v.1.0 loads by default</description> </Item> <Item> </Response>