The following describes the available filter names you can use to construct a filter for each of the query types.
PackageFilter!
Filter Name | Type | Description | Example |
---|---|---|---|
| Case sensitive pattern | Match package names against a pattern. |
|
| [PackageType!] | Match packages of one of the given types. |
|
| Time | Match packages with a "created date" equal or after provided date. |
|
| Time | Match packages with a "created date" equal or before provided date. |
|
| Time | Match packages with a "modified date" equal or after provided date. |
|
| Time | Match packages with a "modified date" equal or before provided date. |
|
| Case sensitive pattern | Match packages with the latest version matching the provided pattern. |
|
| Int | Match packages with at least a certain amount of versions. |
|
| Int | Match packages with at most a certain amount of versions. |
|
VersionFilter!
Filter Name | Type | Description | Example |
---|---|---|---|
| Case sensitive pattern | Match version names against a pattern |
|
| Time | Match versions with a "created date" equal or after provided date. |
|
| Time | Match versions with a "created date" equal or before provided date. |
|
| String | Match versions with size greater than or equal to provided size. |
|
| String | Match versions with size less than or equal to provided size. |
|
| List Filter | Match versions with licenses. |
|
| List Filter | Match versions with tags. |
|
| [NameValuePattern!] | Match versions with a specific set of properties. |
|
| [VulnerabilitiesFilter!] | Match versions with vulnerabilities. |
|
FileFilter!
Filter Name | Type | Description | Example |
---|---|---|---|
| Case sensitive pattern | Match file names |
|
| String | Match files with size greater than or equal to provided size. |
|
| String | Match files with size less than or equal to provided size |
|
| Case sensitive pattern | Match MD5 hashes against a pattern |
|
| Case sensitive pattern | Match SHA-1 hashes against a pattern |
|
| Case sensitive pattern | Match SHA-256 hashes against a pattern |
|