Reading
One row by its key
Add the primary key to the path to read a single row as an object.
/todos/1/todos/1?select=name,owner(name)A collection answers an array. A path with a key answers one object, so a client never has to unwrap a one-item list.
A row that does not exist answers 404 not_found, and so does a row the caller may not see: the answer never tells them apart.
Examples
/todos/1?select=id,name,owner(name)Asking the database...
/todos/9Asking the database...
A view has no primary key. restloom uses its id column when it has one, or the key you declare for it.