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 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
all
is treated as just another value here; you can’t disableall:forums
and then enableswiftarr:forums
to 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?
-
The URL to use for automated schedule updates. The server polls this every hour to update the Events table.
Declaration
Swift
var scheduleUpdateURL: 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?