NoteCreateData
public struct NoteCreateData : Content
extension NoteCreateData: RCFValidatable
Used to create a UserNote
when viewing a user’s profile. Also used to create a Karaoke song log entry.
Required by:
/api/v3/users/:userID/note
/api/v3/karaoke/:songID/logperformance
See UsersController.noteCreateHandler(_:data:)
.
-
The text of the note.
Declaration
Swift
var note: String
-
Declaration
Swift
func runValidations(using decoder: ValidatingDecoder) throws