Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Canonical Email Blocks → List Blocks

AI-generated

Overview

This node interacts with the Mastodon API to list canonical email blocks. It is useful for retrieving a list of email blocks that are used to filter or block certain email addresses or domains within a Mastodon instance. This can help administrators manage email-based restrictions effectively.

Use Case Examples

  1. An administrator wants to retrieve all canonical email blocks to review or audit the blocked email addresses.
  2. A user wants to fetch email blocks with specific filters such as limiting the number of results or filtering by IDs to manage email restrictions programmatically.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, used as the base URL for API requests.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Additional Fields Optional parameters to refine the list of canonical email blocks, such as limiting the number of results or filtering by IDs.

Output

JSON

  • json - The JSON output contains the list of canonical email blocks retrieved from the Mastodon instance, each block represented as an object with its details.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure the correct Mastodon URL is provided and accessible.
  • Verify that the selected authentication type matches the provided credentials.
  • If the node throws an error about missing credentials, check that the appropriate Mastodon API credentials are configured and selected.
  • Errors about unimplemented operations indicate a mismatch between the resource and operation parameters.

Discussion