[PR #18679] [MERGED] Closes #17793: Introduce a REST API endpoint for tagged objects #15409

Closed
opened 2025-12-30 00:21:45 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18679
Author: @jeremystretch
Created: 2/19/2025
Status: Merged
Merged: 2/25/2025
Merged by: @jeremystretch

Base: featureHead: 17793-rest-api-tagged-objects


📝 Commits (2)

  • 3894e2c Closes #17793: Introduce a REST API endpoint for tagged objects
  • bf48e5b Add missing object_id filter to TaggedItemFilterSet

📊 Changes

7 files changed (+173 additions, -3 deletions)

View changed files

📝 netbox/extras/api/serializers_/tags.py (+42 -2)
📝 netbox/extras/api/urls.py (+1 -0)
📝 netbox/extras/api/views.py (+8 -1)
📝 netbox/extras/filtersets.py (+36 -0)
📝 netbox/extras/models/tags.py (+2 -0)
📝 netbox/extras/tests/test_api.py (+28 -0)
📝 netbox/extras/tests/test_filtersets.py (+56 -0)

📄 Description

Closes: #17793

  • Introduce a REST API view & serializer for TaggedItem
  • Add TaggedItemFilterSet
  • Add relevant tests

🔄 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/18679 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/19/2025 **Status:** ✅ Merged **Merged:** 2/25/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `17793-rest-api-tagged-objects` --- ### 📝 Commits (2) - [`3894e2c`](https://github.com/netbox-community/netbox/commit/3894e2c3974bf6cf48e13dbaa12b91437627b85f) Closes #17793: Introduce a REST API endpoint for tagged objects - [`bf48e5b`](https://github.com/netbox-community/netbox/commit/bf48e5b74b2b11518058b07b8233553ee4146b0a) Add missing object_id filter to TaggedItemFilterSet ### 📊 Changes **7 files changed** (+173 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers_/tags.py` (+42 -2) 📝 `netbox/extras/api/urls.py` (+1 -0) 📝 `netbox/extras/api/views.py` (+8 -1) 📝 `netbox/extras/filtersets.py` (+36 -0) 📝 `netbox/extras/models/tags.py` (+2 -0) 📝 `netbox/extras/tests/test_api.py` (+28 -0) 📝 `netbox/extras/tests/test_filtersets.py` (+56 -0) </details> ### 📄 Description ### Closes: #17793 - Introduce a REST API view & serializer for TaggedItem - Add TaggedItemFilterSet - Add relevant tests --- <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-30 00:21:45 +01:00
adam closed this issue 2025-12-30 00:21:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15409