Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Reports → List Reports

AI-generated

Overview

This node interacts with the Mastodon API to list reports from a specified Mastodon instance. It supports filtering reports by resolution status, account ID, target account ID, and allows pagination through limit and offset parameters. This is useful for users who want to monitor or manage reports on their Mastodon instance, such as administrators or moderators.

Use Case Examples

  1. List all unresolved reports from a Mastodon instance to review potential issues.
  2. Retrieve reports filtered by a specific account ID to investigate user behavior.
  3. Paginate through reports using limit and offset to process large sets of report data.

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.
Resolved Filter reports by their resolution status (true for resolved, false for unresolved).
Account ID Filter reports by the ID of the account that made the report.
Target Account ID Filter reports by the ID of the account that is the target of the report.
Limit Maximum number of report results to return.
Offset Number of reports to skip before starting to return results, used for pagination.

Output

JSON

  • id - Unique identifier of the report.
  • type - Type of the report.
  • resolved - Resolution status of the report.
  • account_id - ID of the account that made the report.
  • target_account_id - ID of the account that is the target of the report.
  • comment - Comment or reason provided for the report.
  • created_at - Timestamp when the report was created.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure the correct authentication type is selected and corresponding credentials are provided; OAuth2 is required for authentication operations.
  • Verify the Mastodon URL is correct and accessible.
  • Check that the account IDs used for filtering exist and are valid.
  • Handle API rate limits and errors gracefully; use the node's continueOnFail option to manage failures.

Links

Discussion