You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`commit`| string | The commit hash to query for. If specified, `version` should not be set. |
31
-
|`version`| string | The version string to query for. A fuzzy match is done against upstream versions. If specified, `commit`should not be set. |
31
+
|`version`| string | The version string to query for. A fuzzy match is done against upstream versions. If set, `commit`must not be used, and `package.purl` must not include a version. |
32
32
|`package`| object | The package to query against. When a `commit` hash is given, this is optional. |
33
33
|`page_token`| string | If your previous query fetched a large number of results, the response will be paginated. This is an optional field. Please see the [pagination section](#pagination) for more information. |
34
34
35
35
Package Objects can be described by package name AND ecosystem OR by the package URL.
36
36
37
+
### Version rules
38
+
39
+
- Use either the top-level `version` field or a versioned purl (`pkg:...@<version>`), but not both.
40
+
- Requests that specify the version in both places return **400 Bad Request**.
0 commit comments