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