-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jnc27, thanks for asking. First of all, this is not specific to CNAME records, not even to records or any other model within and without of a plugin. API filters work differently from Django model filters, meaning that the usual expressions like There is, however, a basic set of filter modifiers that do work (see the Swagger API documentation link on the bottom of the NetBox window):
which is almost what you want. |
Beta Was this translation helpful? Give feedback.
Hi @jnc27, thanks for asking.
First of all, this is not specific to CNAME records, not even to records or any other model within and without of a plugin.
API filters work differently from Django model filters, meaning that the usual expressions like
__contains
,__startswith
etc. don't work in the API.There is, however, a basic set of filter modifiers that do work (see the Swagger API documentation link on the bottom of the NetBox window):
__empty
__ic
__ie
__iew
__isw
__n
__nic
__nie