Skip to content

Alice updates her profile and her followers can retrieve the Update activity

given: "Alice" created an actor on "banach" called "Alice"

send.Alice.request.create_actor
{
  "base_url": "http://banach",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "published": "2025-12-19T09:51:43.659763",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q#legacy-key-1",
    "owner": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvpZg0U+SC+qhO8BMu98p\nEYaJIAB9UaIfuqFJ7MjPkqG9AhR+5fF4V15ryPLsLuVYFZK96o3gptQFN93ZIo9T\nz3mKwGsApD+Qv88gKl1SmvHkj41iKlYJQ/MMaP4TN9AraIG2CAZEe8vHP/213wSq\nMeQP5HUQtPFskbgdQuJipnRUANHrYVA0mvNa8IyCKF+F2H5Bvjtfpd3UFcRfd40T\nWq/WcaoxNzjobMthEQfTfEflGMxPZd7sMCmhKDUEXWJzEpawoHS8lCdLPrz+rFL0\nQ6H9ppj4QDFiSp3nQBplCFRYySF7g9C8CvVaIrjNpkXTAZCOWk0ek/lrMTIkHWoo\nwwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "type": "Person",
  "inbox": "http://banach/inbox/s8bckMHM6oGrTH_Tq9RI9Q",
  "outbox": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/outbox",
  "followers": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/followers",
  "following": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@banach",
    "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/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:44.593499",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ#legacy-key-1",
    "owner": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4dJtAKB38foW3tBUrQp5\nJdFJ3WoSrtHFThJULc/pJqr/VfVJ39T8BXdXNK9vUifs8B44q5dniLsZww0QtLnZ\niPalMFKlN4xY4dTQdvkHWjBWmq66dxJnNBYamH/eCESULVSKJBAZcYo2A/i284g8\nOOBRU3FgBsOsaJoFGh1UTT+xkitaoT3Qn3uPmQOm8A1tZpCFAHoBNH1idSauPUpH\n9AYoFKAot5T2vl8rjjohBQxQTRPD9UpMoq2ScYNNPfB0IynKYJXPeQOs53t5QdHS\n35X1b84cumJhdZMXquCKMa2FKB0U0o9+ouW7pg0xbiS1AoaCZJC1OPHYE8Kxzk4H\nTwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "type": "Person",
  "inbox": "http://abel/inbox/MEc9YX4dTTqCxKarIqZt-Q",
  "outbox": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ/outbox",
  "followers": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ/followers",
  "following": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@abel",
    "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

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

send.Bob.trigger.send_message
{
  "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Follow",
    "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
    "to": [
      "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
    ],
    "id": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
    "published": "2025-12-19T09:51:44Z",
    "object": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
  }
}
receive.Bob.outgoing.Follow
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Follow",
      "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
      "to": [
        "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
      ],
      "id": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
      "published": "2025-12-19T09:51:44Z",
      "object": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
    }
  },
  "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "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/YfJgHaQFpVKJ5j2-EZhNSQ",
      "to": [
        "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
      ],
      "id": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
      "published": "2025-12-19T09:51:44Z",
      "object": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
    }
  },
  "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "event_type": "incoming",
  "history_id": null
}
send.Alice.trigger.send_message
{
  "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Accept",
    "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
    "to": [
      "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ"
    ],
    "published": "2025-12-19T09:51:45Z",
    "object": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
    "id": "accept:60f5771b-6f72-45cb-89f6-c750a7387f89"
  }
}
receive.Alice.outgoing.Accept
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Accept",
      "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
      "to": [
        "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ"
      ],
      "published": "2025-12-19T09:51:45Z",
      "object": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
      "id": "accept:60f5771b-6f72-45cb-89f6-c750a7387f89"
    }
  },
  "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" updates her profile

send.Alice.trigger.update_actor
{
  "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "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://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
      "to": [
        "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ"
      ],
      "published": "2025-12-19T09:51:45Z",
      "object": "follow:9852c005-1868-4429-a7e8-90c3ded8054a",
      "id": "accept:60f5771b-6f72-45cb-89f6-c750a7387f89"
    }
  },
  "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "event_type": "incoming",
  "history_id": null
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/followers"
      ],
      "published": "2025-12-19T09:51:45Z",
      "object": {
        "attachment": null,
        "published": "2025-12-19T09:51:43.659763",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q#legacy-key-1",
          "owner": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvpZg0U+SC+qhO8BMu98p\nEYaJIAB9UaIfuqFJ7MjPkqG9AhR+5fF4V15ryPLsLuVYFZK96o3gptQFN93ZIo9T\nz3mKwGsApD+Qv88gKl1SmvHkj41iKlYJQ/MMaP4TN9AraIG2CAZEe8vHP/213wSq\nMeQP5HUQtPFskbgdQuJipnRUANHrYVA0mvNa8IyCKF+F2H5Bvjtfpd3UFcRfd40T\nWq/WcaoxNzjobMthEQfTfEflGMxPZd7sMCmhKDUEXWJzEpawoHS8lCdLPrz+rFL0\nQ6H9ppj4QDFiSp3nQBplCFRYySF7g9C8CvVaIrjNpkXTAZCOWk0ek/lrMTIkHWoo\nwwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
        "type": "Person",
        "inbox": "http://banach/inbox/s8bckMHM6oGrTH_Tq9RI9Q",
        "outbox": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/outbox",
        "followers": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/followers",
        "following": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "summary": "I love cows",
        "identifiers": [
          "acct:Alice@banach",
          "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
        ],
        "endpoints": {
          "sharedInbox": "http://banach/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://banach/object/019b3605-c25d-72d6-98f5-539ba657a69e"
    }
  },
  "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
  "event_type": "outgoing",
  "history_id": null
}
receive.Bob.incoming.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/followers"
      ],
      "published": "2025-12-19T09:51:45Z",
      "object": {
        "attachment": null,
        "published": "2025-12-19T09:51:43.659763",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q#legacy-key-1",
          "owner": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvpZg0U+SC+qhO8BMu98p\nEYaJIAB9UaIfuqFJ7MjPkqG9AhR+5fF4V15ryPLsLuVYFZK96o3gptQFN93ZIo9T\nz3mKwGsApD+Qv88gKl1SmvHkj41iKlYJQ/MMaP4TN9AraIG2CAZEe8vHP/213wSq\nMeQP5HUQtPFskbgdQuJipnRUANHrYVA0mvNa8IyCKF+F2H5Bvjtfpd3UFcRfd40T\nWq/WcaoxNzjobMthEQfTfEflGMxPZd7sMCmhKDUEXWJzEpawoHS8lCdLPrz+rFL0\nQ6H9ppj4QDFiSp3nQBplCFRYySF7g9C8CvVaIrjNpkXTAZCOWk0ek/lrMTIkHWoo\nwwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q",
        "type": "Person",
        "inbox": "http://banach/inbox/s8bckMHM6oGrTH_Tq9RI9Q",
        "outbox": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/outbox",
        "followers": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/followers",
        "following": "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "summary": "I love cows",
        "identifiers": [
          "acct:Alice@banach",
          "http://banach/actor/01EVdf8SQvbGVyo2mTCY3Q"
        ],
        "endpoints": {
          "sharedInbox": "http://banach/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://banach/object/019b3605-c25d-72d6-98f5-539ba657a69e"
    }
  },
  "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "event_type": "incoming",
  "history_id": null
}

then: "Bob" receives an activity

then: "Bob" can fetch this activity

send.Bob.request.fetch
{
  "actor": "http://abel/actor/YfJgHaQFpVKJ5j2-EZhNSQ",
  "uri": "accept:60f5771b-6f72-45cb-89f6-c750a7387f89"
}