-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
complexity: lowRequires minimal effort to implementRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
NetBox version
v4.2.4
Feature type
Data model extension
Proposed functionality
Add a tag_id filter to NetBoxModelFilterSet, which will enable filtering of objects by tag ID. This should function similarly to the existing tag filter (which matches by tag slug). For example:
GET /api/dcim/sites/?tag_id=100&tag_id=200
Use case
This provides an alternative to referencing tags by their slugs, and may be needed in some specific scenarios (such as that described in #18757).
Database changes
N/A
External dependencies
N/A
Metadata
Metadata
Assignees
Labels
complexity: lowRequires minimal effort to implementRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application