Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Push → Get Current Subscription

AI-generated

Overview

This node interacts with the Mastodon API to retrieve the current push subscription for a user. It is useful for applications that need to manage or verify push notification subscriptions on a Mastodon instance. For example, it can be used to check if a user is currently subscribed to push notifications and to obtain details about that subscription.

Use Case Examples

  1. Check the current push subscription status for a user on a Mastodon instance.
  2. Retrieve push subscription details to manage or update notification settings.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, used to specify the target Mastodon server for the API request.
Authentication Type Method of authentication with the Mastodon instance, either OAuth2 or Access Token, to authorize API requests.

Output

JSON

  • json - The JSON object containing the current push subscription details retrieved from the Mastodon API.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure that the correct authentication type is selected and corresponding credentials are provided; OAuth2 is required for some operations.
  • Verify the Mastodon URL is correct and accessible.
  • Common errors include missing credentials or unsupported operations for the selected resource, which can be resolved by checking node configuration and credentials.

Discussion