Content getcontent(int contentid) – BrightSign Network Web API Reference Manual v.3.8 User Manual
Page 26

14
Parameters
•
[Int[]] contentIds: An array of [int] Id values for the Content instances being requested. The maximum
number of items is limited to 100 by the server. Attempting to request more than the maximum allowed number of
objects will cause an error, while passing an empty array will lead to an immediate empty response without an error.
PagedList
Description
Retrieves the next page of a
list containing file names matched with the specified pattern. The returned list is
organized by
[string] FileName and may not contain 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] fileNamePattern: The exact [string] FileName of the Content instance (or its wildcard-based
pattern). Supported wildcards currently include “*”, “?”, and “[‘and’]”.
•
[string] marker: The [string] FileName of the last
instance on the previous 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.
Content GetContent(int contentId)
Description
Retrieves a single
instance with the specified identifier. This method returns Null if there are no Content
instances containing the specified identifier. This method only supports retrieval of image, audio, and video file types.