[PR #5166] [MERGED] #4882: Support bulk updates via REST API #12975

Closed
opened 2025-12-29 22:24:41 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5166
Author: @jeremystretch
Created: 9/22/2020
Status: Merged
Merged: 9/22/2020
Merged by: @jeremystretch

Base: develop-2.10Head: 4882-api-bulk-update


📝 Commits (5)

📊 Changes

11 files changed (+280 additions, -12 deletions)

View changed files

📝 docs/release-notes/version-2.10.md (+15 -0)
📝 docs/rest-api/overview.md (+23 -5)
📝 netbox/circuits/tests/test_api.py (+9 -0)
📝 netbox/dcim/tests/test_api.py (+91 -0)
📝 netbox/extras/tests/test_api.py (+9 -0)
📝 netbox/ipam/tests/test_api.py (+27 -0)
📝 netbox/netbox/api.py (+4 -1)
📝 netbox/tenancy/tests/test_api.py (+6 -0)
📝 netbox/utilities/api.py (+57 -6)
📝 netbox/utilities/testing/api.py (+27 -0)
📝 netbox/virtualization/tests/test_api.py (+12 -0)

📄 Description

Closes: #4882

  • Introduce BulkUpdateModelMixin to support PATCH via object list endpoints
  • Tests & documentation

🔄 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/5166 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/22/2020 **Status:** ✅ Merged **Merged:** 9/22/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop-2.10` ← **Head:** `4882-api-bulk-update` --- ### 📝 Commits (5) - [`935d239`](https://github.com/netbox-community/netbox/commit/935d239eabd67f7fb4213cfa48d26d6145cf54a0) Changelog for #3436 - [`a998c82`](https://github.com/netbox-community/netbox/commit/a998c826a8c89b3639ba7c896770713eb57d42fa) Introduce BulkUpdateModelMixin; rename BulkDeleteSerializer - [`5677fab`](https://github.com/netbox-community/netbox/commit/5677fab2f9b7da6981acc64beb2ad099e9e1f414) Support bulk operations for both PUT and PATCH - [`38ed612`](https://github.com/netbox-community/netbox/commit/38ed612cb9a9fa3712ea9cf6025a38a3ac5a8f20) Add test for API bulk updates - [`c3eb2eb`](https://github.com/netbox-community/netbox/commit/c3eb2eb6011a9b227f3fb78939eab71dfd69bafe) Add documentation for API bulk updates ### 📊 Changes **11 files changed** (+280 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.10.md` (+15 -0) 📝 `docs/rest-api/overview.md` (+23 -5) 📝 `netbox/circuits/tests/test_api.py` (+9 -0) 📝 `netbox/dcim/tests/test_api.py` (+91 -0) 📝 `netbox/extras/tests/test_api.py` (+9 -0) 📝 `netbox/ipam/tests/test_api.py` (+27 -0) 📝 `netbox/netbox/api.py` (+4 -1) 📝 `netbox/tenancy/tests/test_api.py` (+6 -0) 📝 `netbox/utilities/api.py` (+57 -6) 📝 `netbox/utilities/testing/api.py` (+27 -0) 📝 `netbox/virtualization/tests/test_api.py` (+12 -0) </details> ### 📄 Description ### Closes: #4882 - Introduce BulkUpdateModelMixin to support `PATCH` via object list endpoints - Tests & documentation --- <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 22:24:41 +01:00
adam closed this issue 2025-12-29 22:24:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12975