pub struct GetWikiPagesQuery {
pub limit: Option<i64>,
pub query: Option<String>,
pub wiki_category_ids: Option<Vec<i64>>,
pub order_fields: Option<Vec<String>>,
pub order_directions: Option<Vec<String>>,
pub include: Option<Vec<String>>,
pub preview_length: Option<i64>,
}Expand description
Query parameters for GET /wiki/pages.
Fields§
§limit: Option<i64>Maximum page size.
query: Option<String>Trimmed search term. SQL LIKE wildcard characters % and _ are interpreted by the backend.
wiki_category_ids: Option<Vec<i64>>Wiki category IDs that should be included. If none are given, all categories the user can view are included. Categories the user is not allowed to view are silently filtered out.
order_fields: Option<Vec<String>>Fields used to sort the result. Multiple fields are applied in the given order. If omitted while query is present, results are sorted by search relevance.
Allowed values: createdDate, modifiedDate, modifiedPerson, title, wikiCategoryId, wikiCategoryName.
order_directions: Option<Vec<String>>Sort directions matching order_fields[] by position. Missing directions default to ASC.
Allowed values: ASC, DESC.
include: Option<Vec<String>>text returns Markdown or sanitized HTML; preview returns a raw stored-text prefix without HTML sanitization.
Allowed values: preview, text.
preview_length: Option<i64>Maximum number of characters returned in textPreview when include[]=preview is requested. Ignored without include[]=preview.