Neotoma Developer Center

Remote programmatic access to the Neotoma Database

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
resources:dbtables [2013/02/21 14:35]
brian [Response Format]
resources:dbtables [2013/02/21 16:18] (current)
brian [Response Format]
Line 8: Line 8:
 Return a **single** record from a table: Return a **single** record from a table:
 <​file>​api.neotomadb.org/​v1/​dbtables/<​TableName>/<​RecordID></​file>​ <​file>​api.neotomadb.org/​v1/​dbtables/<​TableName>/<​RecordID></​file>​
-===== Response Format ===== +
-By default, responses are encoded in Javascript Object Notation (JSON). Specify the **format** parameter to change responses to "​xml"​ or "​pretty"​ JSON (i.e. human readable). For example, return the AgeTypes table as XML: +
-<​file>​api.neotomadb.org/​v1/​dbtables/​AgeTypes?​format=xml</​file>​+
  
 ===== Field Limiting ===== ===== Field Limiting =====

Page Tools