π Pagination & Sorting
Query Parameters
Parameter
Type
Default
Description
Sorting Examples
# Get newest projects first (default)
GET /listProjects?sort=-createdAt
# Get oldest projects first
GET /listProjects?sort=createdAt
# Sort alphabetically by name
GET /listProjects?sort=name
# Sort by name descending (Z to A)
GET /listProjects?sort=-namePagination Examples
# Get first page with 10 items
GET /listProjects?page=1&limit=10
# Get second page with 50 items
GET /listProjects?page=2&limit=50
# Get all projects (up to 100 per page)
GET /listProjects?limit=100Last updated