ListLogsRequestParameters is missing "from" and "take" for log checkpoint search
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with ListLogsRequestParameters and compare it with the log search endpoint documentation and the previous GetLogsRequest usage shown in the report. Add support for the documented from and take parameters, then verify that a log search can retrieve entries from a checkpoint with a requested limit.
Written by the indexing model from the issue text.
Description
Checklist
- I have looked into the Readme and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
In the docs for the log search endpoint (as well as the as a previous version of the management SDK) it was possible to do a search from a log checkpoint.
The relevant section of the docs (https://auth0.com/docs/api/management/v2/logs/get-logs)
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.
I can't find these parameters any more. Using the previous version my code looked like this:
var logs = await client.Logs.GetAllAsync(new GetLogsRequest()
{
From = logId,
Take = 100
});
Reproduction
- Create client
- Try to fetch log posts from a certain checkpoint
Additional context
No response
auth0.net version
8.1.0
.NET version
10
- Dominant language
- C#
- Stars
- 363
- Forks
- 188
- Avg merge
- 9h 55m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from auth0/auth0.net
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 56/100
-
api
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
api bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
feature request
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
v8 paging feedback Openfeature request
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·