This FEP defines a RemoveAll activity for batch-removing items from an ActivityPub collection. While ActivityPub defines Remove for removing a single item, there is no mechanism for removing multiple or all items at once. RemoveAll fills this gap.
It supports an optional FEP-34c1 filter to selectively remove items matching specific criteria (e.g. by type, by date, or by actor). Without a filter, all items are removed.RemoveAll is a generic collection operation — it can be used with any collection type.
A Remove activity can already refer to multiple objects, so this isn’t true. The only thing it can’t do is remove implicit items that match some condition – and having everyone understand what that means is probably going to be incredibly difficult compared to the simpler explicit signaling.
If the C2S Partial Update had been specified correctly, another option would have been to remove orderedItems or items property/predicate, effectively clearing the item references. I’m working on an “ActivityPub Patch” proposal that will be able to do this (based on the JSON Patch RFC) . It’s more general than collection management, but it doesn’t (currently) support filtered collection item reference removal.
I’ve grown a bit weary of all the voting and federation discussions. Not least because I get the feeling that no one is sticking to the specifications
At the moment, my focus is more on getting a system up and running. However, I do plan to share my ideas and the things I’ve implemented with the community as a FEP.
That said, I’m always open to discussions with you, for example. I consider your ideas and perspective to be relevant.
Besides, the objects I plan to federate haven’t been implemented by anyone else yet. Except perhaps those working on valueFlows. valueFlows will play a bigger role in changingGraph.
Idk if this can help but on funkwhale we have actor.user.privacy_level if privacy_level change we send an update activity on the actor object with privacy_level in the audience attribute. The remote server then knows what to do (delete or update the activities related to the actor, depending on the value of audience )
The server SHOULD respond with 200 OK and the number of removed items:
The example here only includes a ‘summary’ property with this information, which isn’t machine readable. It might be useful to include a ‘totalItems’ property, or maybe even make the response a Collection of items removed, although I’d say not to include all the deleted items in the initial response e.g:
The Funkwhale example above describes an actor update prompting remote servers to delete or update related activities. How would an actor-filtered RemoveAll propagate across federated servers? Does the proposal cover tombstones and invalidation of cached copies, or are those left to the receiving implementations?