Browse table data (paginated)
GET /api/v1/{bucket}/tables/{table}
GET
/api/v1/{bucket}/tables/{table}
Returns paginated rows from the specified table for the given bucket. Requires authentication.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” bucket
required
string
Flock bucket ID. The caller must have access to this bucket.
Example
example table
required
string
Table name to browse.
Query Parameters
Section titled “Query Parameters ” limit
integer
Maximum rows to return (max 1000).
offset
integer
Number of rows to skip.
Responses
Section titled “ Responses ”Paginated table rows
object
data
required
object
columns
required
Array<string>
rows
required
Array<Array>
meta
required
object
table
string
bucket
string
total
integer
limit
integer
offset
integer
Authentication required
object
error
required
object
code
required
Machine-readable error code.
string
Example
unauthorized message
required
Human-readable error message.
string
Example
Authentication requiredExample
{ "error": { "code": "unauthorized", "message": "Authentication required" }}Access denied to bucket
object
error
required
object
code
required
Machine-readable error code.
string
Example
unauthorized message
required
Human-readable error message.
string
Example
Authentication requiredExample
{ "error": { "code": "forbidden", "message": "Access denied to bucket 'example'" }}Resource not found
object
error
required
object
code
required
Machine-readable error code.
string
Example
unauthorized message
required
Human-readable error message.
string
Example
Authentication requiredExample
{ "error": { "code": "not_found", "message": "Unknown table: foo" }}