diff --git a/content/en/methods/markers.md b/content/en/methods/markers.md index b39618c..f57d66e 100644 --- a/content/en/methods/markers.md +++ b/content/en/methods/markers.md @@ -24,6 +24,8 @@ aliases: [ GET /api/v1/markers HTTP/1.1 ``` +Get current positions in timelines. + **Returns:** Hash of timeline key and associated [Marker]({{< relref "entities/Marker" >}})\ **OAuth:** User token + `read:statuses`\ **Version history:**\ @@ -79,6 +81,8 @@ Invalid or missing Authorization header. POST /api/v1/markers HTTP/1.1 ``` +Save current position in timeline. + **Returns:** [Marker]({{< relref "entities/marker" >}})\ **OAuth:** User token + `write:statuses`\ **Version history:**\ @@ -142,4 +146,4 @@ If object is stale while being updated, an error will occur. {{< page-relref ref="methods/notifications#get" caption="GET /api/v1/notifications (with `min_id` or `since_id` parameter)" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/markers_controller.rb" caption="app/controllers/api/v1/markers_controller.rb" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/markers_controller.rb" caption="app/controllers/api/v1/markers_controller.rb" >}}