Closed TomboFry closed 5 years ago
The Micropub API is now in a working state, with access token verification performing successfully too! This means one could potentially use Microlight in a production environment. Don't quote me on that though :sweat_smile:
The last two tasks (updating, deleting posts) are dependant on #3 being completed, as there is currently no way to update posts within the database.
Post updates finally completed, as of 172efb3
This would mean any editor (such as quill, for example) could be used to create posts. This is arguably more important than the admin control panel #5
x-www-form-urlencoded
ormultipart/form-data
/micropub
forh=entry
h
= entryname
- If not provided, assume type isnote
, otherwisearticle
content
for the main post contentsummary
- Make a max length of 160 for open graph? If not provided, take a snippet fromcontent
photo
(if file not provided)in-reply-to
,repost-of
,like-of
URLscategory[]
for tagsmp-slug
for manual slug entry (must return an error if the slug already exists)./micropub
using JSON Content-Typecontent
may containhtml
key to create post as HTML.action=update
and returning HTTP 204 statusaction=delete
and returning HTTP 204 statusCreateAlmost, but this is not being implemented anymore (well, for now, at least).auth/callback
script which validates the user via an IndieAuth siteq=config
to return media endpoint and syndication (maybe){}
in the meantime, while neither of these features are implemented.GET micropub?q=[...]
routes using micropub extensions