reject
FilterThe inverse of filter — removes items where a field matches a condition and keeps everything else. Same operators as filter: eq, ne, gt, gte, lt, lte, contains, startsWith, endsWith, matches.
Syntax
reject:field,operator,valuefieldObject field to test (supports dot-notation)operatorComparison operator: eq, ne, gt, gte, lt, lte, contains, startsWith, endsWith, matchesvalueValue to compare against (parsed as JSON when possible)Use cases
| Use case | Description | URL | |
|---|---|---|---|
| Exclude archived repos | Drop archived repos so results only show active projects. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|reject:archived,eq,true|pick:name,stargazers_count | |
| Exclude completed todos | Show only open tasks by rejecting anything already done. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/todos|reject:completed,eq,true|head:10|pick:id,title | |
| Exclude repos with null language | Filter out repos with no detected primary language. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|reject:language,eq,null|pluck:language|distinct|sort | |
| Exclude forked repos | Show only original repos, skipping any forks. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|reject:fork,eq,true|pick:name,stargazers_count |