mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-15 12:08:17 -06:00
15552 update query
This commit is contained in:
parent
d17e4cbc25
commit
c8f99c5d09
@ -54,7 +54,7 @@ For more detail on constructing GraphQL queries, see the [Graphene documentation
|
||||
The GraphQL API employs the same filtering logic as the UI and REST API. Filters can be specified as key-value pairs within parentheses immediately following the query name. For example, the following will return only sites within the North Carolina region with a status of active:
|
||||
|
||||
```
|
||||
{"query": "query {site_list(filters: {region: "us-nc\"}, status: "active"}) {name}}"}
|
||||
{"query": "query {site_list(filters: {region: "us-nc\", status: "active"}) {name}}"}
|
||||
```
|
||||
In addition, filtering can be done on list of related objects as shown in the following query:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user