Skip to content

Alice updates her profile and her followers are notified

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:51:39.013507",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w#legacy-key-1",
    "owner": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqfkFMGeWSBuX3CKQEI7\n5wNb0K2aTEWH/jfELB/mehr2QS+zGv01RPXaoX4JQeWiZAYZ8oKKxJK3kLMX0WwH\nZ/cvHkrt3v9xt5N7qT9O//kW1B97wC0xAsj6RcCKovjftUj10ArSN1XoV6iqxNpF\ns+YxmumqCgQYvWx2LJNNpncohUN3enuMPfYVaScxw17Xh/Ll6IokHAfNLihIN5Vj\njk/7gNJcZEMEMj1D8Y/X3tFuCbf0HgH40M6bE1+OSq69kwAFAsSnM/9mvwFd7KHO\nJt1Cho+G85XWZbyCImoxoDka4GL0eQkhGD/5JL+t3sL7R9cvJ122rPr5l5Pe6r6s\n+QIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "type": "Person",
  "inbox": "http://abel/inbox/mT4oJ0wJX1sZdTyNlPMgig",
  "outbox": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/outbox",
  "followers": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/followers",
  "following": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
  ],
  "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:51:39.825104",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw#legacy-key-1",
    "owner": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2PuRU6bLshTaR4at/e9z\nXVvLKNo8mIl8TWi6XmTdYFBDK0wIPAdejcl+9d0BrK+uu2bbVOOJhgi3ZqvrLL0l\n9pAQCHfoyfbJcAxZjOg40wTeP2a4xFvtbhjTtc32yIs7Zhpdkf2DKCRqMz3orVck\nU9iuW1z21gXsE8OezgHqovuX/1Jg7AClNXxZJucMMSN2dbWfxYw0UOVztFZ+y1IT\ntZnMALJUDZ0KtJ0dRilID63/ijkVhfIEHjeJqvyfOuWLTr8nKwDuUuPpb7NsbIsD\nbrivP9h/0oN0d+2dqSZv4L4Esv4NuopAZQHHW2KdkBx8TFzuu4bjBBU9Vs19iuFi\nwQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
  "type": "Person",
  "inbox": "http://abel/inbox/5l-FnaRXP9EVXF9TelQ2ew",
  "outbox": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw/outbox",
  "followers": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw/followers",
  "following": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@abel",
    "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

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

send.Bob.trigger.send_message
{
  "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Follow",
    "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
    "to": [
      "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
    ],
    "id": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
    "published": "2025-12-19T09:51:39Z",
    "object": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
  }
}
receive.Bob.outgoing.Follow
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Follow",
      "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
      "to": [
        "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
      ],
      "id": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
      "published": "2025-12-19T09:51:39Z",
      "object": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
    }
  },
  "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
  "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/Kml_BMiv2p5b2VIYDlhlFw",
      "to": [
        "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
      ],
      "id": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
      "published": "2025-12-19T09:51:39Z",
      "object": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
    }
  },
  "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "event_type": "incoming",
  "history_id": null
}
send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Accept",
    "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
    "to": [
      "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw"
    ],
    "published": "2025-12-19T09:51:40Z",
    "object": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
    "id": "accept:8fa73cc0-94e1-4c05-8ac1-fd2a604bdedf"
  }
}
receive.Alice.outgoing.Accept
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Accept",
      "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
      "to": [
        "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw"
      ],
      "published": "2025-12-19T09:51:40Z",
      "object": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
      "id": "accept:8fa73cc0-94e1-4c05-8ac1-fd2a604bdedf"
    }
  },
  "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" updates her profile

send.Alice.trigger.update_actor
{
  "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "profile": {
    "summary": "I love cows"
  },
  "autoFollow": null,
  "actions": []
}
receive.Bob.incoming.Accept
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Accept",
      "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
      "to": [
        "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw"
      ],
      "published": "2025-12-19T09:51:40Z",
      "object": "follow:718a5035-c5dc-431e-819f-1d4a36cfe144",
      "id": "accept:8fa73cc0-94e1-4c05-8ac1-fd2a604bdedf"
    }
  },
  "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
  "event_type": "incoming",
  "history_id": null
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/followers"
      ],
      "published": "2025-12-19T09:51:40Z",
      "object": {
        "attachment": null,
        "published": "2025-12-19T09:51:39.013507",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w#legacy-key-1",
          "owner": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqfkFMGeWSBuX3CKQEI7\n5wNb0K2aTEWH/jfELB/mehr2QS+zGv01RPXaoX4JQeWiZAYZ8oKKxJK3kLMX0WwH\nZ/cvHkrt3v9xt5N7qT9O//kW1B97wC0xAsj6RcCKovjftUj10ArSN1XoV6iqxNpF\ns+YxmumqCgQYvWx2LJNNpncohUN3enuMPfYVaScxw17Xh/Ll6IokHAfNLihIN5Vj\njk/7gNJcZEMEMj1D8Y/X3tFuCbf0HgH40M6bE1+OSq69kwAFAsSnM/9mvwFd7KHO\nJt1Cho+G85XWZbyCImoxoDka4GL0eQkhGD/5JL+t3sL7R9cvJ122rPr5l5Pe6r6s\n+QIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
        "type": "Person",
        "inbox": "http://abel/inbox/mT4oJ0wJX1sZdTyNlPMgig",
        "outbox": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/outbox",
        "followers": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/followers",
        "following": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "summary": "I love cows",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019b3605-afab-7002-b36c-a973dbac2c70"
    }
  },
  "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
  "event_type": "outgoing",
  "history_id": null
}
receive.Bob.incoming.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/followers"
      ],
      "published": "2025-12-19T09:51:40Z",
      "object": {
        "attachment": null,
        "published": "2025-12-19T09:51:39.013507",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w#legacy-key-1",
          "owner": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqfkFMGeWSBuX3CKQEI7\n5wNb0K2aTEWH/jfELB/mehr2QS+zGv01RPXaoX4JQeWiZAYZ8oKKxJK3kLMX0WwH\nZ/cvHkrt3v9xt5N7qT9O//kW1B97wC0xAsj6RcCKovjftUj10ArSN1XoV6iqxNpF\ns+YxmumqCgQYvWx2LJNNpncohUN3enuMPfYVaScxw17Xh/Ll6IokHAfNLihIN5Vj\njk/7gNJcZEMEMj1D8Y/X3tFuCbf0HgH40M6bE1+OSq69kwAFAsSnM/9mvwFd7KHO\nJt1Cho+G85XWZbyCImoxoDka4GL0eQkhGD/5JL+t3sL7R9cvJ122rPr5l5Pe6r6s\n+QIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w",
        "type": "Person",
        "inbox": "http://abel/inbox/mT4oJ0wJX1sZdTyNlPMgig",
        "outbox": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/outbox",
        "followers": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/followers",
        "following": "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "summary": "I love cows",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/uQP3H_sOG7aL6lGOagt_5w"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019b3605-afab-7002-b36c-a973dbac2c70"
    }
  },
  "actor": "http://abel/actor/Kml_BMiv2p5b2VIYDlhlFw",
  "event_type": "incoming",
  "history_id": null
}

then: "Bob" receives an activity

then: the received activity is of type "Update"