SettingsUpdateData
public struct SettingsUpdateData : Content
Used to update the Settings values. Doesn’t update everything–some values aren’t meant to be updated live. The updated values are saved so
that they’ll persist through app launches. Any optional values set to nil are not used to update Settings values.
Required by: POST /api/v3/events/update
See AdminController.settingsUpdateHandler().
-
Declaration
Swift
var minUserAccessLevel: String? -
Declaration
Swift
var enablePreregistration: Bool? -
Declaration
Swift
var maxAlternateAccounts: Int? -
Declaration
Swift
var maximumTwarrts: Int? -
Declaration
Swift
var maximumForums: Int? -
Declaration
Swift
var maximumForumPosts: Int? -
Declaration
Swift
var maxImageSize: Int? -
Declaration
Swift
var maxForumPostImages: Int? -
Minimum seconds a user must wait between photostream uploads.
0disables the limit.Declaration
Swift
var photostreamUploadRateLimit: Int? -
Declaration
Swift
var authRateLimitEnabled: Bool? -
Declaration
Swift
var authRateLimitLoginFailures: Int? -
Declaration
Swift
var authRateLimitUsernameFailures: Int? -
Declaration
Swift
var authRateLimitIPFailures: Int? -
Declaration
Swift
var authRateLimitRecoveryFailures: Int? -
Declaration
Swift
var forumAutoQuarantineThreshold: Int? -
Declaration
Swift
var postAutoQuarantineThreshold: Int? -
Declaration
Swift
var userAutoQuarantineThreshold: Int? -
Declaration
Swift
var allowAnimatedImages: Bool? -
Currently disabled app:feature pairs to enable. Note that
allis treated as just another value here; you can’t disableall:forumsand then enableswiftarr:forumsto disable forums everywhere but swiftarr. Only list deltas here; don’t add every possible app:feature pair to this array.Declaration
Swift
var enableFeatures: [SettingsAppFeaturePair] -
App:feature pairs to disable. Only list deltas here; no need to re-list currently disabled app:feature pairs..
Declaration
Swift
var disableFeatures: [SettingsAppFeaturePair] -
The wifi name of the onboard wifi network
Declaration
Swift
var shipWifiSSID: String? -
Number of seconds before an event to trigger the Soon notifications.
Declaration
Swift
var upcomingEventNotificationSeconds: Int? -
Upcoming event notification setting
Declaration
Swift
var upcomingEventNotificationSetting: EventNotificationSetting? -
Upcoming joined LFG notification setting
Declaration
Swift
var upcomingLFGNotificationSetting: EventNotificationSetting? -
Enable site UI notification data caching
Declaration
Swift
var enableSiteNotificationDataCaching: Bool?
View on GitHub