mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Merge pull request #2992 from DanSheps/api-documentation-filtering
* Fixes #2991: Fixed typo * Fixes #2577: Clarified documentation regarding filtering multiple times (some filters can, some cannot)
This commit is contained in:
commit
0022a5a6e2
@ -1,3 +1,10 @@
|
||||
v2.5.9 (FUTURE)
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
* [#2577](https://github.com/digitalocean/netbox/issues/2577) - Clarification of wording in API regarding filtering
|
||||
* [#2991](https://github.com/digitalocean/netbox/issues/2991) - Correct documentation for API Filtering
|
||||
|
||||
v2.5.8 (2019-03-11)
|
||||
|
||||
## Enhancements
|
||||
|
@ -261,7 +261,7 @@ A list of objects retrieved via the API can be filtered by passing one or more q
|
||||
GET /api/ipam/prefixes/?status=1
|
||||
```
|
||||
|
||||
The same filter can be incldued multiple times. These will effect a logical OR and return objects matching any of the given values. For example, the following will return all active and reserved prefixes:
|
||||
Certain filters can be included multiple times within a single request. These will effect a logical OR and return objects matching any of the given values. For example, the following will return all active and reserved prefixes:
|
||||
|
||||
```
|
||||
GET /api/ipam/prefixes/?status=1&status=2
|
||||
|
Loading…
Reference in New Issue
Block a user