Skip to content

feat: add support for uploading media in statuses#218

Merged
cbrgm merged 1 commit intomainfrom
feat/add-media-support
May 1, 2026
Merged

feat: add support for uploading media in statuses#218
cbrgm merged 1 commit intomainfrom
feat/add-media-support

Conversation

@cbrgm
Copy link
Copy Markdown
Owner

@cbrgm cbrgm commented May 1, 2026

Adds media upload support to the action. You can now attach up to 4 files (images, video, audio) to a toot using the new media-paths and media-descriptions inputs.

Files get uploaded to /api/v2/media as multipart/form-data before posting the status. Large files (video, audio) that return 202 are polled until processing finishes. The resulting media IDs are passed as media_ids in the status payload.

message is now optional when media is attached -> you can post media-only toots.

Existing workflows are unaffected since both new inputs default to empty.

Closes #217

@cbrgm cbrgm merged commit 776364a into main May 1, 2026
11 checks passed
@cbrgm cbrgm deleted the feat/add-media-support branch May 1, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Adding Media (image, video) like BlueSky

1 participant