Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations on different resources. Specifically, for the 'Status' resource with the 'Delete Status' operation, it deletes a status (post) on a specified Mastodon instance. This is useful for managing and moderating content by programmatically removing unwanted or outdated statuses. For example, a user can automate the deletion of certain posts based on criteria or user actions.

Use Case Examples

  1. Deleting a specific status by its ID from a Mastodon instance to manage content.
  2. Automating content moderation by removing posts that meet certain conditions.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to for performing the operation.
Status ID The ID of the status to delete on the Mastodon instance.

Output

JSON

  • json - The JSON response from the Mastodon API after attempting to delete the status, typically indicating success or failure.

Dependencies

  • Requires an OAuth2 API credential for Mastodon to authenticate requests.

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible; incorrect URLs will cause connection failures.
  • Verify that the Status ID is valid and exists on the specified Mastodon instance; invalid IDs will result in errors.
  • Check that the OAuth2 credentials have the necessary permissions to delete statuses; insufficient permissions will cause authorization errors.
  • Common error messages include 'The operation "delete" for resource "status" is not implemented!' if the operation is not supported, and connection or authentication errors if credentials or URLs are incorrect.

Links

Discussion