Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
Costin Bleotu edited this page Aug 27, 2020 · 6 revisions

url

/tables/<id>/

Table entries

tables/<id>/entries/

Selecting fields to display

You can specify desired fields to retrieve from the API by adding fields GET param. E.g:
/tables/<id>/entries/?fields=email,first_name,last_name

If you don't specify any field in the request the first 7 fields will be displayed (in alphabetical order)

Filtering

You can apply a filter on any field specifying <field_name> in GET param. E.g:
/tables/<id>/entries/?nume=paul

The default lookup for any field is iexact. Any django field lookup (exact, iexact, contains, icontains, startswith, endswith, lt, lte, gt, gte) can be used by adding the lookup like <field_name>__<lookup>. Example: pret__lte=100.

Clone this wiki locally