Salta al contenuto principale


Hey @julian I am working on implementing a Soft Delete. Do you have an example JSON how a Tombstone should look like?

codeberg.org/fediverse/fep/src…

in reply to Matthias Pfefferle

Just checked the spec for a Tombstone... Seems to be pretty straight forward ☺️

#rtfm

#rtfm
in reply to Matthias Pfefferle

Re: Hey @julian I am working on implementing a Soft Delete.


@pfefferle@mastodon.social sure, because 4f05 assumes that deletion activity is a request to refresh the cache, a simple Update would suffice to bring the object back from Tombstone status.

That said if you issued an Undo(Delete) that'd probably work too, and would do the same thing.

in reply to julian

perfect than this will do the job: github.com/Automattic/wordpres…
in reply to Matthias Pfefferle

is there a reason why you aren't looking first at the official specification?

The "soft-delete" behaviour is the actual spec conformant mechanism for deletion in ActivityPub.

What @julian describes as "hard-delete" in this FEP exists in the spec only as a side-effect of Undo-ing the original Create activity.

Questo sito web utilizza cookie tecnici e di sessione. Proseguendo la navigazione su questo sito, accetti l'utilizzo dei cookie.