mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-13 03:49:36 -06:00
28 lines
543 B
Markdown
28 lines
543 B
Markdown
# GraphQL API Parameters
|
|
|
|
## GRAPHQL_DEFAULT_VERSION
|
|
|
|
!!! note "This parameter was introduced in NetBox v4.5."
|
|
|
|
Default: `1`
|
|
|
|
Designates the default version of the GraphQL API served by `/graphql/`. To access a specific version, append the version number to the URL, e.g. `/graphql/v2/`.
|
|
|
|
---
|
|
|
|
## GRAPHQL_ENABLED
|
|
|
|
!!! tip "Dynamic Configuration Parameter"
|
|
|
|
Default: `True`
|
|
|
|
Setting this to `False` will disable the GraphQL API.
|
|
|
|
---
|
|
|
|
## GRAPHQL_MAX_ALIASES
|
|
|
|
Default: `10`
|
|
|
|
The maximum number of queries that a GraphQL API request may contain.
|