Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Reports → Create Report

AI-generated

Overview

This node interacts with the Mastodon API to create a report against a specified account on a Mastodon instance. It is useful for automating the process of reporting accounts for violations or inappropriate content on Mastodon. For example, a user can specify the Mastodon instance URL, the account ID to report, and provide additional comments or status IDs related to the report.

Use Case Examples

  1. Reporting a spam account on a Mastodon instance by providing the account ID and a comment explaining the reason for the report.
  2. Automatically forwarding a report to a remote Mastodon instance by setting the 'Forward' option to true.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, used to direct the API requests to the correct server.
Authentication Type Method of authentication with the Mastodon instance, either OAuth2 or Access Token.
Account ID ID of the Mastodon account being reported.
Comment Additional information or context about the report.
Additional Fields Optional extra fields for the report, including status IDs to report and whether to forward the report to a remote instance.

Output

JSON

  • id - The unique identifier of the created report.
  • action_taken - Indicates if any action was taken as a result of the report.
  • forwarded - Indicates if the report was forwarded to a remote instance.
  • comment - The comment provided with the report.
  • status_ids - Array of status IDs included in the report.
  • account_id - The ID of the account that was reported.

Dependencies

  • Requires authentication credentials for the Mastodon instance, either OAuth2 or an access token.

Troubleshooting

  • Error if no valid Mastodon credentials are selected; ensure correct credential type is chosen based on authentication method.
  • Error if the operation or resource is not implemented; verify the resource and operation names are correct.
  • Authentication operations require OAuth2 credentials; selecting Access Token for authentication operations will cause an error.

Discussion