Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Files

Latest commit

4222b34 · Dec 12, 2015

History

History
38 lines (26 loc) · 724 Bytes

retrieving-a-row.md

File metadata and controls

38 lines (26 loc) · 724 Bytes

Retrieving a row

This page describes how to retrieve a row using its id.

REST/JSON API

HTTP request

  • URL: http://{server_name}:9091/table/{table_name}/row/{row_id}?column={column_name1}&column={column_name2}...
  • Path parameters:
    • server_name: the name of the server
    • table_name: the name of the table
    • row_id: the ID of the row
  • Query parameters:
    • column: the name of the column.
  • Method: GET

Example:

http://localhost:9091/table/test/row/8?column=title&column=price&column=category

The returned JSON:

{
  "price": [ 24.99 ],
  "title": [ "A beautiful day" ],
  "category": [ "news", "archive" ]
}

Javascript API

TO DO

Java API

TO DO