@julian said in Does context in AP have to be a collection, or can be be like a Flag activity? Say I wanted to Create(Note) about a Flag I'd received, I'd need:
If you queried the context, you’d get an OrderedCollection containing objects that you have access to view, but since in NodeBB only moderators can view flag reports, anybody querying it over ActivityPub would just get an empty collection.
The quote was in reference to whether disparate as:Flag
activities could be grouped together under a common context (per 7888).
To be technically correct, it would contain the Flag
activities… which reminds me of a discussion @[email protected] and @[email protected] had about what a context collection could contain… objects vs. activities.
In this particular case, I suppose the context collection would contain activities, not objects, which would mean we’d need to relax any recommendation that they contain either objects or activities, since it could contain any mixture of both.
I was thinking context would be the flag, you query it and get a Flag instead of OrderedCollection (we’d probably inline the object)
@[email protected] @[email protected] @[email protected] Ah seems I misunderstood the assignment then heh
In that case the context collection would contain the note objects as you specified in the other topic.
Right now NodeBB’s context resolver expects a Collection-ish type, so finding a Flag would cause it to back out — for now at least.