List models for a project

Changed on

List 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 URL
    https://api.ionworks.com
  • URL
    https://api.ionworks.com/models
  • Auth
    none 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

countinteger required
totalinteger required

Changes

    • breaking

      added the new required query request parameter project_id

    • breaking

      the response property // became optional for the status

    • breaking

      response property items/items/user_id list-of-types was widened by adding types null to media type application/json of response 200

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status