Skip to content
v0.5.1GitHub

Using

Fetches a single row by primary key — the same PK-point SELECT plan `/sql`'s `WHERE pk = ?` would use.

applies to v0.5.1
GET
/store-api/rel/{domain}/tables/{table}/rows/{pk}
curl --request GET \
--url https://example.com/store-api/rel/example/tables/example/rows/example \
--header 'Authorization: Bearer <token>'
domain
required
string

Relational domain

table
required
string

Table name

pk
required
string

Primary key value

expand
string

Comma-separated REFERENCES columns to resolve, or “*”

The row as an object, with an optional _expanded block

Media typeapplication/json
object

Example generated

{}

PK parse/type error

Media typetext/plain
string

Domain, table, or row not found

Media typetext/plain
string

Domain is being deleted

Media typetext/plain
string

Response exceeds max_response_bytes

Media typetext/plain
string

Per-domain request budget exceeded

Media typetext/plain
string

Relational engine disabled

Media typetext/plain
string