GET Hadoop SQL List operation of QueryIO server will fetch all Hadoop SQL Queries from the database.
GET/queryio/hadoopsql/HTTP/1.1 Host: QueryIO.com authorization:Token
The following request will retrieve all the Hadoop SQL Queries.
GET /queryio/hadoopsql/ HTTP/1.1 Host: QueryIO authorization: iffo6l9hel2hfmbj2384joljgh9mqga58gb9if9593ucli9ke5s2e3854shhcmmm
<xml version="1.0" encoding="UTF-8">
<HadoopSQLQueries>
<HadoopSQLList>![CDATA[
{
"queries": [
{
"id": "Query1",
"description": ""
},
{
"id": "Query2",
"description": ""
},
{
"id": "Query3",
"description": ""
}
]
}
]]
<HadoopSQLList>
</HadoopSQLQueries>