1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

API Filtering Documentation Changes

* Fixed typo
* Clarified documentation regarding filtering multiple times (some filters can, some cannot)
This commit is contained in:
dansheps
2019-03-11 15:09:36 -05:00
parent 28331dfd53
commit 332487efcd
2 changed files with 8 additions and 1 deletions

View File

@@ -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