lookupMedia abstract method
Get a media attachment, before it is attached to a status and posted, but after it is accepted for processing.
Use this method to check that the full-sized media has finished processing.
Parameters
mediaId
: The ID of the MediaAttachment in the database.
Endpoint Url
- GET /api/v1/media/:id HTTP/1.1
Authentication Methods
- OAuth 2.0
Required Scopes
- write:media
Reference
Implementation
Future<MastodonResponse<MediaAttachment>> lookupMedia({
required String mediaId,
});