Skip to content

RFE: API filter for "is null" #4522

@igor-raits

Description

@igor-raits

Environment

  • Python version: 3.8.2
  • NetBox version: 2.8.0

Proposed Functionality

Create possibility for filtering in API for "null" values (and oppossite).

Use Case

Sometimes it is very convenient to run request to netbox with filtering for some value being unset (or opposite) instead of doing post-filter since the request itself can take much longer.

Database Changes

None,

External Dependencies

None.


I was asking about this in https://groups.google.com/forum/#!topic/netbox-discuss/YMPErWrWNW0 and seems this feature is missing :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions