Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Instance → Get Server Information

AI-generated

Overview

This node interacts with the Mastodon API to retrieve server information from a specified Mastodon instance. It is useful for users who want to fetch details about a Mastodon server, such as its configuration or status, by providing the instance URL and authentication credentials. For example, it can be used to monitor server health or gather metadata about the Mastodon instance.

Use Case Examples

  1. Retrieve server information from https://mastodon.social using OAuth2 authentication.
  2. Fetch server details from a custom Mastodon instance URL with an access token.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.

Output

JSON

  • json - The JSON response containing the server information retrieved from the Mastodon instance.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or an access token, to authenticate requests.

Troubleshooting

  • If the node throws an error about missing credentials, ensure that the correct Mastodon OAuth2 or token credentials are selected based on the chosen authentication type.
  • If the operation is 'authentication' but the authentication type is not OAuth2, an error will be thrown because authentication operations require OAuth2 credentials.
  • Errors may occur if the provided Mastodon URL is incorrect or the instance is unreachable; verify the URL and network connectivity.

Discussion