Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get page info #150

Open
CoderTH opened this issue Sep 20, 2022 · 1 comment
Open

How to get page info #150

CoderTH opened this issue Sep 20, 2022 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@CoderTH
Copy link

CoderTH commented Sep 20, 2022

I found that harbor's native list api does not have paging information like the total number of items, but a separate statistic api. There is also a statistic client in harbor-client, but it is not instantiated into restfulClient, and this statistic client is in the internal directory. Among them, I cannot use it directly, what should I do if I want to use this function?

image
image

@CoderTH CoderTH added help wanted Extra attention is needed question Further information is requested labels Sep 20, 2022
@hlubek
Copy link

hlubek commented Nov 4, 2022

Ack, a full example of paginated listing e.g. of projects would be very helpful. It's quite unintuitive on how it's supposed to be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants