-
Bug
-
Resolution: Done
-
Major
-
None
-
2
** Note that this is a public ticket, please refrain from adding any sensitive data. **
Description of Problem
The `limit` query parameter of the Patch API no longer accepts `-1` to return all advisories.
Before May 3 this worked as per the documentation (https://developers.redhat.com/api-catalog/api/patch)
Base URLs:
- /api/patch/v3
`GET /advisrories`
Query Parameters
Name | Type | Description |
limit |
integer | Limit for paging, set -1 to return all |
How reproducible
Always
Steps to Reproduce
- `curl --silent --header "Authorization: Bearer $access_token" -o output.gz https://console.redhat.com/api/patch/v3/advisories?limit=-1`
- zcat output.gz
Actual Behavior
```
{"error":"limit must be in [1, 100]"}```
Expected Behavior
As documented a `limit=-1` should return all advisories without paging.
Business Impact / Additional info
This has broken customer automation.