Obtaining information about your relationship with another account currently requires stitching together statements from many other sources:
- Are you following them?
- Are they one of your followers?
- Are they blocked?
- etc
Something like https://docs.joinmastodon.org/methods/accounts/#relationships can help bundle all that disparate information into a single entity or response, without having to page through an entire followers collection + an entire following collection + maybe an entire outbox + maybe still missing something or getting something wrong.
AS2 has a Relationship type that is underutilized. It could be used here.
Obtaining information about your relationship with another account currently requires stitching together statements from many other sources:
Something like https://docs.joinmastodon.org/methods/accounts/#relationships can help bundle all that disparate information into a single entity or response, without having to page through an entire followers collection + an entire following collection + maybe an entire outbox + maybe still missing something or getting something wrong.
AS2 has a Relationship type that is underutilized. It could be used here.