info: name: Test Collection Rules - Copyright Year Greater Than type: http seq: 3 http: method: POST url: '{{base_url}}/api/collections/test-rules' auth: inherit body: type: json jsonBody: "{\n \"rules\": [\n {\n \"field\": \"copyright_year\"\ ,\n \"operator\": \"greater_than\",\n \"value\": \"2000\"" headers: - key: Content-Type value: application/json - key: Authorization value: Bearer {{authToken docs: |- ## Test Collection Rules - Copyright Year Greater Than Tests the "greater_than" operator on the copyright_year field to find books published after a specific year. **Example Use Case:** Creating a "Modern Books" collection with books published after 2000. **Operator:** `greater_than` - Matches if the field value is greater than the specified value (numeric comparison). **Field:** `copyright_year` - The year the book was copyrighted/published. **Expected Result:** Returns all books with copyright_year greater than 2000 (i.e., published in 2001 or later). **Purpose:** Demonstrates numeric comparison operators for creating date-based collections, useful for organizing books by publication era.