list_news
Retrieve paginated OpenProject news entries, filtered by project or title/summary search. Use it to browse announcements page by page and cap each entry's text length.
Instructions
List news entries, optionally filtered by project or title/summary search.
total is only the count of allowed news entries returned on THIS page, not a full count of all matches; the search stops as soon as it has enough, so an exact total would need an extra full walk. Page until next_offset is null.
text_limit caps each entry's summary/description at that many characters (default: the server's configured OPENPROJECT_TEXT_LIMIT, NOT unlimited -- unlike get_news's single-item default). When text is cut, description_truncated is true and description_length reports the real length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, capped at OPENPROJECT_MAX_PAGE_SIZE. | |
| offset | No | 1-based page number; pass the previous result's next_offset. | |
| search | No | ||
| select | No | Fields to return; a requested unset field comes back as null. Allowed: author, can_delete, can_update, created_at, description, description_length, description_truncated, id, project, project_id, summary, title. | |
| project | No | Project identifier, id, or name; a unique part of a name or identifier also matches. | |
| text_limit | No |