forked from mdbassoon/fly-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.html
86 lines (86 loc) · 1.72 KB
/
docs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<style>
*{
font-family:sans-serif;
}
h1 {
text-align: center;
}
code {
background: #cecece;
padding:10px 20px;
margin: 30px 0px;
}
main {
padding:0px 40px;
}
ul {
padding:0px 10px;
}
li {
margin:4px 0px;
}
ul,li{
list-style: none;
}
</style>
<main>
<br>
<br>
<br>
<h1>CrisprBUILDER Api Docs</h1>
<br>
<h2>Routes</h2>
<br>
<h3><code>/</code></h3>
<br>
<p>The front end for the application.</p>
<br>
<h3><code>/api</code></h3>
<br>
<p>Main Access Point for the API.</p>
<br>
<h3><code>/docs</code></h3>
<br>
<p>Documentation for API.</p>
<br>
<hr>
<br>
<h2>Query Parameters</h2>
<br>
<h3><code>type</code></h3>
<br>
<p>The query type</p>
<p><b>Parameters:</b>
<ul>
<li><b>search:</b> search for a gene</li>
<li><b>isoform:</b> search for a specific isoform</li>
<li><b>targetEfficiency:</b> retrieve efficiency information for a specific target</li>
<li><b>oligos:</b> retrieve potential oligos for specific target</li>
<li><b>primers:</b> retrieve primers for specific target</li>
</ul>
</p>
<p><b>Example:</b> /api?type=search</p>
<br>
<br>
<h3><code>?type=search</code></h3>
<br>
<p>Search for a gene by name or id</p>
<p><b>Sub Parameters:</b>
<ul>
<li><b>gene:</b> the gene name</li>
</ul>
</p>
<p><b>Example:</b> /api?type=search&gene=pkn</p>
<br>
<p><b>Return:</b>
<ul>
<li><b>name:</b> name of searched gene</li>
<li><b>isoForms:</b> a list of isoforms related to this gene</li>
<li><b>url:</b> the flybase url where this information can be access directly</li>
<li><b>sequence:</b> the extended gene sequence returned from flybase</li>
</ul>
</p>
<br>
<br>
<br>
</main>