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
Media → Update Media
AI-generatedOverview
This node updates media information on a Mastodon instance. It is useful for modifying existing media metadata such as descriptions and focus points for accessibility and presentation purposes. For example, a user can update the description of an image or adjust the focus coordinates to better frame the media content.
Use Case Examples
- Updating the description of an uploaded image to improve accessibility.
- Adjusting the focus point of a media item to highlight a specific area.
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. |
| Media ID | The unique identifier of the media item to update. |
| Update Fields | Fields to update on the media item, including description and focus coordinates. |
Output
JSON
id- The unique identifier of the updated media.type- The type of media (e.g., image, video).description- The updated description of the media.focus- The updated focus coordinates of the media.url- The URL of the media content.
Dependencies
- Requires authentication credentials for the Mastodon instance, either OAuth2 or an access token.
Troubleshooting
- Ensure the correct authentication type is selected and valid credentials are provided; otherwise, authentication errors will occur.
- Verify the Media ID is correct and exists on the Mastodon instance to avoid not found errors.
- Check that the update fields are properly formatted, especially the focus coordinates which must be two floating points between -1.0 and 1.0.
Links
- Mastodon API Media Documentation - Official documentation for Mastodon media API endpoints, including update operations.