Bob sends Alice a Block, Alice cannot view Bob's 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:21:41.444396",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg#legacy-key-1",
"owner": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2NHiRDjilnJUSa3vwjY0\nSdOgyPN6xyY+SJPbBLfT3Ct3EpKi7z9Cg1cWauCWmsfH9HNw95ddaBUiIcWP6dsB\nttKscwKYOlUPQp3P2EzNbI9SzhdLsMHQxegHZJFTA2N5plmnq4V/HwkL/UclBYeG\nV8/aCmK/j68x+KQywNsEIIdMU4ELZcIWpI6w9eqTZ9wsUDk6fS9zPNLJ6u28jdNv\nI7cJiISTxSufclX9PDoD3oO6+MkcNkiHp2nL+XK79vH4IRmZtaQSMq4Y6jPShtCi\nL8TVFOQ9tVOriDYBsYuzl6XTQfNgv96oR0jFYDy+GaIqss44sfLprtHQZN7f6eKW\nSwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg",
"type": "Person",
"inbox": "http://abel/inbox/ATpzFdJyqaWuXCmgfeBmpw",
"outbox": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg/outbox",
"followers": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg/followers",
"following": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg/following",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@abel",
"http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg"
],
"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:21:42.067918",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA#legacy-key-1",
"owner": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr3yp+UJcylK7Mqoee3HI\ngewI5wciTULYlMYrIa+MOsVvWVlmfPCfoVAJJCpK94p00lySgQ8jaIRB4/gpTiX3\nhDevGi07GE6RJYc5faDryk5Y8AO7rtr47U9/CDxgMSJfP2+8/r6RSu+/qSDo8EpT\nTdOtsIy51Mldq/M635LnIoywE45vwi/Y5HOMZS+6ZI70kiukDeCXHlSjPRTJcrPr\nFdJlgf8zRguJTHn6Zhlny8gTVN97s0XZvzZw4vK1DJQ+xeJuVlrKFkpHvDm5QRtY\nE9vUuSrITb6j/Gj1zSXUZlYl6cK+qVMDqCxucIO4ACCZXhMdnXX5YKYonQRd0i2O\n3QIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"type": "Person",
"inbox": "http://banach/inbox/FT7Dc5J_rNQdhXDqNBIuqQ",
"outbox": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA/outbox",
"followers": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA/followers",
"following": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA/following",
"preferredUsername": "Bob",
"name": "Bob",
"identifiers": [
"acct:Bob@banach",
"http://banach/actor/9W0neS-RlwwrvsRe8lKQAA"
],
"endpoints": {
"sharedInbox": "http://banach/shared_inbox"
},
"manuallyApprovesFollowers": true
}
when: "Bob" blocks "Alice"¶
send.Bob.trigger.send_message
{
"actor": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"data": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"to": [
"http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg"
],
"id": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA/3ed3ae919f52850b",
"published": "2026-03-20T15:21:42Z",
"object": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg"
}
}
receive.Bob.outgoing.Block
{
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"to": [
"http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg"
],
"id": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA/3ed3ae919f52850b",
"published": "2026-03-20T15:21:42Z",
"object": "http://abel/actor/Hxz-xv7wP6wolWf_N9NVZg"
}
},
"actor": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA",
"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/Hxz-xv7wP6wolWf_N9NVZg",
"uri": "http://banach/actor/9W0neS-RlwwrvsRe8lKQAA"
}