MightyNetwork::Doc::ActivityPub::Note
Federated object of Note
type.
Inherits all properties from the Object type (doesn’t add new ones at the time of writing).
See https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note for details.
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"id" : "https://example.org/users/narf/note/5b44c2974a67a67eec472d82",
"to" : [ "https://www.w3.org/ns/activitystreams#Public" ],
"cc" : [ "https://example.org/users/narf/followers" ],
"attributedTo":"https://example.org/users/narf",
"content": "Hello world !",
"published":"2018-07-10T14:28:39.889Z",
}
As this object is federated, it needs a type
(Note
, obviously) and an id
.
Refers to the recipients of the note.
"https://www.w3.org/ns/activitystreams#Public"
means that the message is public, i.e. viewable by all the fediverse.
"https://example.org/users/narf/followers"
means that the message is for followers of Narf (an actor) only.
"https://example.org/users/framasky"
means that the message is for this actor only (as to
is an array, you can put more than one actor).
Refers to the secondary recipients of the note.
See to
The id
of the actor that emitted the message.
Well… the content of the note ¯\_(ツ)_/¯
Timestamp, date and time of message’s emission.
MightyNetwork::Doc, MightyNetwork::Doc::ActivityPub, MightyNetwork::Doc::Glossary