minor edits
Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/7c140800 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/7c140800 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/7c140800 Branch: refs/heads/gh-pages Commit: 7c140800d09fa5005d16653a95910723c7fb0c51 Parents: 45c1795 Author: Kristine Hahn <[email protected]> Authored: Sat Nov 21 11:54:32 2015 -0800 Committer: Kristine Hahn <[email protected]> Committed: Wed Nov 25 10:13:42 2015 -0800 ---------------------------------------------------------------------- _docs/developer-information/009-rest-api.md | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/7c140800/_docs/developer-information/009-rest-api.md ---------------------------------------------------------------------- diff --git a/_docs/developer-information/009-rest-api.md b/_docs/developer-information/009-rest-api.md index 34bd101..f81be89 100644 --- a/_docs/developer-information/009-rest-api.md +++ b/_docs/developer-information/009-rest-api.md @@ -23,28 +23,28 @@ Submit a query and return results. [**Profiles**](({{site.baseurl}}/docs/rest-api/#profiles)) -* Get the profiles of running and completed queries -* Get the profile of the query that has the given queryid -* Cancel the query that has the given queryid +* Get the profiles of running and completed queries. +* Get the profile of the query that has the given queryid. +* Cancel the query that has the given queryid. [**Storage**]({{site.baseurl}}/docs/rest-api/#storage) -* Get the list of storage plugin names and configurations -* Get the definition of the named storage plugin -* Enable or disable the named storage plugin -* Create or update a storage plugin configuration -* Delete a storage plugin configuration -* Get Drillbit information, such as ports numbers -* Get the current memory metrics +* Get the list of storage plugin names and configurations. +* Get the definition of the named storage plugin. +* Enable or disable the named storage plugin. +* Create or update a storage plugin configuration. +* Delete a storage plugin configuration. +* Get Drillbit information, such as ports numbers. +* Get the current memory metrics. [**Threads**](({{site.baseurl}}/docs/rest-api/#threads)) -Get the status of threads +Get the status of threads. [**Options**]({{site.baseurl}}/docs/rest-api/#options) -* List information about system/session options -* Change the value or type of the named option +* List information about system/session options. +* Change the value or type of the named option. ## Query @@ -71,7 +71,7 @@ Submit a query and return results. **Example** - curl -X POST -H "Content-Type: application/json" -d '{"queryType":"SQL", "query": "select * from dfs.`/Users/joe-user/apache-drill-1.3.0/sample-data/donuts.json` where name= \u0027Cake\u0027"}' http://localhost:8047/query.json +`curl -X POST -H "Content-Type: application/json" -d '{"queryType":"SQL", "query": "select * from dfs.`/Users/joe-user/apache-drill-1.3.0/sample-data/donuts.json` where name= \u0027Cake\u0027"}' http://localhost:8047/query.json` **Response Body** @@ -447,7 +447,7 @@ List the name, default, and data type of the system and session options. ### POST /option/{optionName} -Change the value or type of the named option. +Change the value or type of the named option. <<Needs testing on 1.3>> **Parameter**
