$dump-sql
Dump results of the sql query
$dump-sql
operation takes the sql query and responds with the Chunked Encoded stream in CSV format or in NDJSON format. Useful to export data for analytics.
Headers
Parameter
Required?
Type
Description
content-type
true
String
Content-type of the query body
Query parameters
Parameter
Required?
Type
Description
_format
false
String
json/ndjson: return output as ndjosn
otherwise: return output as TSV
Body parameters
Parameter
Required?
Type
Description
query
true
String
Sql query to execute
Example
Get id and name of each patient
REST Console
Curl
Last updated