BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 24

Advertising
background image

12

bool DeleteContent(int[] contentIds)

Note: Content update and creation operations can only be performed by the File Upload Service.

PagedList<Content> GetAllContent(string marker, int pageSize)

Description
Retrieves the next page of the Content list, sorted alphabetically by

[string] FileName. The returned list will

contain no more items than the defined page size. This method only supports retrieval of image, audio, and video file
types.

Required Permissions
Content: View Content

Parameters

[string] marker: The [string] FileName of the last

Content

instance on the previous page. If the value

is Null, then the method will retrieve the first page.

[int] pageSize: The maximum number of objects returned by the method. If the list of objects that match the
search criteria exceeds the

[int] pageSize limit, the returned list will indicate that it is truncated. If the integer is

not positive, then the method will return the maximum allowed number of objects. Attempting to request more
objects than is allowed will lead to the same result, but without an error.

List<ContentFolder> GetContentFolders(string virtualPath)

Description
Retrieves the first level of subfolders of the parent

ContentFolder

entity, which is specified using its virtual path. Paging

is not implemented for this method because of the limit placed on the maximum number of subfolders within a parent
folder.

Required Permissions
Content: View Content

Advertising