Overview
useFetchEntityReactions returns a function that fetches individual reaction records for an entity. Use this to show “who reacted” lists, optionally filtered by a specific reaction type.
Authentication is optional — the endpoint works without a token. When the
caller is signed in, reactions from users with a block between them and the
caller, in either direction, are excluded from both the results and the
count. If the entity’s author has blocked the caller, the call fails with
404 entity/not-found, as for an entity that doesn’t exist. Block filtering
requires the moderation bundle.Usage Example
Parameters
Results per page: a whole number from
1 to 100. Defaults to 20. A larger value is rejected with 400 entity/invalid-query, never lowered to 100.Returns
Array of reaction records. Each includes
id, userId, reactionType, targetId, targetType, createdAt. The user field is populated when user data is available; when spaceReputation is requested it carries an added spaceReputation number. See Reputation.
