FezEditLogData
public struct FezEditLogData : Content
Used to return FriendlyFezEdit
data for moderators. The only primary data an edit stores is the title, info, and location text fields.
Included in:
Returned by:
GET /api/v3/mod/fez/ID
-
The ID of the fez.
Declaration
Swift
var fezID: UUID
-
The ID of the edit.
Declaration
Swift
var editID: UUID
-
The timestamp of the edit.
Declaration
Swift
var createdAt: Date
-
Who initiated the edit. Usually the fez creator, but could be a moderator. Note that the saved edit shows the state BEFORE the edit, therefore the ‘author’ here changed the contents to those of the NEXT edit (or to the current state).
Declaration
Swift
var author: UserHeader
-
The title of the fez just before
author
edited it.Declaration
Swift
var title: String
-
The info field just before
author
edited it.Declaration
Swift
var info: String
-
The location field just before
author
edited it.Declaration
Swift
var location: String
-
Declaration
Swift
init(_ edit: FriendlyFezEdit, on req: Request) throws