Skip to content

After unblock can retrieve profile

given: "Alice" created an actor on "abel" called "Alice" with username "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": "2026-03-20T15:23:07.728063",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ#legacy-key-1",
    "owner": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxUsFPc7rRknmJBT+RhWW\nWJU83MUSJzkFHI2dtcUzjEXJP1FowBaRCsK38D6hTG734I4RDWhX16D+dQlKqUNS\nqsywiWTI3IJIPHPQqyS9zmtkY8n4kbZKmOihGbkBEk2j0hq+0RQzt5ZarAtKLxeT\nLX58/db1BvnYvcig7Ml5rDWL2LFFX8OsGHHG/u84aXbw0a8U1FSMet+wwivu9hJR\nnZqBNKdmSRBYrzGWxjprtW589/HA58jHhCM6q2ixfkilSQyfcPWBvbluoFcXCo3y\noMiIbLEmGx5ZtjJD4o9sP6sewmJfzKR6crv8CA2L5qmYxYMwVXK/1Ay6gotBJdOy\nJQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ",
  "type": "Person",
  "inbox": "http://abel/inbox/D4bK-uIwUYA4CcGYJuGK-g",
  "outbox": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ/outbox",
  "followers": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ/followers",
  "following": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" created an actor on "banach" called "Bob" with username "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,
  "published": "2026-03-20T15:23:08.292714",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg#legacy-key-1",
    "owner": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5LmjKfgQZNirqNgWpzZG\nfK/3jdWBfKZ28G18uNzG6mf2CcbkZmAEopjc/qrk0ycmmLy+OY9cW9AWA6/sJFvh\nDRAKUTVEOjyaX+XU6gvZ7LkBos8EkYKu7yrhOt1sTiu4wG7xrhh4pjLRx/hBUJjj\nIeWYMeBsCU8n52CcQt60qCuYYcCow3rsBAJtlhW5J/GBBUvTLj/AJIwKgtPP7rc3\np9VFXE+FYXQ51ca5pzukxrjJxn6cahxYEAtudumvqVL/4D1MUgBtsZGPJdS16ioQ\nuKkKWRaqs+3jNuXHzVfBo8qtvKqJRnV6FY5gCssrVmzwl4/KK/DP6NWxr7V/SAO0\nzQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "type": "Person",
  "inbox": "http://banach/inbox/xjKO8rtyPPsqb-vh0K_qBw",
  "outbox": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/outbox",
  "followers": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/followers",
  "following": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@banach",
    "http://banach/actor/zTTGlBTKClXV4sc8w26-eg"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" blocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Block",
    "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
    "to": [
      "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
    ],
    "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/e20cc5dad2e8058e",
    "published": "2026-03-20T15:23:08Z",
    "object": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
  }
}
receive.Bob.outgoing.Block
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Block",
      "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
      "to": [
        "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
      ],
      "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/e20cc5dad2e8058e",
      "published": "2026-03-20T15:23:08Z",
      "object": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
    }
  },
  "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "event_type": "outgoing",
  "history_id": null
}

when: "Bob" unblocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Undo",
    "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
    "to": [
      "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
    ],
    "published": "2026-03-20T15:23:08Z",
    "object": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/e20cc5dad2e8058e",
    "id": "undo:df8b3802-e869-4dc8-b35c-cf3713e739d3"
  }
}
receive.Bob.outgoing.Undo
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Undo",
      "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
      "to": [
        "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ"
      ],
      "published": "2026-03-20T15:23:08Z",
      "object": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/e20cc5dad2e8058e",
      "id": "undo:df8b3802-e869-4dc8-b35c-cf3713e739d3"
    }
  },
  "actor": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" retrieves the object with the actor id of "Bob"

send.Alice.request.fetch
{
  "actor": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ",
  "uri": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg"
}
receive.Alice.response.fetch
{
  "actor": "http://abel/actor/0MHhpBn6GIsJAeVFEUCJUQ",
  "uri": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
  "data": {
    "attachment": null,
    "published": "2026-03-20T15:23:08.292714",
    "@context": [
      "https://www.w3.org/ns/activitystreams",
      "https://w3id.org/security/v1",
      {
        "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
      }
    ],
    "publicKey": {
      "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg#legacy-key-1",
      "owner": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
      "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5LmjKfgQZNirqNgWpzZG\nfK/3jdWBfKZ28G18uNzG6mf2CcbkZmAEopjc/qrk0ycmmLy+OY9cW9AWA6/sJFvh\nDRAKUTVEOjyaX+XU6gvZ7LkBos8EkYKu7yrhOt1sTiu4wG7xrhh4pjLRx/hBUJjj\nIeWYMeBsCU8n52CcQt60qCuYYcCow3rsBAJtlhW5J/GBBUvTLj/AJIwKgtPP7rc3\np9VFXE+FYXQ51ca5pzukxrjJxn6cahxYEAtudumvqVL/4D1MUgBtsZGPJdS16ioQ\nuKkKWRaqs+3jNuXHzVfBo8qtvKqJRnV6FY5gCssrVmzwl4/KK/DP6NWxr7V/SAO0\nzQIDAQAB\n-----END PUBLIC KEY-----\n"
    },
    "id": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg",
    "type": "Person",
    "inbox": "http://banach/inbox/xjKO8rtyPPsqb-vh0K_qBw",
    "outbox": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/outbox",
    "followers": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/followers",
    "following": "http://banach/actor/zTTGlBTKClXV4sc8w26-eg/following",
    "preferredUsername": "Bob",
    "name": "Bob",
    "identifiers": [
      "acct:Bob@banach",
      "http://banach/actor/zTTGlBTKClXV4sc8w26-eg"
    ],
    "endpoints": {
      "sharedInbox": "http://banach/shared_inbox"
    },
    "manuallyApprovesFollowers": true
  }
}

then: The retrieved object is the profile of "Bob"