Overview
useFetchRule returns a callable function that fetches a single community rule by ID. Rules are publicly readable — no authentication is required.
Usage Example
Parameters
string
required
UUID of the space.
string
required
UUID of the rule to fetch.
Returns
A single Rule object withid, projectId, spaceId, title, description, order, lastApprovedBy, createdAt, and updatedAt.
