Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Markers → Save Markers

AI-generated

Overview

This node operation allows users to save markers for specific timelines in a Mastodon instance. Markers represent the last read position in timelines such as 'Home' or 'Notifications'. This is useful for applications that need to keep track of read statuses or notifications to provide a seamless user experience, for example, marking the last read post in a user's home timeline or the last read notification.

Use Case Examples

  1. A social media management tool saving the last read status ID in the home timeline to sync read positions across devices.
  2. An automation workflow that updates the last read notification ID after processing notifications to avoid duplicate handling.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Timeline Timelines to retrieve or save markers for, such as Home or Notifications.
Home Last Read ID ID of the last read status in the home timeline, used when saving markers for the home timeline.
Notifications Last Read ID ID of the last read notification, used when saving markers for the notifications timeline.

Output

JSON

  • json - The response object from the Mastodon API after saving the markers, typically containing confirmation or updated marker data.

Dependencies

  • Requires authentication credentials for Mastodon API, either OAuth2 or Access Token.

Troubleshooting

  • Ensure the correct authentication type is selected and corresponding credentials are provided; OAuth2 is required for some operations.
  • Verify the Mastodon instance URL is correct and accessible.
  • Check that the timeline values are valid and that the last read IDs are properly formatted strings.
  • Common errors include missing credentials, invalid URLs, unsupported operations for the resource, and invalid response types from API calls.

Discussion