micropub media endpoint

From IndieWeb
Jump to: navigation, search

micropub media endpoint is a Micropub endpoint that exclusively handles file uploads and returns a URL that can be used in a subsequent Micropub request.

Indieweb Examples


Query the last thing uploaded

A Micropub client should be able to query the Media Endpoint to find the last photo uploaded. This would allow a post interface to appear with the photo pre-populated. This mechanism ends up treating the Media Endpoint as a kind of account-level clipboard, so you could upload a photo from one device then finish the post on another device.

This also gets closer in line with the way the Wordpress uploader works, where images are stored in a media gallery and can be added to posts later. Might need to explore that API to see how they handle querying the list of media.

See Also