Skip to content

"Has a webpage"

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:49:22.428962",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw#legacy-key-1",
    "owner": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlL9om9DgmrOqsYJv4yDH\nfj+7HtCZ9Jjq7HjgOqkCELLa/OBURUa1LqTtK+ebwMfRfUYP45bhXxLKS0W2qa/q\nX//bE32AgNs4CJgf1ClamGubRbrc2ohbdfB2zIfKKjufHPXqI/+OT6bI1/D3d4YV\n/ARZjZOXOq8i2NA1bWo7ZL3sXbMUZfAUMv6ldNb3XfOPaluX7dSCdPCn/pYP1tbI\nlu5qGvWafWUIP7w7aL8sGLFidcbzT+UcM9NxxU0BX4PrcfmbsWpo+3FBdniZjDzX\nAv5/0GbMehznOfRLflKdoDv6e2dgChRUv2ggWEls6Bu/A+f9pKwWQS6yiWckg5UW\nKwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
  "type": "Person",
  "inbox": "http://banach/inbox/mwmD9Yx2dtBTPfTDsvc84g",
  "outbox": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/outbox",
  "followers": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/followers",
  "following": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@banach",
    "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw"
  ],
  "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/8tqLTDRFmcERu_TwKiNGqw",
  "name": "alex"
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/followers"
      ],
      "published": "2025-12-19T09:49:22Z",
      "object": {
        "attachment": null,
        "published": "2025-12-19T09:49:22.428962",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw#legacy-key-1",
          "owner": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlL9om9DgmrOqsYJv4yDH\nfj+7HtCZ9Jjq7HjgOqkCELLa/OBURUa1LqTtK+ebwMfRfUYP45bhXxLKS0W2qa/q\nX//bE32AgNs4CJgf1ClamGubRbrc2ohbdfB2zIfKKjufHPXqI/+OT6bI1/D3d4YV\n/ARZjZOXOq8i2NA1bWo7ZL3sXbMUZfAUMv6ldNb3XfOPaluX7dSCdPCn/pYP1tbI\nlu5qGvWafWUIP7w7aL8sGLFidcbzT+UcM9NxxU0BX4PrcfmbsWpo+3FBdniZjDzX\nAv5/0GbMehznOfRLflKdoDv6e2dgChRUv2ggWEls6Bu/A+f9pKwWQS6yiWckg5UW\nKwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
        "type": "Person",
        "inbox": "http://banach/inbox/mwmD9Yx2dtBTPfTDsvc84g",
        "outbox": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/outbox",
        "followers": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/followers",
        "following": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "url": [
          {
            "type": "Link",
            "href": "http://banach/@alex",
            "mediaType": "text/html"
          }
        ],
        "identifiers": [
          "acct:Alice@banach",
          "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw"
        ],
        "endpoints": {
          "sharedInbox": "http://banach/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://banach/object/019b3603-9383-7ed4-912b-9af74b4331d1"
    }
  },
  "actor": "http://banach/actor/8tqLTDRFmcERu_TwKiNGqw",
  "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