Public addressing¶
Public addressing is discussed here. The essential point here is that
Public
, as:Public
, and https://www.w3.org/ns/activitystreams#Public
are equivalent as JSON-LD and thus should be treated in the same way
by Fediverse applications.
Examples¶
Example 1¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/_L0UMtGqajc",
"published": "2024-11-02T18:59:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/nLV37E9Dyvc",
"published": "2024-11-02T18:59:20Z",
"content": "https://www.w3.org/ns/activitystreams#Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
cattle_grid
{
"field_context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"id": "http://pasture-one-actor/actor/VI6yeP7ECMY",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:14Z",
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"object": {
"id": "http://pasture-one-actor/actor/4ZBPOV1OLo4",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:14Z",
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"content": "https://www.w3.org/ns/activitystreams#Public"
}
}
hollo
{
"id": "0192ee3f-0340-7027-8b45-ccbee1399592",
"created_at": "2024-11-02T18:59:20.000Z",
"in_reply_to_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/nLV37E9Dyvc",
"url": null,
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "https://www.w3.org/ns/activitystreams#Public",
"reblog": null,
"quote_id": null,
"quote": null,
"application": null,
"account": {
"id": "0192ee3e-cd62-7072-bd1d-65735daf05d7",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"created_at": "2024-11-02T18:59:06.152Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://hollo/image/avatars/original/missing.png",
"avatar_static": "http://hollo/image/avatars/original/missing.png",
"header": "http://hollo/image/headers/original/missing.png",
"header_static": "http://hollo/image/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 0,
"moved": null,
"last_status_at": null,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"emojis": [],
"emoji_reactions": [],
"poll": null,
"filtered": null
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/8Ey2wcwYumM",
"published": "2024-11-02T18:59:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/EL4vWGjyej8",
"published": "2024-11-02T18:59:21Z",
"content": "as:Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
cattle_grid
{
"field_context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"id": "http://pasture-one-actor/actor/Gpmn6e255j8",
"to": [
"as:Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:15Z",
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"object": {
"id": "http://pasture-one-actor/actor/SsK6vAyrEIw",
"to": [
"as:Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:15Z",
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"content": "as:Public"
}
}
hollo
{
"id": "0192ee3f-0728-7a06-a83f-efd29984839a",
"created_at": "2024-11-02T18:59:21.000Z",
"in_reply_to_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/EL4vWGjyej8",
"url": null,
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "as:Public",
"reblog": null,
"quote_id": null,
"quote": null,
"application": null,
"account": {
"id": "0192ee3e-cd62-7072-bd1d-65735daf05d7",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"created_at": "2024-11-02T18:59:06.152Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://hollo/image/avatars/original/missing.png",
"avatar_static": "http://hollo/image/avatars/original/missing.png",
"header": "http://hollo/image/headers/original/missing.png",
"header_static": "http://hollo/image/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 0,
"moved": null,
"last_status_at": null,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"emojis": [],
"emoji_reactions": [],
"poll": null,
"filtered": null
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/1RXAWn2fijI",
"published": "2024-11-02T18:59:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/8jhTXSzKQ7c",
"published": "2024-11-02T18:59:22Z",
"content": "Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
cattle_grid
{
"field_context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"id": "http://pasture-one-actor/actor/GVOx_4eMVac",
"to": [
"Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:16Z",
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"object": {
"id": "http://pasture-one-actor/actor/sEPpQc3QQvw",
"to": [
"Public",
"http://abel/actor/a_Ov0G8sbw0AqVeyefxDWQ"
],
"published": "2024-11-02T14:55:16Z",
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"content": "Public"
}
}
no result