Web page – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 74

Advertising
background image

62

WEB PAGE

WebPage Entity

The WebPage entity has the following properties:

[int] Id:(Read Only) The identifier and primary key of the WebPage instance.

[string] Name: The user-defined name of the WebPage instance. This alternate key must be unique in the
scope of the BrightSign Network account.

[string] PhysicalPath:(Read Only) The external URL of the HTML file in persistent storage.

[long] FileSize:(Read Only) The size of the associated HTML file in bytes.

[string] FileHash:(Read Only) A SHA1 hash of the associated HTML file content.

[DateTime] UploadDate:(Read Only) A UTC timestamp indicating when the Web Page was uploaded to the
BrightSign Network.

[WebPageAsset[]] Assets: A list of

WebPageAsset

entity-relations that reference

Content

instances that are

in use by the WebPage entity. The list is set to Null when not initialized by the server.

[PresentationInfo[]] Presentations:(Read Only) An array of

PresentationInfo

structures denoting

presentations that are currently utilizing the WebPage instance.

WebPageAsset Entity-Relation

The WebPageAsset entity-relation represents the association between a

WebPage

instance and a

Content

instance. It

has the following properties:

[string] FileName: The virtual name of the file represented by the associated Content instance.

[string] RelativePath:(Read Only) The relative path of the associated asset file in relation to the Web Page
HTML file.

[string] PhysicalPath:(Read Only) The external URL of the associated asset file in persistent storage.

[string] FileHash:(Read Only) The SHA-1 hash of the associated asset file contents. The string is provided in
the following format: “SHA1:{FileHash}”.

Advertising