MediaFile
MediaFile('FileInfo.Type' property set to "Media") derived from the 'StoredFile' structure, and is used to reference uploaded files visible in the BSN Content Library by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "Media", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "Odessa Rain.jpg", // [string]
"size": 226675, // [uint]
"hash": "SHA1:4B55491958FC06E904D78BF2C965B47629FC5D16", // [string]
"creationDate": "2017-05-22T16:20:26.430Z", // [DateTime]
"lastModifiedDate": "2016-09-20T09:39:42.253Z", // [DateTime]
"id": 64947, // [int]
"mediaType": "Image", // one of { "Text", "Image", "Video", "Audio" } enumeration values
"path": "http://localhost:8081/Content/Images/782e4c7d-f5a1-4b21-bd76-3706fff20063.jpg" // [URI]
} |
DynamicPlaylistFile
DynamicPlaylistFlle ('FileInfo.Type' property set to "DynamicPlaylist") is derived from the 'StoredFile' structure, and is used to reference dynamic playlists existing in BSN by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "DynamicPlaylist", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "My First Dynamic Playlist", // [string]
"size": 912, // [uint]
"hash": "SHA1:E7BA1A1668AB68E6A0090A0A950D43A25A316D8E", // [string]
"creationDate": "2017-01-15T23:46:46.287Z", // [DateTime]
"lastModifiedDate": "2018-01-11T10:17:17.960Z", // [DateTime]
"id": 31711, // [int]
"path": "http://localhost:8081/Content/DynamicPlaylists/My First Dynamic Playlist.xml" // [URI]
} |
TaggedPlaylistFile
TaggedPlaylistFile ('FileInfo.Type' property set to "TaggedPlaylist") is derived from the 'StoredFile' structure, and is used to reference tagged playlists existing in BSN by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "TaggedPlaylist", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "My First Tagged Playlist", // [string]
"size": 0, // [uint]
"hash": "SHA1:E7BA1A1668AB68E6A0090A0A950D43A25A316D8E", // [string]
"creationDate": "2017-02-08T00:00:55.273Z", // [DateTime]
"lastModifiedDate": "2017-02-08T00:00:55.273Z", // [DateTime]
"id": 47323, // [int]
"path": "http://localhost:8080/bs/GetFile.ashx?type=TaggedPlaylist&token=7E2DBC0CC21E2449D06CA32836AD86BB" // [URI]
} |
LiveTextFeedFile
LiveTextFeedFile ('FileInfo.Type' property set to "LiveTextFeed") is derived from the 'StoredFile' structure, and is used to reference live text feeds existing in BSN by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "LiveTextFeed", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "My First Live Text Feed", // [string]
"size": 912, // [uint]
"hash": "SHA1:2C95B879DD75A398CB37AAA7851F3ACBC5CE7419", // [string]
"creationDate": "2017-02-08T00:17:57.573Z", // [DateTime]
"lastModifiedDate": "2018-01-09T23:39:02.123Z", // [DateTime]
"id": 47325, // [int]
"path": "http://localhost:8081/Content/Eugene/Feeds/My First Live Text Feed.xml" // [URI]
} |
LiveMediaFeedFile
LiveMediaFeedFile ('FileInfo.Type' property set to "LiveMediaFeed") is derived from the 'StoredFile' structure, and is used to reference live media feeds existing in BSN by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "LiveMediaFeed", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "My First Live Media Feed", // [string]
"size": 378, // [uint]
"hash": "SHA1:4DA06FEE7FDDA07511BC4A876CF79989D034550B", // [string]
"creationDate": "2017-02-08T00:17:38.130Z", // [DateTime]
"lastModifiedDate": "2017-06-08T11:32:41.280Z", // [DateTime]
"id": 47324, // [int]
"path": "http://localhost:8081/Content/LiveMediaFeeds/My First Live Media Feed.xml" // [URI]
} |
WebPageFile
WebPageFile ('FileInfo.Type' property set to "WebPage") is derived from the 'StoredFile' structure, and is used to reference (regular) webpages uploaded to BSN by ID. See the example below (your values will vary for all but "type"):
Code Block |
---|
{
"type": "WebPage", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "My First Web Page", // [string]
"size": 20224, // [uint]
"hash": "SHA1:1F224E31B9265062BE58E7D12FE3332E03536D48", // [string]
"creationDate": "2017-02-19T20:10:11.287Z", // [DateTime]
"lastModifiedDate": "2016-12-01T23:46:35.793Z", // [DateTime]
"id": 47487, // [int]
"path": "http://localhost:8081/Content/WebPages/9184f22b-51da-42e3-9900-c9c5bba03e6e.html" // [URI]
} |