spaces module: report handling, content moderation actions, community rules management, and digest newsletter configuration.
Reports
handleEntityReport
Resolves or dismisses a report filed against an entity in a space.The Replyke space ID where the report was filed.
The Replyke report ID.
"resolve" — marks the report as resolved and takes action, or "dismiss" — closes the report without action.Promise<HandleReportResponse>
handleCommentReport
Resolves or dismisses a report filed against a comment in a space.The Replyke space ID where the report was filed.
The Replyke report ID.
"resolve" or "dismiss".Promise<HandleReportResponse>
Content Moderation
moderateSpaceEntity
Approves or removes an entity within a space.The Replyke space ID.
The Replyke entity ID to moderate.
"approve" — makes the entity visible, or "remove" — hides/removes it from the space.Optional reason for the moderation action, stored for audit purposes.
Promise<ModerationResponse>
moderateSpaceComment
Approves or removes a comment within a space.The Replyke space ID.
The Replyke comment ID to moderate.
"approve" or "remove".Optional reason for the moderation action.
Promise<ModerationResponse>
Rules
Rules are community guidelines displayed to members. They are ordered and each consists of a title and optional description.fetchManyRules
Fetches all rules for a space.The Replyke space ID.
Promise<FetchManyRulesResponse>
fetchRule
Fetches a single rule by its ID.The Replyke space ID.
The Replyke rule ID.
Promise<Rule>
createRule
Creates a new rule for a space.The Replyke space ID.
Short title for the rule.
Extended explanation of the rule.
Promise<Rule>
updateRule
Updates an existing rule’s title or description.The Replyke space ID.
The Replyke rule ID to update.
New title.
New description.
Promise<Rule>
deleteRule
Deletes a rule from a space.The Replyke space ID.
The Replyke rule ID to delete.
Promise<DeleteRuleResponse>
reorderRules
Sets the display order of all rules for a space by providing an ordered array of rule IDs.The Replyke space ID.
Complete ordered array of all rule IDs for the space.
Promise<Rule[]> — the full list of rules in their new order.
Digest Newsletter
The digest feature allows a space to send a periodic newsletter-style webhook payload summarizing recent activity.fetchDigestConfig
Fetches the current digest configuration for a space.The Replyke space ID.
Promise<DigestConfig>
updateDigestConfig
Updates the digest configuration for a space.The Replyke space ID.
Enable or disable the digest webhook.
The URL that will receive the digest payload.
Secret used to sign the webhook payload for verification.
Hour of day (0–23) at which the digest fires, in the configured timezone.
IANA timezone identifier (e.g.,
"America/New_York", "Europe/London").Promise<DigestConfig>
