Methods: create | update | delete | list | addmedia | deletemedia | listmedia
Create playlist.
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/playlist/create?apikey=[API_KEY]&name=test&description=some%20ftext
Sample response:
<Response> <Items> <Item> <Code>XXXXXXXX</Code> <Name>test</Name> <Duration>0</Duration> <AmountFiles>0</AmountFiles> <AddedDate>2020-01-01 23:23:23</AddedDate> <Description>some text</Description> </Item> </Items> <Status>Success</Status> </Response>
Update information about playlist.
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/playlist/update?apikey=[API_KEY]&code=XXXXXXXX&name=test2&description=text
Sample response:
<Response> <Items> <Item> <Code>XXXXXXXX</Code> <Name>test2</Name> <Duration>60</Duration> <AmountFiles>1</AmountFiles> <AddedDate>2020-01-01 23:23:23</AddedDate> <Description>text</Description> </Item> </Items> <Status>Success</Status> </Response>
Delete playlist.
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/playlist/delete?apikey=[API_KEY]&code=XXXXXXXX
Sample response:
<Response> <Status>Success</Status> </Response>
Get list of playlists.
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/playlist/list?apikey=[API_KEY]
Sample response:
<Response> <Items> <Item> <Name>test2</Name> <Code>XXXXXXXX</Code> <Duration>60</Duration> <AmountFiles>1</AmountFiles> <AddedDate>2020-01-01 23:23:23</AddedDate> <Description>text</Description> </item> </Items> <Status>Success</Status> </Response>
Add media file to playlist.
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/playlist/addmedia?apikey=[API_KEY]&code=XXXXXXXX&media=YYYYYYYY
Sample response:
<Response> <Medias> <Item> <Title>Test video</Title> <Code>YYYYYYYY</Code> <PublishKey></PublishKey> <OnlineStatus>False</OnlineStatus> <RecordStatus>False</RecordStatus> <Concurrent>0</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <Type>video</Type> <Width>640</Width> <Height>480</Height> <MediaStatus>Done</MediaStatus> <Duration>14</Duration> <PlayerCode>&lt;iframe ...... &lt;/iframe&gt;</PlayerCode> <DownloadLink>https://bs.boomstream.com/balancer/hash:1234567890/xxxxxxxx.orig</DownloadLink> <Poster> <Code>xxxxxxxx-a1</Code> <Width>640</Width> <Height>480</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-a1.jpg</Url> </Poster> <Transcodes> <Item> <Code>xxxxxxxx-f33ubar5</Code> <Title>240p</Title> <Width>320</Width> <Height>240</Height> <PseudoMP4>https://bs.boomstream.com/balancer/xxxxxxxx-f33ubar5.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/xxxxxxxx-f33ubar5/playlist.m3u8</AppleHLS> </Item> </Transcodes> <Adaptive> <AppleHLS>https://bs.boomstream.com/adaptive/xxxxxxxx/playlist.m3u8</AppleHLS> </Adaptive> <Screenshots> <Item> <Code>xxxxxxxx-a1</Code> <Width>640</Width> <Height>480</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-a1.jpg</Url> </Item> </Screenshots> </Item> </Medias> <Status>Success</Status> </Response>
Delete media from playlist.
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/playlist/deletemedia?apikey=[API_KEY]&code=XXXXXXXX&media=code=YYYYYYYY
Sample response:
<Response> <Status>Success</Status> </Response>
Get list of media-files from playlist.
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/playlist/listmedia?apikey=[API_KEY]&code=XXXXXXXX
Sample response:
<Response> <Medias> <Item> <Title>Test video</Title> <Code>xxxxxxxx</Code> <PublishKey></PublishKey> <OnlineStatus>False</OnlineStatus> <RecordStatus>False</RecordStatus> <Concurrent>0</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <Type>video</Type> <Width>640</Width> <Height>480</Height> <MediaStatus>Done</MediaStatus> <Duration>14</Duration> <PlayerCode>&lt;iframe ...... &lt;/iframe&gt;</PlayerCode> <DownloadLink>https://bs.boomstream.com/balancer/hash:1234567890/xxxxxxxx.orig</DownloadLink> <Poster> <Code>xxxxxxxx-a1</Code> <Width>640</Width> <Height>480</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-a1.jpg</Url> </Poster> <Transcodes> <Item> <Code>xxxxxxxx-f33ubar5</Code> <Title>240p</Title> <Width>320</Width> <Height>240</Height> <PseudoMP4>https://bs.boomstream.com/balancer/xxxxxxxx-f33ubar5.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/xxxxxxxx-f33ubar5/playlist.m3u8</AppleHLS> </Item> </Transcodes> <Adaptive> <AppleHLS>https://bs.boomstream.com/adaptive/xxxxxxxx/playlist.m3u8</AppleHLS> </Adaptive> <Screenshots> <Item> <Code>xxxxxxxx-a1</Code> <Width>640</Width> <Height>480</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-a1.jpg</Url> </Item> </Screenshots> </Item> </Medias> <Status>Success</Status> </Response>