NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

ONTAP Rest API Discussions

how can i do pagination for python api

kbhonagiri
2,303 Views

Hi Team,

 

Does ontap Python API provide pagination ?

1 ACCEPTED SOLUTION

JohnChampion
2,227 Views

The ONTAP REST API provides pagination if that helps.  If you go to the Swagger doc (https://{clusterip}/docs/api - check out the "Records & Pagination" section at the top under "Features for all ONTAP APIs".  Basically you would check for a "_links.next.href" link to get the next set of records. 

View solution in original post

1 REPLY 1

JohnChampion
2,228 Views

The ONTAP REST API provides pagination if that helps.  If you go to the Swagger doc (https://{clusterip}/docs/api - check out the "Records & Pagination" section at the top under "Features for all ONTAP APIs".  Basically you would check for a "_links.next.href" link to get the next set of records. 

Public