objects:interaction
Table of Contents
Interaction
Interactions represent an action that can be taken on a note, and are one of the 5 types of pushable object. Note that replies are sent as notes rather than interactions, because they contain text, can themselves be interacted with, and aren't a simple one-off action.
Schema
- type: “interaction”
- self: uri(interaction) required
- created: timestamp required
- modified: timestamp optional
- author: uri(author) required
- kind: “like” | “dislike” | “reshare” required
- target: uri(note) required
- extensions: object optional default={}
- (uri): any many
Example
{ "type": "interaction", "self": "https://social.example/interaction/15", "created": "2025-03-22T12:00:00Z", "author": "https://social.example/user/winter", "kind": "like", "target": "https://antisocial.example/note/543" }
objects/interaction.txt · Last modified: 2025/03/22 12:26 by winter