From 8c35d759da67c231c5efc9c949080cc28f51802c Mon Sep 17 00:00:00 2001 From: joel Date: Thu, 5 Aug 2021 09:46:46 -0700 Subject: [PATCH] Fixes #6887 Add Examples in the Lookup Expression Docs --- docs/rest-api/filtering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rest-api/filtering.md b/docs/rest-api/filtering.md index 53f691703..45dfcfa36 100644 --- a/docs/rest-api/filtering.md +++ b/docs/rest-api/filtering.md @@ -101,7 +101,7 @@ GET /api/dcim/devices/?name__ic=switch ### Foreign Keys & Other Fields Certain other fields, namely foreign key relationships support just the negation -expression: `n`. Here is example of a lookup expression on a foreign key, it would return all the VLANs that don't have a VLAN Group ID of 3203: +expression: `n`. Here is an example of a lookup expression on a foreign key, it would return all the VLANs that don't have a VLAN Group ID of 3203: ```no-highlight GET /api/ipam/vlans/?group_id__n=3203