Skip to content

Instantly share code, notes, and snippets.

@aaronpk

aaronpk/edit.md Secret

Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronpk/615ab9ae11ae7be25fea to your computer and use it in GitHub Desktop.
Save aaronpk/615ab9ae11ae7be25fea to your computer and use it in GitHub Desktop.
{
  "edit-of": "http://example.com/post/1",
  "update": {
    "properties": {
      "photo": ["http://example.com/photo2.jpg"]
    }
  }
}
  • Micropub posts are a single item from the "items" list in the parsed result
  • The author of a Micropub post is implied to be the authenticated user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment