UserModerationData
public struct UserModerationData : Content
Used to return data a moderator needs to moderate a user.
Returned by:
GET /api/v3/mod/user/id
-
‘Main’ account for this user
Declaration
Swift
var header: UserHeader
-
Sub-accounts that this user has created.
Declaration
Swift
var subAccounts: [UserHeader]
-
This user’s access level. Main user and all sub accounts share an access level.
Declaration
Swift
var accessLevel: UserAccessLevel
-
If this user is temporarily quarantined, this will contain the end time for the quarantine. While quarantined, the user can log in and read content as normal but cannot create content in any public area (posts, edit posts, create forums, participate in FriendlyFezzes, or edit their profile).
Declaration
Swift
var tempQuarantineEndTime: Date?
-
All reports against any user account this user controls.
Declaration
Swift
var reports: [ReportModerationData]
-
Declaration
Swift
init(user: User, subAccounts: [User], reports: [ReportModerationData]) throws