Skip to content

ListLogsRequestParameters is missing "from" and "take" for log checkpoint search #990

Description

@niklashedlund1337

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

  1. Create client
  2. Try to fetch log posts from a certain checkpoint

Additional context

No response

auth0.net version

8.1.0

.NET version

10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions