Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Tombstone for every deleted resource #1232

Closed
srosset81 opened this issue Feb 16, 2024 · 0 comments · Fixed by #1242
Closed

Create a Tombstone for every deleted resource #1232

srosset81 opened this issue Feb 16, 2024 · 0 comments · Fixed by #1242

Comments

@srosset81
Copy link
Contributor

In ActivityPub, it is recommended to replace deleted resources with a Tombstone like this:

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Tombstone",
  "formerType": "Event",
  "deleted": "2016-05-03T00:00:00Z",
  "summary": "This resource has been deleted"
}

In ActivityPods, this will make it easier for external apps to know what type of resource has been deleted.

When fetching a Tombstone, we should return the data with a 410 Gone status (to be done on LdpApiService ?)

I suggest to make this optional, so that SemApps instances which don't need this information are not clutered with tombstones (which would make the instance look more like a graveyard !).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant