MightyNetwork :: Doc :: ActivityPub :: Note (source, CPAN)

CONTENTS

NAME

MightyNetwork::Doc::ActivityPub::Note

DESCRIPTION

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.

JSON-LD REPRESENTATION

{
    "@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.

PROPERTIES

to

Refers to the recipients of the note.

cc

Refers to the secondary recipients of the note.

See to

attributedTo

The id of the actor that emitted the message.

content

Well… the content of the note ¯\_(ツ)_/¯

published

Timestamp, date and time of message’s emission.

SEE ALSO

MightyNetwork::Doc, MightyNetwork::Doc::ActivityPub, MightyNetwork::Doc::Glossary