Mastodon icon

Mastodon

Interact with Mastodon API

Overview

The "Remove Bookmark" operation in the Mastodon node allows users to remove a previously added bookmark from a specific status (post) on a Mastodon instance. This is useful for managing and organizing bookmarked content by unmarking statuses that are no longer relevant or needed.

Common scenarios include:

  • Cleaning up your list of saved posts.
  • Removing bookmarks after reading or acting upon the content.
  • Automating bookmark management workflows based on certain triggers or conditions.

For example, you might use this node to automatically remove bookmarks older than a certain date or after processing the bookmarked content elsewhere.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to (e.g., https://mastodon.social).
Status ID The unique identifier of the status (post) whose bookmark you want to remove.

Output

The output JSON contains the response from the Mastodon API after attempting to remove the bookmark. Typically, this will confirm the success of the removal operation or provide details if the operation failed.

No binary data is output by this operation.

Dependencies

  • Requires an API authentication token credential configured in n8n to authenticate with the Mastodon instance.
  • Needs network access to the specified Mastodon instance URL.
  • The Mastodon instance must support the bookmarks API endpoints.

Troubleshooting

  • Invalid Status ID: If the provided status ID does not exist or is incorrect, the operation may fail. Verify the status ID is correct.
  • Authentication Errors: Ensure the API authentication token has sufficient permissions to modify bookmarks.
  • Instance URL Issues: Confirm the Mastodon URL is reachable and correctly formatted.
  • Operation Not Implemented Error: If the resource or operation names are misspelled or unsupported, the node will throw an error indicating the operation is not implemented.
  • Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error details in the output JSON.

Links and References

Discussion