Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Status → Get Context

AI-generated

Overview

This node operation retrieves the full thread context of a specific Mastodon status by its ID. It is useful for obtaining the conversation history around a status, including its ancestors (previous replies) and descendants (replies to the status). This can help users analyze or display the entire conversation thread related to a particular status on a Mastodon instance.

Use Case Examples

  1. Retrieve the full thread context of a Mastodon status to display a conversation thread in a social media dashboard.
  2. Fetch the ancestors and descendants of a status to analyze user interactions and replies in a Mastodon community.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Status ID ID of the status to retrieve its full thread context.
Additional Options Optional parameters to customize the context retrieval, including whether to include private statuses, maximum depth of reply threads, and the format of the returned conversation data.

Output

JSON

  • ancestors - Array of ancestor statuses in the conversation thread.
  • descendants - Array of descendant statuses in the conversation thread.
  • thread - The full thread data, which can be structured, flat, or tree format depending on the return format option.

Dependencies

  • Requires authentication credentials for Mastodon API, either OAuth2 or Access Token.

Troubleshooting

  • Error if no valid Mastodon credentials are selected; ensure correct credential type is chosen based on authentication method.
  • Operation requires OAuth2 credentials if resource is 'authentication' but this operation uses either OAuth2 or token authentication.
  • If the status ID is invalid or not found, the node may throw an error or return empty results.
  • Ensure the Mastodon URL is correct and accessible to avoid connection errors.

Discussion