[PR #10764] [CLOSED] 9599 cursor pagination #13688

Closed
opened 2025-12-29 23:20:16 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10764
Author: @jeremystretch
Created: 10/26/2022
Status: Closed

Base: featureHead: 9599-cursor-pagination


📝 Commits (5)

  • 84c9f2b Closes #9599: Add cursor pagination mode
  • 48bff24 Merge branch 'develop' into cursor-pagination
  • 1d1bb2b Merge pull request #9716 from lyuyangh/cursor-pagination
  • fd1c8aa Remove StripCountAnnotationsPaginator
  • a254398 Remove TwoModePagination; override paginator() on NetBoxModelViewSet to determine paginator class

📊 Changes

5 files changed (+258 additions, -13 deletions)

View changed files

📝 docs/integrations/rest-api.md (+22 -1)
📝 netbox/dcim/api/views.py (+3 -2)
📝 netbox/netbox/api/pagination.py (+115 -9)
📝 netbox/netbox/api/viewsets/__init__.py (+15 -0)
📝 netbox/utilities/tests/test_api.py (+103 -1)

📄 Description

Closes: #9599

This builds on the work by @lyuyangh in PR #9716 to implement cursor-pased pagination for REST API requests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/10764 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/26/2022 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `9599-cursor-pagination` --- ### 📝 Commits (5) - [`84c9f2b`](https://github.com/netbox-community/netbox/commit/84c9f2bbdb68615b62f9bf8e1f40e51833d0d222) Closes #9599: Add cursor pagination mode - [`48bff24`](https://github.com/netbox-community/netbox/commit/48bff24da3314276811f1039ac62c2a5af67d09e) Merge branch 'develop' into cursor-pagination - [`1d1bb2b`](https://github.com/netbox-community/netbox/commit/1d1bb2b793eb1ca1af9e9ff96f6cc240fb77904a) Merge pull request #9716 from lyuyangh/cursor-pagination - [`fd1c8aa`](https://github.com/netbox-community/netbox/commit/fd1c8aa44a4c9906a10899d0c2cc1da6ca3948a6) Remove StripCountAnnotationsPaginator - [`a254398`](https://github.com/netbox-community/netbox/commit/a254398cecbb23939caa8684445aaed586f9e0c9) Remove TwoModePagination; override paginator() on NetBoxModelViewSet to determine paginator class ### 📊 Changes **5 files changed** (+258 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `docs/integrations/rest-api.md` (+22 -1) 📝 `netbox/dcim/api/views.py` (+3 -2) 📝 `netbox/netbox/api/pagination.py` (+115 -9) 📝 `netbox/netbox/api/viewsets/__init__.py` (+15 -0) 📝 `netbox/utilities/tests/test_api.py` (+103 -1) </details> ### 📄 Description ### Closes: #9599 This builds on the work by @lyuyangh in PR #9716 to implement cursor-pased pagination for REST API requests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:20:16 +01:00
adam closed this issue 2025-12-29 23:20:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13688