Guides
Filtering
Narrow collection endpoints with validated query parameters.
Common filters
| Parameter | Applies to | Format |
|---|---|---|
| repository | Repository-derived collections | owner/name |
| from / to | Most time-ordered collections | YYYY-MM-DD |
| source | News, articles and videos | Configured source hostname |
| limit / cursor | All paginated collections | 1–50 and opaque cursor |
Encode values
Encode query values with URLSearchParams. The server trims values and rejects invalid formats before running a database query.
const params = new URLSearchParams({ repository: 'owner/name', limit: '20' });
const url = '/api/v1/development/commits?' + params;