List models for a project
Changed onList a project's models with pagination, filtering, and sorting.
Filter parameters support Supabase filter operators, per the field's declared policy:
- Text fields (name, description, created_by_email): use ilike.%value% for partial match
- Date fields: use gte.value, lte.value, etc.
- Date range: use created_at_gt and created_at_lt for between queries
get/models
Request
- Base URLhttps://api.ionworks.com
- URLhttps://api.ionworks.com/models
- Authnone declared
Query parameters
project_idstring uuid required
Project to list models for.
limitinteger
offsetinteger
qstring nullable
Free-text search on model name and search_vector.
namestring nullable
descriptionstring nullable
created_by_emailstring nullable
created_atstring nullable
created_at_gtstring nullable
created_at_ltstring nullable
updated_atstring nullable
updated_at_gtstring nullable
updated_at_ltstring nullable
order_by'name' | 'created_at' | 'updated_at'
order'asc' | 'desc'
Response
Successful Response
Changes
- breaking
added the new required
queryrequest parameterproject_id - breaking
the response property
//became optional for the status - breaking
response property
items/items/user_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking