jonnybarnes.uk/app/Services/Micropub/Data
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes 6e96ca8304
Bring Micropub endpoint closer to the spec
- Detect form-encoded action=... requests, so form-encoded updates work
  and unhandled actions are no longer created as notes
- Default to h-entry when no type is given
- Read form-encoded photos from `photo` rather than `photos`
- Pass `category` through EntryData so bookmark tags are saved
- Accept single values for form-encoded multi-value properties
- Return 403 for insufficient_scope and 401 for invalid tokens
- Return 400 invalid_request for unsupported post types, update
  operations and models instead of reporting them as 500s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:45:39 +00:00
..
CardData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00
EntryData.php Bring Micropub endpoint closer to the spec 2026-11-02 18:45:39 +00:00
MicropubData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00
UpdateData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00