This document details common Activity types sent by clients to the Outbox.
From activitypub-c2snpx claudepluginhub utakatakyosui/c2lab --plugin activitypub-c2sactivitypub-c2s/guides/This document details common Activity types sent by clients to the Outbox.
Used to create a new object (e.g., Note, Article).
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Create",
"actor": "https://social.example/users/alice",
"object": {
"type": "Note",
"content": "This is a new note",
"attributedTo": "https://social.example/users/alice",
"to": ["https://www.w3.org/ns/activitystreams#Public"]
}
}
Used to modify an existing object.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Update",
"actor": "https://social.example/users/alice",
"object": {
"id": "https://social.example/users/alice/notes/1",
"type": "Note",
"content": "Updated content"
}
}
Used to delete an object. Often replaced by a Tombstone after deletion.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Delete",
"actor": "https://social.example/users/alice",
"object": "https://social.example/users/alice/notes/1"
}
Used to subscribe to another actor's updates. Usually requires an Accept activity from the target.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Follow",
"actor": "https://social.example/users/alice",
"object": "https://social.example/users/bob"
}
Used to reverse a previous activity (e.g., Unfollow, Unlike).
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Undo",
"actor": "https://social.example/users/alice",
"object": {
"type": "Follow",
"actor": "https://social.example/users/alice",
"object": "https://social.example/users/bob"
}
}
Used to signal that the actor likes an object.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Like",
"actor": "https://social.example/users/alice",
"object": "https://social.example/users/bob/notes/1"
}
Used to share/boost/repost an object.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Announce",
"actor": "https://social.example/users/alice",
"object": "https://social.example/users/bob/notes/1"
}