Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @mariusor@metalhead.club
silverpill@silverpill@mitra.social (2026-06-14 22:28:58)
@mariusor Activity type is not the only meaningful information about the side-effect, but in many cases a custom type could help with the identification.
---Reply---
silverpill@silverpill@mitra.social (2026-06-14 22:39:14)
@mariusor What kind of side-effect hint would you prefer?
1. Specialized activity name
{
"type": "AcceptFeatureRequest"
"object": "https://social.example/request"
}
2. Additional property
{
"type": "Accept",
"object": "https://social.example/request",
"objectType": "FeatureRequest"
}
3. Embedded object (possibly partial):
{
"type": "Accept",
"object": {
"id": "https://social.example/request",
"type": "FeatureRequest"
}
}
Reply
---Replies---
Phantasm@phnt@fluffytail.org (2026-06-14 22:55:03)
@silverpill @mariusor 2
marius@mariusor@metalhead.club (2026-06-14 22:59:23)
@silverpill hypothetically the last one is the one I find the most consistent with the way I interpreted the Activity vocabulary spec, and the way I implemented the ActivityPub processing state machine.