GET api/v3/sitenotice/admin/theme

Pulls the list of company themes which can be assigned to a site notice. This list contains the theme names and id values. It also contains the domains being used for each theme.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Ghostery.Privacy.Common.Objects.Site3.Theme
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Link

Ghostery.Privacy.Common.Objects.Site3.LinkTheme

None.

Button

Ghostery.Privacy.Common.Objects.Site3.ButtonTheme

None.

Banner

Ghostery.Privacy.Common.Objects.Site3.BannerTheme

None.

Barrier

Ghostery.Privacy.Common.Objects.Site3.BarrierTheme

None.

L2

Ghostery.Privacy.Common.Objects.Site3.L2Theme

None.

Styles

string

None.

BackgroundColor

string

None.

FontColor

string

None.

Logo

string

None.

NoticeCount

integer

None.

Notices

Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path '[0].notices[0].templates[0].notices'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Ghostery.Privacy.Common.Objects.Site3.SiteNotice'. Path '[0].notices[0].templates[0].notices'.