All query parameters in this API support advanced lookup types:
Lookup Type | Description | Example |
---|---|---|
! |
Negate any query | name!=isabel |
[i]exact |
Exact match | name__exact=isabel name__iexact=IsAbeL |
[i]contains |
Value contains query | name__contains=isa name__icontains=iSa |
[i]startswith |
Value starts with query | name__startswith=isab name__istartswith=iSab |
[i]endswith |
Value starts with query | name__endswith=bel name__iendswith=bEl |
in |
Comma separated query | name__in=isabel,gunes |
isnull |
Value is null | name__isnull=true |
regex |
Use regex pattern | name__regex=isabel |
gt |
Greater than | total__gt=1 |
gte |
Greater or equal | total__gte=1 |
lt |
Less than | total__lt=1 |
lte |
Less than or equal | total__lte=1 |
Datetime query parameters support extra lookups. These lookups can be combined with those previously described:
Lookup Type | Description | Example |
---|---|---|
No lookup, ISO format required |
created= |
|
date |
Filter by date YYYY-MM-DD . |
created__date=2016-06-04 created__date__gt=2016-06-04 |
day |
Filter by day DD |
created__day=04 |
month |
Filter by month MM |
created__month=06 |
year |
Filter by year YYYY |
created__year=2016 |
time |
Filter by time HH-MM-SS |
created__time=21:00:51 |
This API supports filters that traverse the relational schema:
<related_filter>__<related_field>=<query>
List objects.
search | string A search term. |
created | string Created datetime filter. |
created_by | string Filter by |
custom_fields | string Filter by |
data | string Filter by |
id | number Filter by |
identifier | string Filter by |
modified | string Modified datetime filter. |
notes | string Filter by |
pk | number Filter by |
sample | string Related filter to Sample. |
storage_url | string Filter by |
storage_usage | number Filter by |
submission | string |
system_id | string Filter by |
tags | string Filter by |
uuid | string Filter by |
uupk |