The code base which I have forked from supports receiving Collection
s and OrderedCollection
s as objects in the inbox. The contained activities are handled as if they had been received individually.
As far as I saw this is at least not explicitly mentioned in the specification(s), and what I read suggests to me this is not correct. Since collections are not activities, this does not seem to be covered by the following:
An HTTP POST request (with authorization of the submitting user) is then made to the inbox, with the Activity as the body of the request.
– ActivityPub (emphasis mine)
My question: Is this covered by the specification and/or do other servers implement it?
An example use case would be sending multiple delete/undo activities at once. This is because we allow users to
-
Announce
the sameobject
multiple times, and -
Undo
allAnnounce
s of anobject
at the same time.
Since we deliver Delete
/Undo
activities to the whole known network because we do not know who may have fetched it, and there is overhead associated with each delivery / HTTP request / deliver queue item, it is desirable to group these activities. For this use case it is important that activities are understood properly by our peers and not discarded, hence this question.