MightyNetwork :: Doc :: ActivityPub :: Activity :: Delete (source, CPAN)

CONTENTS

NAME

MightyNetwork::Doc::ActivityPub::Activity::Delete

DESCRIPTION

Activity indicating that the actor has deleted the object.

See https://www.w3.org/TR/activitystreams-vocabulary/#dfn-delete for details.

ACTOR

Activity’s actor refer to the actor who makes the action.

OBJECT

Activity’s object refer to the object that is the subject of the action.

See https://www.w3.org/TR/activitystreams-vocabulary/#h-object-types for available objects.

SUMMARY

Example: https://example.org/users/narf Delete a Note.

JSON-LD REPRESENTATION

For our example above, the activity would be like this.

{
    "@context": "https://www.w3.org/ns/activitystreams",
    "summary": "Narf deleted a note",
    "type": "Delete",
    "actor": "https://example.org/users/narf",
    "object": "http://example.org/notes/1",
}

SEE ALSO

MightyNetwork::Doc, MightyNetwork::Doc::ActivityPub, MightyNetwork::Doc::ActivityPub::Actor, MightyNetwork::Doc::ActivityPub::Activity, object, MightyNetwork::Doc::ActivityPub::Note, https://www.w3.org/TR/activitystreams-vocabulary/#h-activity-types, https://www.w3.org/TR/activitystreams-vocabulary/#h-object-types