Notification
Represents a notification of an event relevant to the user.
Example
Required attributes
id
id
Description: The id of the notification in the database. Type: String (cast from an integer, but not guaranteed to be a number) Version history: Added in 0.9.9
type
type
Description: The type of event that resulted in the notification.
Type: String (Enumerable oneOf)
- follow
= Someone followed you
- mention
= Someone mentioned you in their status
- reblog
= Someone boosted one of your statuses
- favourite
= Someone favourited one of your statuses
- poll
= A poll you have voted in or created has ended
Version history: Added in 0.9.9. poll
added in 2.8.0.
created_at
created_at
Description: The timestamp of the notification. Type: String (ISO 8601 Datetime) Version history: Added in 0.9.9
account
account
Optional attributes
status
status
See also
Last updated
Was this helpful?