Skip to content

No longer possible to get a list of objects by ID in GraphQL API (Netbox 4.3) #19811

Open
@mraerino

Description

@mraerino

Deployment Type

Self-hosted

NetBox Version

v4.3.3

Python Version

3.12

Steps to Reproduce

In Netbox 4.2.x it was possible to do a query like this. There is no equivalent in Netbox 4.3

query listDevicesByID($deviceIDs: [String!]) {
  device_list(filters: {id: {in_list: $deviceIDs}}) {
    id
    name
  }
}

Expected Behavior

I expect the GraphQL to allow me to fetch multiple objects based on a list of IDs

Observed Behavior

There is no filter option to list devices for multiple IDs

Metadata

Metadata

Assignees

No one assigned

    Labels

    severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationtopic: GraphQLtype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions