list_announcements
Retrieve announcements from Nextcloud Announcement Center, in reverse chronological order. Admins see all; regular users see group-targeted or public ones. Supports pagination.
Instructions
List announcements from the Nextcloud Announcement Center.
Returns announcements visible to the current user, sorted by newest first. The server returns up to 7 announcements per page.
Admins see all announcements. Regular users only see announcements targeted at their groups or at "everyone".
Args: offset: Announcement ID to paginate from. Pass the smallest ID from a previous call to fetch older announcements. Default 0 means start from the newest.
Returns: JSON object with "data" (list of announcements) and "pagination" (count, offset, has_more). Each announcement has: id, author_id, author, time (unix), subject, message (markdown), groups (admin only), comments (count or false if disabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |