Bob sends Alice a Block, Alice cannot view Bob's profile¶
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:10.075444",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ#legacy-key-1",
"owner": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr5FAOmJKiMwZeqc5fGPR\nYWOE/JUWXVf/3DUGPXCzWM2UDvn1LDoa9toI9wTd0isp+cM+51qQP8YO3njIf8Fv\nLupnaD/xPTGcFJwD598cl+TnC9EBk7so0DJ53JVZlRWZpig9QkeVASf+T+yWAXtX\nwdo1UYRytDgd4BvOReppoY1QYXRKdTPvmWvJSDa2toiEAuM8InhrqNDIhlsga0AP\nQ4GzpPy6/2x9mGQ6C9rEwuqcxB6VMbRvJ2C/WlI9orvYjJhEL9mSL1WvWf4QbRgm\n2vc3jjfeZJXKkPBhyFmwGrurGUDnKmlTEx6LymaarUmpkUbBSrp2hqkxHSvrjT4v\n0QIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ",
"type": "Person",
"inbox": "http://banach/inbox/1Y2tOprBpuEVlTX1wbNKYQ",
"outbox": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ/outbox",
"followers": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ/followers",
"following": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ/following",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@banach",
"http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ"
],
"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:11.133219",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g#legacy-key-1",
"owner": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2talJOh2U1fHSquTdDdN\nmI/Uzf9sS9E+ENDsDHWgaSfyNPT3aUA7DTf7eJQ8udbma1trCgRxbZRHv7B8zw1B\nmJwGawk7l0PHTiTh1ac4Nr/FmkWb/CMz0qgtQ9FifvJtfW0JeYpaP7DAjM7/ioEl\n7PFJtA3+6P5roc5uGlz6THcKrTWFafrhjbn1yRM0kQq70Pkycx9gOHoUcXCuAwbP\nUfmVrJJYeI/7ZSLSbBrW7r9iUmAhb0KJXvmh1n45QZB5a5YAwn+JGofs8rw9rsD4\nu0+TzsOQOvVQtJY/cvZOThiuULzFHDebSTlmwhnrVcWZqcydlk9WAxSb3GKL8wwX\nWwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"type": "Person",
"inbox": "http://abel/inbox/KHHfEu9uVZBrIDTi7zNnYQ",
"outbox": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g/outbox",
"followers": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g/followers",
"following": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g/following",
"preferredUsername": "Bob",
"name": "Bob",
"identifiers": [
"acct:Bob@abel",
"http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g"
],
"endpoints": {
"sharedInbox": "http://abel/shared_inbox"
},
"manuallyApprovesFollowers": true
}
when: "Bob" blocks "Alice"¶
send.Bob.trigger.send_message
{
"actor": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"data": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"to": [
"http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ"
],
"id": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g/a2640f98fe6c3751",
"published": "2025-12-19T09:51:11Z",
"object": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ"
}
}
receive.Bob.outgoing.Block
{
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"to": [
"http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ"
],
"id": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g/a2640f98fe6c3751",
"published": "2025-12-19T09:51:11Z",
"object": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ"
}
},
"actor": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g",
"event_type": "outgoing",
"history_id": null
}
when: "Alice" retrieves the object with the actor id of "Bob"¶
send.Alice.request.fetch
{
"actor": "http://banach/actor/yFmLJOcSSt-4FH7Do8eSKQ",
"uri": "http://abel/actor/YOK4iI4MsoPMlcP8rhmo-g"
}