Actions48
- Account Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Favourites Actions
- Featured Tags Actions
- Follow Requests Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- Status Actions
- Timeline Actions
- Polls Actions
Overview
This node interacts with the Mastodon API to perform various operations related to Mastodon resources. Specifically, for the 'Notifications' resource with the 'Dismiss Notification' operation, it allows users to dismiss a specific notification on a Mastodon instance by providing the instance URL and the notification ID. This is useful for managing notifications programmatically, such as clearing notifications after processing them in an automated workflow.
Use Case Examples
- Automatically dismiss a notification after reading it in a workflow.
- Clear specific notifications based on certain criteria to keep the notification list clean.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to, e.g., https://mastodon.social. |
| Notification ID | The ID of the notification to dismiss on the Mastodon instance. |
Output
JSON
json- The JSON response from the Mastodon API after dismissing the notification, typically confirming the dismissal or providing the updated notification state.
Dependencies
- Requires an OAuth2 API credential for Mastodon to authenticate requests.
Troubleshooting
- Ensure the Mastodon URL is correct and accessible.
- Verify that the Notification ID is valid and corresponds to an existing notification on the Mastodon instance.
- Check that the OAuth2 credentials are correctly configured and have the necessary permissions to dismiss notifications.
- Common error: 'The operation "dismiss" for resource "notifications" is not implemented!' indicates a misconfiguration or unsupported operation; verify the operation and resource names.