Skip to content

"Has a webpage"

given: "Alice" created an actor on "banach" called "Alice" with username "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": "2026-03-20T15:18:18.310320",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA#legacy-key-1",
    "owner": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx9Tf/WPzZ/jFvRdAxaKK\n/5SZpyyZzlIv06Duj6/QSps1YgRzDf26OycCEUqyT8Bt2nBGvhoEFItkYKpghaad\n1H645sXAAGJKqdLDe7aWX7xBOM002wIBq/F/HH0Z2tE/zyPDeIl6ZKaq0EUccrs3\nFullS8XyrlEcgyzbb77hHcrsPcehLlZyvR+/q3o5byI4LlJqkNPVimoNpThgvtGI\nvWjIUNZ2Vj9V9e4A1tN75nR0gDJS2G0MYScEkUwruQ0Pd7Ax9qflvuUoTE6j5Bm+\nuD+K1ZChs5UlFY4kSNmYB9oXJQ4GttWMnSpw88Djg88TT14oPLcdkgJ19WtLHn+m\njwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
  "type": "Person",
  "inbox": "http://banach/inbox/oPfG5y5bt7Zwo3jYv78aXg",
  "outbox": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/outbox",
  "followers": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/followers",
  "following": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@banach",
    "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Alice" sets her display name to "alex"

send.Alice.trigger.html_display_name
{
  "actor": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
  "name": "alex"
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/followers"
      ],
      "published": "2026-03-20T15:18:18Z",
      "object": {
        "attachment": null,
        "published": "2026-03-20T15:18:18.310320",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA#legacy-key-1",
          "owner": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx9Tf/WPzZ/jFvRdAxaKK\n/5SZpyyZzlIv06Duj6/QSps1YgRzDf26OycCEUqyT8Bt2nBGvhoEFItkYKpghaad\n1H645sXAAGJKqdLDe7aWX7xBOM002wIBq/F/HH0Z2tE/zyPDeIl6ZKaq0EUccrs3\nFullS8XyrlEcgyzbb77hHcrsPcehLlZyvR+/q3o5byI4LlJqkNPVimoNpThgvtGI\nvWjIUNZ2Vj9V9e4A1tN75nR0gDJS2G0MYScEkUwruQ0Pd7Ax9qflvuUoTE6j5Bm+\nuD+K1ZChs5UlFY4kSNmYB9oXJQ4GttWMnSpw88Djg88TT14oPLcdkgJ19WtLHn+m\njwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
        "type": "Person",
        "inbox": "http://banach/inbox/oPfG5y5bt7Zwo3jYv78aXg",
        "outbox": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/outbox",
        "followers": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/followers",
        "following": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "url": [
          {
            "type": "Link",
            "href": "http://banach/@alex",
            "mediaType": "text/html"
          }
        ],
        "identifiers": [
          "acct:Alice@banach",
          "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA"
        ],
        "endpoints": {
          "sharedInbox": "http://banach/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://banach/object/019d0bd3-6c72-7a59-b82e-116d8a48a027"
    }
  },
  "actor": "http://banach/actor/jleGZziVdKFT9FZ9SmJxeA",
  "event_type": "outgoing",
  "history_id": null
}

when: The request URL is the actor object of "Alice"

when: The request requests the content-type "text/html"

when: The request is made

then: The response is a webpage