Skip to content

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,
  "published": "2025-12-19T09:52:13.905504",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA#legacy-key-1",
    "owner": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxbhZSZ9CxQvnIR+Jazur\nIxQ/+n+GyOOB4hxCW0bJIzwBfGECy9DJmwFvGkYRv9H/W/m3fu+dOPmGqklDr0um\nbS+zn9qMIVQ/BHDMRto0C+IpNZ30e6m7NMXJPq0BHLuMs78PrJWAHf1rWmSgC2Mh\nuTlpszJTqkGTSwKY1lLaYudtqy2gj8UCWJoaABZnEFmmRus+sU6s/m3emee6W+j5\nX2vzPF/R7EndZZ9ZS1VM51iqniDcNcbL3PRJK+t28eIuRTimO5+tpPQ3nE66cOki\nSQ0oMIxfOV08c9IOGNti3KrkxULSSZlEFRbvZcRJU+Jt0z8j37QzWj/f52xMu6tM\nUQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
  "type": "Person",
  "inbox": "http://abel/inbox/18ZR9cudyQPgmuIBo0n39g",
  "outbox": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/outbox",
  "followers": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/followers",
  "following": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" created an actor on "abel" called "Bob"

send.Bob.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Bob",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Bob.response.create_actor
{
  "attachment": null,
  "published": "2025-12-19T09:52:14.841591",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q#legacy-key-1",
    "owner": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvoMWOlQcTDIoixZ0buwC\nnA19pLYfj/wGDSw6C3eDiliKqGy3HQB8Sw45Q00hJ0Xyl+C2A5KDQdhYdmSJgM2l\nnFHQtV6aB3ls6CN4DXAbeEZpwP8K/ArWj1/JDXmi+O1AI3k10sphmVzzDU30k4YU\n2DssnfR+AHpkfY1PJRuB+5I6dzWu5y+sg7/O/VQO47qYXAC8WL2aM53fcg2/XrZI\n9nBS64dHzsI9g4yMKokUj1v8fzigabBGvmqFa6aig1rUWL8oTQ4XavytyB5XAoBR\nWl2SPnn3kxbcNOF9Qn7seHs80vB4gDq7vo1h54+k3eCccbmTcQZ3XWxfDqeVgR/l\n1wIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "type": "Person",
  "inbox": "http://abel/inbox/m1JutLj-DQwz1YYWIolA-A",
  "outbox": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/outbox",
  "followers": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/followers",
  "following": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@abel",
    "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

when: "Bob" sends "Alice" a Follow Activity

send.Bob.trigger.send_message
{
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Follow",
    "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
    "to": [
      "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
    ],
    "id": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
    "published": "2025-12-19T09:52:15Z",
    "object": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
  }
}
receive.Bob.outgoing.Follow
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Follow",
      "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
      "to": [
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
      ],
      "id": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
      "published": "2025-12-19T09:52:15Z",
      "object": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
    }
  },
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" sends an Accept to this Follow Activity

receive.Alice.incoming.Follow
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Follow",
      "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
      "to": [
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
      ],
      "id": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
      "published": "2025-12-19T09:52:15Z",
      "object": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
    }
  },
  "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
  "event_type": "incoming",
  "history_id": null
}
send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Accept",
    "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
    "to": [
      "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q"
    ],
    "published": "2025-12-19T09:52:15Z",
    "object": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
    "id": "accept:2eab5fc3-350d-4609-8a83-efb86a83e02f"
  }
}
receive.Alice.outgoing.Accept
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Accept",
      "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "to": [
        "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q"
      ],
      "published": "2025-12-19T09:52:15Z",
      "object": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
      "id": "accept:2eab5fc3-350d-4609-8a83-efb86a83e02f"
    }
  },
  "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" deletes herself

send.Alice.trigger.delete_actor
{
  "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA"
}
receive.Alice.outgoing.Delete
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Delete",
      "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/followers",
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/following"
      ],
      "published": "2025-12-19T09:52:16Z",
      "object": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "id": "http://abel/object/019b3606-38f9-7636-be04-a05647556873"
    }
  },
  "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
  "event_type": "outgoing",
  "history_id": null
}

then: The "following" collection of "Bob" does not include "Alice"

receive.Bob.incoming.Accept
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Accept",
      "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "to": [
        "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q"
      ],
      "published": "2025-12-19T09:52:15Z",
      "object": "follow:da0f4290-23b7-4409-b775-e5611d115ab6",
      "id": "accept:2eab5fc3-350d-4609-8a83-efb86a83e02f"
    }
  },
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "event_type": "incoming",
  "history_id": null
}
receive.Bob.incoming.Delete
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Delete",
      "actor": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/followers",
        "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA/following"
      ],
      "published": "2025-12-19T09:52:16Z",
      "object": "http://abel/actor/u_TF9-rIkJokLZyMbq7PTA",
      "id": "http://abel/object/019b3606-38f9-7636-be04-a05647556873"
    }
  },
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "event_type": "incoming",
  "history_id": null
}
send.Bob.request.fetch
{
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "uri": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/following"
}
receive.Bob.response.fetch
{
  "actor": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q",
  "uri": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/following",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "OrderedCollection",
    "id": "http://abel/actor/r77aYWVvoS6zcXbP-VkL4Q/following",
    "orderedItems": [],
    "totalItems": 0
  }
}