Method
|
GET
|
URL
|
/v2/query
|
Parameters
|
Q
|
Response Content Type
|
application/json
|
Parameter
|
Description
|
Data Type
|
Example
|
---|---|---|---|
q
|
The SMQL query to execute, which must contain valid SMQL syntax. All features currently supported by SMQL queries are supported, including:
• Selective fields
• Eager loading
• Filtering
• Filtering on eager-loaded fields
• Sorting
• Limit
• Offset
|
String
|
Retrieve all Showcase records:
/v2/query?q=select+*+from+io_showcase
|
HTTP Status Code
|
Error Type
|
Error Message
|
---|---|---|
400
|
missing_parameter_error
|
Missing or invalid required parameter
|
400
|
smql_query_error
|
SMQL query error
|
400
|
serialization_error
|
Serialization error
|
500
|
server_error
|
Server error
|