Update rows filtered via PostgREST expressions
Filters are required (`column.eq=value`, `column.lte=value`, `or=(...)`). The request body must be an object describing the columns to patch. `Prefer: return=minimal` controls whether the response returns data.
Path Parameters
Header Parameters
Set return=minimal for HTTP 204.
Request Body
application/json
Response Body
application/json
curl -X PATCH "https://athena-cluster.com/rest/v1/string" \ -H "X-Athena-Client: string" \ -H "apikey: string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": [
{}
]
}Query a table using PostgREST-style filters GET
Mirrors the Supabase PostgREST query syntax. Supply filter expressions (`column.eq=value`, `column.lt=value`, `or=(cond1,cond2)`, etc.), `select`, `limit`, `offset`, `order`, and the optional `Range` header (`items=0-24`). The handler also honors `Prefer: return=minimal`.
Insert or upsert rows via the REST gateway POST
Accepts a single object or array payload. Set `Prefer: return=minimal` for HTTP 204 responses and `Prefer: resolution=merge-duplicates` for upserts.