Closed RangerMauve closed 3 months ago
@RangerMauve oh! is Note the only accepted type for replies? it'd be good to keep it type-agnostic, or at least support any type with an inReplyTo attribute. for instance, in the future we may change the post type from Note to Article (Mastodon "casts" them to Notes anyway) so replies between jekyll sites would be rejected.
another relevant fep: https://codeberg.org/fediverse/fep/src/branch/main/fep/7458/fep-7458.md
Good point about different types of objects. Maybe I should have an APObjectStore instead of a note store and just index over attributes without caring about the type?
Maybe I should have an APObjectStore instead of a note store and just index over attributes without caring about the type?
not sure what this means but :ok_hand:
I decided to simplify the route for replies a bit by making it /:actor/inbox/reples/:urlEncodedURL
and skipped paging for now.
FWIW I don't think mastodon even pulls from this collections. Some clients might? They should handle both paged and unpaged in that case.
GET /:user/inbox/notes
collection