Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Markers → Get Markers

AI-generated

Overview

This node interacts with the Mastodon API to retrieve markers for specified timelines. It is useful for users who want to track read/unread positions in different Mastodon timelines such as Home or Notifications. For example, it can be used to fetch the last read position in the Home timeline to synchronize reading state across devices.

Use Case Examples

  1. Retrieve markers for the Home timeline to know the last read post.
  2. Fetch markers for Notifications timeline to track which notifications have been seen.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Timeline Timelines to retrieve markers for, such as Home or Notifications.

Output

JSON

  • json - The retrieved markers data for the specified timelines, representing read/unread positions.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or Access Token, to authenticate requests.

Troubleshooting

  • If authentication credentials are missing or incorrect, the node will throw an error indicating no credential selected or invalid authentication.
  • If the specified resource or operation is not implemented, an error will be thrown indicating the operation is not implemented.
  • Ensure the Mastodon URL is correctly formatted without trailing slashes to avoid request errors.

Discussion