Sites

List sites

List sites with pagination and filtering.

Filter parameters support Supabase filter operators:

  • Text fields (name, id_text, location, 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/sites

Query parameters

limitinteger
offsetinteger
id_textstring nullable
namestring nullable
locationstring 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' | 'location' | 'created_at' | 'updated_at'
order'asc' | 'desc'

Response

Successful Response

{"stackTrail":"paths:/sites:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes