EventFeedbackReport
public struct EventFeedbackReport : Content, Sendable
THO-level calls to collect feedback reports; also for users to get their own feedback record (for updating their feedback).
Returned by: GET /api/v3/feedback/id/:event_id
Returned by: GET /api/v3/feedback/uid/:event_uid
Returned by: GET /api/v3/admin/feedback/reports
Returned by: GET /api/v3/admin/feedback/report/:report_id
-
The database ID for this report; used for referencing or manipulating it later. May be nil in the case where no report has been filed and this entity contains default values for several fields.
Declaration
Swift
var id: UUID?
-
Twitarr user that wrote the report.
Declaration
Swift
var reportingUser: UserHeader
-
The time of the most recent update to this report
Declaration
Swift
var reportModDate: Date?
-
Declaration
Swift
var event: EventData?
-
Declaration
Swift
var eventTitle: String
-
Declaration
Swift
var eventLocation: String
-
Declaration
Swift
var eventTime: Date
-
Declaration
Swift
var hostName: String
-
Reporter’s estimate of the event attendance
Declaration
Swift
var attendance: String
-
Reporter’s notes on how the event went generally
Declaration
Swift
var recapString: String
-
Any issues the reporter chose to share
Declaration
Swift
var issuesString: String
-
For TwitarrTeam and above. NULL for normal users
Declaration
Swift
var adminFields: AdminFields?
-
Declaration
Swift
struct AdminFields : Content, Sendable
-
Declaration
Swift
init(_ report: EventFeedback, author: UserHeader) throws
-
Declaration
Swift
init(author: UserHeader, event: Event, realName: String?) throws