Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Media → Update Media

AI-generated

Overview

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

  1. Updating the description of an uploaded image to improve accessibility.
  2. 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

Discussion