According to the doc, no, but I was wondering if this is something planned. cc @manton
There is an API for uploading videos, but I haven’t documented it yet because it’s not based on an open standard, and I was hoping to get some consensus in the IndieWeb community for what it should look like as part of the Micropub API.
I’ll briefly document it here, but keep in mind it will likely change in the future. There are two endpoints, one for uploading a chunk of video data, and another for telling Micro.blog that we’re done.
POST /micropub/media/append
Params:
file_id— random number that you generate and will stay the same for each API call for this videofile_data— base64-encoded segment, should be small, like 1-5 MBmp-destination— URL if multiple blogs, same as other Micropub calls
POST /micropub/media/finished
Params:
file_id— same number sent beforefile_name— filename, e.g. “video.mp4”mp-destination— URL if multiple blogs, same as other Micropub calls
GET /posts/check
This isn’t specifically for videos but will return the transcoding status.
All of the client code for Micro.blog’s mobile and Mac apps is open source and can be referenced too.
I’ll try to feed that to Claude Code to see where it goes! Thanks Manton!