Listings V2
Search listings
Changed onSearch listings with filters
Searches active listings using full-text search, quality tier filters, price filters, and game item filters. Uses the listing_search view for optimized query performance.
Requirements:
- 15.1: GET /api/v2/listings/search endpoint
- 15.2: Accept text query parameter for full-text search
- 15.3: Accept game_item_id parameter for item filtering
- 15.4: Accept quality_tier_min and quality_tier_max parameters
- 15.5: Accept price_min and price_max parameters
- 15.6: Accept page and page_size parameters for pagination
- 15.7: Return listings with price_min, price_max, quality_tier_min, quality_tier_max
- 15.8: Return total count for pagination
- 15.9: Support sorting by created_at, price, quality, seller_rating
- 15.10: Include seller information in results
- 15.11: Include variant_count in results
- 15.12: Execute queries within 50ms performance target
put/listings/{id}
Request
- Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v2/listings/{id}
- Auth: loggedin (a scheme the document does not define)
Path parameters
idstring required
Request body
Response
Search results with pagination metadata
Changes
- ○
added the new optional request property
- ○
- ○
added the optional property
/to the response with the status
- ○