List the rule catalogue
Returns the CLOSED catalogue of things a rule can measure. Solya ships the list; the merchant sets the threshold, the perimeter, the mode and the switch — there is no free-form rule builder, on purpose. Every entry is measurable with the Centrale’s own data: a measurement needing sales velocity, a purchase cost or a supplier minimum is absent rather than listed-and-inert, because a rule that can never fire is one the merchant believes in. Read this before POST /rules: templateId must come from here. The catalogue is a dozen entries and pages like every other list purely for consistency.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
1-based page index to return. Defaults to 1.
1 <= x <= 9007199254740991Rows per page, 1..100. Defaults to 20.
1 <= x <= 100Response
The catalogue, in the order the screen offers it.
The catalogue, in the order the screen offers it.
The rows on this page, in the query's sort order.
Total rows matching the filter across ALL pages, not just this one.
0 <= x <= 9007199254740991The 1-based page number served.
0 < x <= 9007199254740991Rows requested per page.
0 < x <= 9007199254740991Total number of pages; stop walking when page reaches it.
0 <= x <= 9007199254740991
