NoteData
public struct NoteData : Content
Used to obtain the contents of a UserNote
for display in a non-profile-viewing context.
Returned by:
GET /api/v3/user/notes
GET /api/v3/users/ID/note
POST /api/v3/user/note
See UserController.notesHandler(_:)
, UserController.noteHandler(_:data:)
.
-
Timestamp of the note’s creation.
Declaration
Swift
let createdAt: Date
-
Timestamp of the note’s last update.
Declaration
Swift
let updatedAt: Date
-
The user the note is written about. The target user does not get to see notes written about them.
Declaration
Swift
let targetUser: UserHeader
-
The text of the note.
Declaration
Swift
var note: String
-