Athena
V1Table

Insert or upsert rows via the REST gateway

Accepts a single object or array payload. Set `Prefer: return=minimal` for HTTP 204 responses and `Prefer: resolution=merge-duplicates` for upserts.

POST
/rest/v1/{table}

Path Parameters

table*string

Header Parameters

X-Athena-Client*string
apikey*string
x-api-key?string
Prefer?string

Use return=minimal for 204 or resolution=merge-duplicates for UPSERT.

Request Body

application/json

Response Body

application/json

curl -X POST "https://athena-cluster.com/rest/v1/string" \  -H "X-Athena-Client: string" \  -H "apikey: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": [
    {}
  ]
}
Empty
Empty
Empty