aboutsummaryrefslogtreecommitdiff
path: root/doc/API_readme.md
diff options
context:
space:
mode:
authorzsloan2019-05-31 12:55:28 -0500
committerGitHub2019-05-31 12:55:28 -0500
commit4241730a9e304ea272381456555d843d85f4cb04 (patch)
treeb920813ac88330d89a8d6f09984fee3046f1fbcb /doc/API_readme.md
parent9ba6aae14ac7c55db4c30476908268faf7ca4d92 (diff)
downloadgenenetwork2-4241730a9e304ea272381456555d843d85f4cb04.tar.gz
Minor changes
Diffstat (limited to 'doc/API_readme.md')
-rw-r--r--doc/API_readme.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/API_readme.md b/doc/API_readme.md
index 64fc61f9..6c88d413 100644
--- a/doc/API_readme.md
+++ b/doc/API_readme.md
@@ -90,7 +90,7 @@ curl http://gn2-zach.genenetwork.org/api/v_pre1/traits/HXBBXHPublish.json
[ { "Additive": 0.0499967532467532, "Id": 10001, "LRS": 16.2831307029479, "Locus": "rs106114574", "PhenotypeId": 1449, "PublicationId": 319, "Sequence": 1 }, ... ]
```
-Both JSON and CSV formats can be specified, with CSV as default. There is also an optional "ids_only" parameter that will only return a list of trait IDs.
+Both JSON and CSV formats can be specified, with JSON as default. There is also an optional "ids_only" and "names_only" parameter that will only return a list of trait IDs or names, respectively.
## Fetch Trait Info (Name, Description, Location, etc) ##
### For mRNA Expression/"ProbeSet" ###