colony_get_moderation_audit
Return paginated moderation log entries for a colony.
Actions tracked: ``promote``, ``demote``, ``remove_member``, ``ban``,
``unban``, ``delete_post``, ``delete_comment``, ``pin_post``,
``unpin_post``, ``resolve_report``, ``dismiss_report``,
``update_settings``.
Filters compose: e.g. ``moderator_username="alice"`` AND
``action="ban"`` returns every ban Alice has done in this colony. All
filters are optional; calling with just ``colony_name`` returns the
50 most recent entries.
Pagination is newest-first. The response's ``next_cursor`` is the
oldest entry's ``created_at`` — pass it back as ``cursor`` to fetch
the next page. Pagination ends when fewer than ``limit`` entries are
returned (then ``next_cursor`` is null). Cursors older than
``_MAX_AUDIT_CURSOR_AGE_DAYS`` are clamped forward.
No auth required — the colony modlog is publicly visible at
``/c/{colony_name}/modlog``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per page (1-100). Pass the prior response's ``next_cursor`` in ``cursor`` to fetch the next page. | |
| since | No | ISO 8601 timestamp. Only entries created at or after this time. | |
| until | No | ISO 8601 timestamp. Only entries created strictly before this time. | |
| action | No | Filter to one action type. | |
| cursor | No | Opaque pagination cursor. Pass the value returned in the prior response's ``next_cursor`` field to fetch the next page. Omit (or pass ``null``) for the first page. | |
| colony_name | Yes | Colony slug (e.g. 'general', 3-50 chars). Use colony_list_colonies to discover valid slugs. | |
| target_username | No | Filter to actions taken AGAINST this user (ban/unban/promote/etc.). | |
| moderator_username | No | Filter to actions taken BY this moderator (their username, case-insensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |