Actions115
- Account Actions
- Announcements Actions
- Apps Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Canonical Email Blocks Actions
- Cohorts Actions
- Conversations Actions
- Custom Emojis Actions
- Directory Actions
- Domains (Allowed) Actions
- Domains (Blocked) Actions
- Domains (Email Blocked) Actions
- Emails Actions
- Endorsements Actions
- Favourites Actions
- Featured Tags Actions
- Filters Actions
- Follow Requests Actions
- Followed Tags Actions
- Instance Actions
- IPs Actions
- Lists Actions
- Markers Actions
- Measures Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- oEmbed Actions
- Polls Actions
- Preferences Actions
- Profile Actions
- Proofs Actions
- Push Actions
- Reports Actions
- Retention Actions
- Scheduled Statuses Actions
- Search Actions
- Status Actions
- Streaming Actions
- Suggestions Actions
- Tags Actions
- Timeline Actions
Push → Update Subscription
AI-generatedOverview
This node operation updates a push subscription on a Mastodon instance. It allows users to configure which types of notifications (alerts) they want to receive, such as mentions, new statuses, boosts, follows, and admin notifications. The node supports authentication via OAuth2 or an access token and connects to the specified Mastodon instance URL.
Use Case Examples
- Updating push notification settings to receive mentions and new statuses only.
- Changing the notification delivery policy for a push subscription.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | URL of the Mastodon instance to connect to, used to direct API requests to the correct server. |
| Authentication Type | Method of authentication with the Mastodon instance, either OAuth2 or Access Token. |
| Alerts | Settings to specify which types of notifications to receive for the push subscription, such as mentions, new statuses, boosts, follows, follow requests, favourites, polls, status updates, and admin notifications. |
| Additional Fields | Optional additional fields for the push subscription update, such as the notification delivery policy. |
Output
JSON
json- The JSON response from the Mastodon API after updating the push subscription, containing the updated subscription details or status.
Dependencies
- Requires authentication credentials for Mastodon API, either OAuth2 or an access token.
Troubleshooting
- Ensure the correct authentication type is selected and valid credentials are provided; OAuth2 is required for authentication operations.
- Verify the Mastodon instance URL is correct and accessible.
- Check that the specified alerts and additional fields conform to the Mastodon API requirements.
- Common errors include missing credentials, invalid URL, or unsupported operation for the resource, which will throw descriptive errors.