Checklist
Description
Retrieving logs through a search query is exceeding the limits of pagination, so I am trying to search from a checkpoint log ID as described in the function description:
// Auth0 limits the number of logs you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the get logs by checkpoint method.
//
// To search from a checkpoint log ID, use the following parameters:
//
// - from: Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the take parameter. If you use from at the same time as q, from takes precedence and q is ignored.
// - take: Number of entries to retrieve when using the from parameter.
//
// Important: When fetching logs from a checkpoint log ID, any parameter other than from and take will be ignored, and date ordering is not guaranteed.
These parameters are not available in the SDK body object ListLogsRequestParameters, but I can set them using option.WithQueryParameters.
However, this API call returns a bare JSON array that cannot be parsed by the SDK (incidentally, I believe setting IncludeTotals to false will similarly break the SDK).
Expectation
The SDK can perform the search from a checkpoint log ID.
Reproduction
Given the 'from' parameter is set on a call to Logs.List
When the call is made
Then a parsing error occurs
Auth0 Go SDK version
2.14.0
Checklist
Description
Retrieving logs through a search query is exceeding the limits of pagination, so I am trying to search from a checkpoint log ID as described in the function description:
These parameters are not available in the SDK body object ListLogsRequestParameters, but I can set them using option.WithQueryParameters.
However, this API call returns a bare JSON array that cannot be parsed by the SDK (incidentally, I believe setting IncludeTotals to false will similarly break the SDK).
Expectation
The SDK can perform the search from a checkpoint log ID.
Reproduction
Given the 'from' parameter is set on a call to Logs.List
When the call is made
Then a parsing error occurs
Auth0 Go SDK version
2.14.0