Get Model List
Get list of model records and apply filters
GET
https://YOUR_JET_BRIDGE_HOSTNAME/jet_api/models/:model/
Path Parameters
Name | Type | Description |
---|---|---|
model | string | Unique model name |
Query Parameters
Name | Type | Description |
---|---|---|
FIELD_1 | string | Filter records by field value |
FIELD_2_LOOKUP | string | Filter records by filed value with different lookup, example: ?name=John ?name__startswith=Jo Read more about lookups on Model Field Types page |
_order_by | string | Sort by field, example: "name" - sort by name ascending "-name" -sort by name descending |
page | integer | Page to return |
_per_page | integer | Items to return per page |
_segment | string | Name of SQL segment to apply, contains SQL query in body |
_search | string | Search query |
_relation | string | Filter by related models with custom JOIN |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Token authentication, example:
|
Last updated