Alice deletes herself
given: "Alice" created an actor on "abel" called "Alice"
send.Alice.request.create_actor
{
"base_url": "http://abel",
"preferred_username": "Alice",
"profile": {},
"automatically_accept_followers": null,
"name": null
}
receive.Alice.response.create_actor
{
"attachment": null,
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"publicKey": {
"id": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA#legacy-key-1",
"owner": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuTxEhO8cpDAaBnm/WFLc\nCHIABBlnVf2JJuxKf55dbbYQxhN9RRNaABpp8G4ZLD/i4SKRuJ5VBmwhiaXVXATL\nghgp6eSpEqt1NfTPx6jlsVh/PiyH2YaRhaeSEyLRecnfsPYPFfnaD6D49e5WFxeW\ntfX8Mzy+K9Vk8/A/YZjoUHcFWDwI86/boXfH5J/j+rsNV1gu720RG8W5R6w0Ciwa\n9XoqFKkdutUAk74YsH2u8rGEBfnmgNjNJ1Alzy7Ji0qLjXCAvIaSPXe0ytQ0FtfK\nO8Bf0Pdf3SZL42rQq3GZ6VjvTw4EH4POS3kU2NvYMtF1u3g/Y4JMv1Wk7DP2aKEp\nSwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"type": "Person",
"inbox": "http://abel/inbox/x0ryNepnCMHMQ7yIHBfB0Q",
"outbox": "http://abel/outbox/sH8SWcLr9J2g7aO5ofTugA",
"followers": "http://abel/followers/uiLnOAbmFhBr3JmsBVtSKw",
"following": "http://abel/following/NZGTqmCayDgRD7Aq8nQ3zg",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@abel",
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"endpoints": {
"sharedInbox": "http://abel/shared_inbox"
}
}
given: "Bob" created an actor on "banach" called "Bob"
send.Bob.request.create_actor
{
"base_url": "http://banach",
"preferred_username": "Bob",
"profile": {},
"automatically_accept_followers": null,
"name": null
}
receive.Bob.response.create_actor
{
"attachment": null,
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"publicKey": {
"id": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ#legacy-key-1",
"owner": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsce3QJB6GO+R+TBFIc6i\ntlK8vESbXpCoPqoZOfX/MwXmrsNTBMbmieK1FZRI94Ye78Dd0axFrduq+4pzTkEb\n7XnJQiFX/0dpyrL3S9xvxOoWTW9ym98oSkPkE+QayvA2faYuwxlIo6sQ3K0gIa2E\nkHSzdgimQz55ezgBgIhpq3VH0Ww9HUr1HiOVzrnv9MVMq3svV2IUoXTI7wRjjqFx\nPOUgVkeyzX0lVwNG2xDM8aMK0oWZpLEBVC8ix/fDKFlNcbGqBoVE62NA+rtMhpap\nT0uIPMMdFi5fPyodGj6sny3+Th1mF7u/2q3Gt5qYeGGYz2TALnIC6Sm2X60ALEyg\n+wIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"type": "Person",
"inbox": "http://banach/inbox/WowP_6DuLC1fvmZPaKcCYg",
"outbox": "http://banach/outbox/9T4lXZWB8YFqyiPYg40SrQ",
"followers": "http://banach/followers/GVoh3dqGBg5Zdw4JMpjjAg",
"following": "http://banach/following/KnoVl3SdLU42SARvh8ALQA",
"preferredUsername": "Bob",
"name": "Bob",
"identifiers": [
"acct:Bob@banach",
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"endpoints": {
"sharedInbox": "http://banach/shared_inbox"
}
}
when: "Bob" sends "Alice" a Follow Activity
send.Bob.trigger.send_message
{
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"data": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Follow",
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"to": [
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"id": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"published": "2025-02-23T08:46:32Z",
"object": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
}
}
receive.Bob.outgoing
{
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"event_type": "outgoing",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Follow",
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"to": [
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"id": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"published": "2025-02-23T08:46:32Z",
"object": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
},
"recipients": {
"recipients": [
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"public": false
}
}
}
receive.Alice.incoming
{
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"event_type": "incoming",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Follow",
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"to": [
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"id": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"published": "2025-02-23T08:46:32Z",
"object": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
},
"recipients": {
"recipients": [
"http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA"
],
"public": false
}
}
}
when: "Alice" sends an Accept to this Follow Activity
send.Alice.trigger.send_message
{
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"data": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Accept",
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"to": [
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"published": "2025-02-23T08:46:32Z",
"object": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"id": "accept:b9c8f22c-4d5e-44b5-8ce7-73f462bc9f4a"
}
}
receive.Alice.outgoing
{
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"event_type": "outgoing",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Accept",
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"to": [
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"published": "2025-02-23T08:46:32Z",
"object": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"id": "accept:b9c8f22c-4d5e-44b5-8ce7-73f462bc9f4a"
},
"recipients": {
"recipients": [
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"public": false
}
}
}
receive.Bob.incoming
{
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"event_type": "incoming",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Accept",
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"to": [
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"published": "2025-02-23T08:46:32Z",
"object": "follow:b66a2532-03f6-458f-adee-470a46683dd1",
"id": "accept:b9c8f22c-4d5e-44b5-8ce7-73f462bc9f4a"
},
"recipients": {
"recipients": [
"http://banach/actor/Utu6L4OhS30LyvEByQFcSQ"
],
"public": false
}
}
}
when: "Alice" deletes herself
receive.Alice.outgoing
{
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"event_type": "outgoing",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Delete",
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"http://abel/followers/uiLnOAbmFhBr3JmsBVtSKw",
"http://abel/following/NZGTqmCayDgRD7Aq8nQ3zg"
],
"published": "2025-02-23T08:46:33Z",
"object": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"id": "http://abel/object/019531fc-9bc7-7eb5-937c-e143c946565a"
},
"recipients": {
"recipients": [
"https://www.w3.org/ns/activitystreams#Public",
"http://abel/followers/uiLnOAbmFhBr3JmsBVtSKw",
"http://abel/following/NZGTqmCayDgRD7Aq8nQ3zg"
],
"public": true
}
}
}
receive.Bob.incoming
{
"actor": "http://banach/actor/Utu6L4OhS30LyvEByQFcSQ",
"event_type": "incoming",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Delete",
"actor": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"http://abel/followers/uiLnOAbmFhBr3JmsBVtSKw",
"http://abel/following/NZGTqmCayDgRD7Aq8nQ3zg"
],
"published": "2025-02-23T08:46:33Z",
"object": "http://abel/actor/jTY2pNmAKxA-9YaCAW5FXA",
"id": "http://abel/object/019531fc-9bc7-7eb5-937c-e143c946565a"
},
"recipients": {
"recipients": [
"https://www.w3.org/ns/activitystreams#Public",
"http://abel/followers/uiLnOAbmFhBr3JmsBVtSKw",
"http://abel/following/NZGTqmCayDgRD7Aq8nQ3zg"
],
"public": true
}
}
}