aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzsloan2019-05-31 12:58:48 -0500
committerzsloan2019-05-31 12:58:48 -0500
commit204f85b24ddb7f2556d0f4de5e68620c89d2dd75 (patch)
treec969c7929b4537322d747f258061acd8be6bfc27 /doc
parent84d165a30aaff2fcb4dd6b3bb7106ff0ceb495e9 (diff)
parent4241730a9e304ea272381456555d843d85f4cb04 (diff)
downloadgenenetwork2-204f85b24ddb7f2556d0f4de5e68620c89d2dd75.tar.gz
Merge branch 'api' of github.com:zsloan/genenetwork2 into api
Diffstat (limited to 'doc')
-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" ###