activitypub extension providing useful fields to implement frontends, quite useless for federation
all these fields should only be shown to logged in local users
this is a draft, expect changes!
abbreviated prefix | full IRI |
---|---|
as | https://www.w3.org/ns/activitystreams/# |
xsd | https://www.w3.org/TR/xmlschema11-2/# |
fe | https://ns.alemi.dev/as/fe/# |
domain
as:Application | as:Group | as:Organization | as:Person | as:Servicerange
as:Collectionthis field should contain a Collection of activities which directly interacted with the owning Actor, such as likes or replies.
this collection should only be visible to local user owning this actor once authenticated.
while it should be possible to embed this field, it is probably a better choice to just put a link to the Collection itself.
domain
as:Application | as:Group | as:Organization | as:Person | as:Servicerange
xsd:booleanis true if actor is following local user
domain
as:Application | as:Group | as:Organization | as:Person | as:Servicerange
xsd:booleanis true if actor is followed by local user
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "fe": "https://ns.alemi.dev/as/fe/#", "followingMe": "fe:followingMe", "followedByMe": "fe:followedByMe", "notifications": "fe:notifications" } ], "id": "https://example.net/users/actor", "following": "https://example.net/users/actor/following", "followers": "https://example.net/users/actor/followers", "inbox": "https://example.net/users/actor/inbox", "outbox": "https://example.net/users/actor/outbox", "notifications": "https://example.net/users/actor/notifications", "name": "Test Actor", "summary": "manually generated actor", "preferredUsername": "actor", "followingMe": true, "followedByMe": false, "type": "Person" }
domain
as:Objectrange
xsd:booleanis true if object has been liked by local user
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "fe": "https://ns.alemi.dev/as/fe/#", "likedByMe": "fe:likedByMe" } ], "id": "https://example.net/objects/1", "attributedTo": "https://example.net/users/actor", "summary": "my first post", "content": "Hello world!", "published": "2024-05-01T21:27:57.704282Z" "likedByMe": true, "type": "Note" }
domain
as:Activityrange
xsd:booleanis true if notifications generated by this activity have been seen by local user