RPC compatibility (POST JSON body)
Body is either a plain JSON object of named arguments for `function_name`, or a full `GatewayRpcRequest`-shaped wrapper (`function`, `schema`, `args`, `filters`, etc.).
Path Parameters
Header Parameters
Request Body
application/json
Function name (or schema.function when schema is public)
Alias of function accepted in JSON
"public"Comma-separated columns for SELECT over RPC result
Set to exact to include an exact row count
int64int64Response Body
application/json
curl -X POST "https://athena-cluster.com/rpc/string" \ -H "X-Athena-Client: string" \ -H "Content-Type: application/json" \ -d '{ "function": "string" }'{
"data": [
{}
],
"count": 0
}RPC compatibility (GET, query-string args) GET
Same execution as `POST /gateway/rpc` with `function` taken from the path. Query keys: `schema`, `select`, `count`, `limit`, `offset`, `order` (`column` or `column.desc`). Other keys are either RPC arguments or filters written as `column=op.value` (e.g. `status=eq.active`). Arrays use `{a,b}` in the value portion.
Delete rows using PostgREST-style filters DELETE
Filters are mandatory. Use the same query syntax as GET and include `Prefer: return=minimal` for HTTP 204 responses.