Skip to content

Commit

Permalink
Merge pull request #6 from yochannah/fasta
Browse files Browse the repository at this point in the history
Added function to access fasta endpoint
  • Loading branch information
yochannah authored May 16, 2017
2 parents 7defc71 + 41f32a3 commit 4a62252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject intermine/imcljs "0.1.14-SNAPSHOT"
(defproject intermine/imcljs "0.1.15-SNAPSHOT"
:description "imcljs"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
Expand Down
4 changes: 4 additions & 0 deletions src/imcljs/fetch.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
[service query & [options]]
(restful :post "/query/results/tablerows" service (merge {:query query} options)))

(defn fasta
[service query & [options]]
(restful :post "/query/results/fasta" service (merge {:query query} options)))

(defn records
[service query & [options]]
(restful :post "/query/results" service (merge {:query query :format "jsonobjects"} options)))
Expand Down

0 comments on commit 4a62252

Please sign in to comment.