1.1 KiB
1.1 KiB
title | description | menu | aliases | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Marker | Represents the last read position within a user's timelines. |
|
|
Example
{
"last_read_id": "103194548672408537",
"version": 462,
"updated_at": "2019-11-24T19:39:39.337Z"
}
Attributes
last_read_id
Description: The ID of the most recently viewed entity.
Type: String (cast from integer but not guaranteed to be a number)
3.0.0 - added
version
Description: An incrementing counter, used for locking to prevent write conflicts.
Type: Integer
Version history:
3.0.0 - added
updated_at
Description: The timestamp of when the marker was set.
Type: String (ISO 8601 Datetime)
3.0.0 - added
See also
{{< page-relref ref="methods/markers" caption="markers API methods" >}}
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/marker_serializer.rb" caption="app/serializers/rest/marker_serializer.rb" >}}