Replies: 1 comment
-
You get the total count from the response header We recommend using Harbor API center when your want to learn or try Harbor APIs: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to obtain records through API. After obtaining records according to the paging interface provided by API, there is no total number of records returned, so I cannot calculate whether there is a next page and the total number of records.
eg:
api/v2.0/labels?sort=-creation_time&scope=g&project_id=0&page_size=15&page=1
This API returns a list of records and cannot get data related to paging.
How can I get paging data?
Beta Was this translation helpful? Give feedback.
All reactions