/key/:table/:id
GET {{endpoint}}/key/:table/:id
This HTTP RESTful endpoint selects a specific record from a table in the database. It is equivalent to running:
SELECT * FROM type::thing($table, $id);
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | Sets the desired content-type of the response | |
NS | string | Sets the selected Namespace for queries | |
DB | string | Sets the selected Database for queries |
RESPONSES
status: OK
[{"time":"817.291µs","status":"OK","result":[{"id":"person:test","some":true}]}]