ForumModerationData
public struct ForumModerationData : Content
Used to return data a moderator needs to moderate a forum.
Returned by:
GET /api/v3/mod/forum/id
-
The forum’s ID.
Declaration
Swift
var forumID: UUID
-
the forum’s category.
Declaration
Swift
var categoryID: UUID
-
The forum’s creator.
Declaration
Swift
var creator: UserHeader
-
The forum’s title.
Declaration
Swift
var title: String
-
Time forum was created.
Declaration
Swift
var createdAt: Date
-
Whether the forum is in read-only state, or is quarantined.
Declaration
Swift
var moderationStatus: ContentModerationStatus
-
TRUE if the forum has been soft-deleted
Declaration
Swift
var isDeleted: Bool
-
Previous edits to the forum title
Declaration
Swift
var edits: [ForumEditLogData]
-
User reports against this forum
Declaration
Swift
var reports: [ReportModerationData]
-
Declaration
Swift
init(_ forum: Forum, edits: [ForumEditLogData], reports: [ReportModerationData], on req: Request) throws