If it’s a C2S Update, it should not have an id
. C2S activities don;t specify an id
; the id
is assigned by the server after the activity has been POSTed to the outbox.
No, I’m saying that C2S Update and S2S Update are different; the server should process a C2S Update, but publish an S2S Update. C2S Update follows “partial update” semantics. S2S Update does not.
This is wrong. target
is not defined on activities of type Update
. If you’re dealing with Collections, you use Add / Remove / Move. These activities have a defined target
.
This is possible with a different activity (someone proposed as:Replace
once) but I’d hesitate to recommend it. This particular point runs tangent to the other discussion about dereferencing a Create from a different/remote domain: Who says objects cannot be created elsewhere?
Other relevant discussions:
- Revision ID? Revision ID? · Issue #188 · w3c/activitypub · GitHub
- as:Replace proposal: something replaced something else `as:Replace` proposal: something replaced something else · Issue #538 · w3c/activitystreams · GitHub