Skip to content

SudoSOS Back-end API / banners / BannerRequest

Interface: BannerRequest ​

API Request for creating a banner entity.

Properties ​

active ​

ts
active: boolean;

Whether the banner is active. Overrides start and end date


duration ​

ts
duration: number;

How long the banner should be shown (in seconds)


endDate ​

ts
endDate: string;

The end date from which the banner should no longer be shown


name ​

ts
name: string;

Name/label of the banner


startDate ​

ts
startDate: string;

The starting date from which the advertisement should be shown