Team:HFUT CHINA/API.html
From 2014.igem.org
(Created page with "<html> <head> <title>HFUT_CHINA</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, ...") |
|||
(6 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
<link href='http://fonts.googleapis.com/css?family=Numans' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Numans' rel='stylesheet' type='text/css'> | ||
<link href="https://2014.igem.org/Team:HFUT_CHINA/style.css?action=raw&ctype=text/css" rel="stylesheet" type="text/css" /> | <link href="https://2014.igem.org/Team:HFUT_CHINA/style.css?action=raw&ctype=text/css" rel="stylesheet" type="text/css" /> | ||
+ | <link href="https://2014.igem.org/Team:HFUT_CHINA/fixed-igemHead.css?action=raw&ctype=text/css" rel="stylesheet" type="text/css"> | ||
<link href="https://2014.igem.org/Team:HFUT_CHINA/webwidget_menu_dropdown.css?action=raw&ctype=text/css" rel="stylesheet" type="text/css"> | <link href="https://2014.igem.org/Team:HFUT_CHINA/webwidget_menu_dropdown.css?action=raw&ctype=text/css" rel="stylesheet" type="text/css"> | ||
<script type="text/javascript" src="https://2014.igem.org/Team:HFUT_CHINA/jquery-1.9.0.min.js?action=raw&ctype=text/javascript" type="text/javascript"></script> | <script type="text/javascript" src="https://2014.igem.org/Team:HFUT_CHINA/jquery-1.9.0.min.js?action=raw&ctype=text/javascript" type="text/javascript"></script> | ||
Line 28: | Line 29: | ||
<div class="header"> | <div class="header"> | ||
<div class="logo"> | <div class="logo"> | ||
- | <h1><a href="https://2014.igem.org/Team:HFUT_CHINA"><img src="./ | + | <h1><a href="https://2014.igem.org/Team:HFUT_CHINA"><img src="https://static.igem.org/mediawiki/2014/0/0e/Hfut-Logo.png" alt=""></a></h1> |
</div> | </div> | ||
<div > | <div > | ||
Line 38: | Line 39: | ||
<li><a href="https://2014.igem.org/Team:HFUT_CHINA/Overview.html">Overview</a></li> | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Overview.html">Overview</a></li> | ||
- | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Examples.html"> | + | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Examples.html">Results</a></li> |
<li><a href="https://2014.igem.org/Team:HFUT_CHINA/Future_Work.html">Future Work</a></li> | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Future_Work.html">Future Work</a></li> | ||
- | <li><a href="https:// | + | <li><a href="https://github.com/igemsoftware/HFUT_CHINA_2014.git">Download</a></li> |
</ul> | </ul> | ||
Line 48: | Line 49: | ||
<ul> | <ul> | ||
<li><a href="https://2014.igem.org/Team:HFUT_CHINA/Devblogs.html">Devblogs</a></li> | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Devblogs.html">Devblogs</a></li> | ||
- | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Database&Algorithm.html"> | + | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/Database&Algorithm.html">Algorithm</a></li> |
- | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/ | + | <li><a href="https://2014.igem.org/Team:HFUT_CHINA/user_guide.html">Tutorial</a></li> |
Line 114: | Line 115: | ||
<div class="STYLE2"></div> | <div class="STYLE2"></div> | ||
<div align="justify"> | <div align="justify"> | ||
- | <div align="right | + | <div align="right"> <code>author:Y. Xia, HFUT, CHINA</code> </div> |
- | + | ||
- | + | ||
</div> | </div> | ||
<hr align="JUSTIFY"> | <hr align="JUSTIFY"> | ||
<h3 align="justify" class="STYLE2">Overall</h3> | <h3 align="justify" class="STYLE2">Overall</h3> | ||
- | <p align="justify" class="STYLE6">Our server is written in JAVA and JSP. | + | <p align="justify" class="STYLE6">Our server is written in JAVA and JSP. The commands for using our server are listed below, so that users can rebuild it in the future or create users own software based on our server.</p> |
<p align="justify" class="STYLE6"> </p> | <p align="justify" class="STYLE6"> </p> | ||
<hr align="JUSTIFY"> | <hr align="JUSTIFY"> | ||
Line 126: | Line 125: | ||
<p align="justify">key:requestType </p> | <p align="justify">key:requestType </p> | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
- | <div align="justify | + | <div align="justify"> <code>values:regRequest/partRequest/checkRequest/record/recentlyUsed/deviceRequest/twinsRequest/ambiguous/recommendation<br> |
- | + | <br> | |
- | + | <span class="STYLE6">meaning of these values:<br> | |
- | meaning of these values: | + | <br> |
- | + | partRequest:request a part information with a whole part name.<br> | |
- | partRequest:request a part information with a whole part name. | + | <br> |
- | + | regRequest:requeset a new user information from server.<br> | |
- | regRequest:requeset a new user information from server. | + | <br> |
- | + | checkRequest:check the part sequence whether the sequence is a good sequence or not.<br> | |
- | checkRequest:check the part sequence whether the sequence is a good sequence or not. | + | <br> |
- | + | record:write a record to database including your information and the part you used.<br> | |
- | record:write a record to database including your information and the part you used. | + | <br> |
- | + | recentlyUsed: request a List of parts that you have used recently.<br> | |
- | recentlyUsed: request a List of parts that you have used recently. | + | <br> |
- | + | deviceRequest: request a List of Device which contains the subsequence that you used.<br> | |
- | deviceRequest: request a List of Device which contains the subsequence that you used. | + | <br> |
- | + | twinsRequest:request a List of twin parts.<br> | |
- | twinsRequest:request a List of twin parts. | + | <br> |
- | + | ambiguous: do entity search. Whatever user input, we will return a best answer to user.<br> | |
- | ambiguous: do entity search. Whatever user input, we will return a best answer to user. | + | <br> |
- | + | recommendation: recommend some parts based on the sequence that user has built.</span></code> | |
- | recommendation: recommend some parts based on the sequence that user has built.</ | + | |
<p> </p> | <p> </p> | ||
- | </div> | + | </div><p> </p> |
- | <p> </p> | + | |
<h3 align="justify" class="STYLE2">example:</h3> | <h3 align="justify" class="STYLE2">example:</h3> | ||
<p align="justify" class="STYLE2"> </p> | <p align="justify" class="STYLE2"> </p> | ||
<h4 align="justify" class="STYLE2">regRequest:</h4> | <h4 align="justify" class="STYLE2">regRequest:</h4> | ||
- | <div align="justify"> | + | <div align="justify"></div> |
- | + | <p align="justify"><span class="STYLE6"><code>http://.../BioDesigner/core.jsp?requestType=regRequest&userInfo=hello</code></span></p> | |
- | + | <p align="justify"> </p> | |
- | + | ||
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify"><code>{"root":[{"userInfo":"5d41402abc4b2a76b9719d911017c592"}]}</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify"><span class="STYLE6">The value of userInfo is your own user information, or the thing we called id.We will record your behavior with your id. | <p align="justify"><span class="STYLE6">The value of userInfo is your own user information, or the thing we called id.We will record your behavior with your id. | ||
<br/> | <br/> | ||
Line 168: | Line 163: | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
<h4 align="justify" class="STYLE2">partRequest</h4> | <h4 align="justify" class="STYLE2">partRequest</h4> | ||
- | <div align="justify"> | + | <div align="justify"></div> |
- | + | <p align="justify"><code>http://.../BioDesigner/core.jsp?requestType=partRequest&partName=BBa_B0032</code></p> | |
- | + | <p align="justify"> </p> | |
- | + | ||
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify"><code>{"root":[{"id":149,"recentlyUsedPart":null,"partName":"BBa_B0032","sequence":"","device":null,"partID":149,"partUrl":"http://parts.igem.org/Part:BBa_B0032","type":"RBS"}]}</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify"><span class="STYLE6">All the part information is packaged with JSON. | <p align="justify"><span class="STYLE6">All the part information is packaged with JSON. | ||
</span><br/></p> | </span><br/></p> | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
<h4 align="justify" class="STYLE2">checkRequest</h4> | <h4 align="justify" class="STYLE2">checkRequest</h4> | ||
- | <div align="justify"> | + | <div align="justify"></div> |
- | + | <p align="justify"><span class="STYLE6"><code>http://.../http://localhost:8080/BioDesigner/core.jsp?requestType=checkRequest&partNum=2&partName1=BBa_K656009&partName2=BBa_R0000</code></span></p> | |
- | + | <p align="justify"> </p> | |
- | + | ||
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify" class="STYLE6"><code>{"root":[{"index":1},{"index":2}]}</code></p> | |
- | + | <div align="justify"></div> | |
- | + | <p align="justify"> </p> | |
<p align="justify"><span class="STYLE6">The elements of root is all the part which are potentially wrong. From the url we could see that we have built a sequence with two parts and both of them are not right.By the way, if your sequence is not wrong, we will return minus 1. | <p align="justify"><span class="STYLE6">The elements of root is all the part which are potentially wrong. From the url we could see that we have built a sequence with two parts and both of them are not right.By the way, if your sequence is not wrong, we will return minus 1. | ||
</span><br/></p> | </span><br/></p> | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
- | <h4 align="justify" class="STYLE2">record</h4> | + | <h4 align="justify" class="STYLE2">record:</h4> |
- | <div align="justify"> | + | <div align="justify"></div> |
- | + | <p align="justify" class="STYLE6"><code>http://.../BioDesigner/core.jsp?requestType=record&partName=BBa_B0034&userInfo=194ce5d0b89c47ff6b30bfb491f9dc26</code></p> | |
- | + | <p align="justify"> </p> | |
- | + | ||
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify" class="STYLE6"><code>null</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify" class="STYLE2">database:</p> | <p align="justify" class="STYLE2">database:</p> | ||
<div align="justify"> | <div align="justify"> | ||
<pre class="STYLE6"><code>+----+--------+-------+------------+----------------------------------+ | <pre class="STYLE6"><code>+----+--------+-------+------------+----------------------------------+ | ||
- | | ID | PARTID | COUNT | DATETIME | USERINFO | + | | ID | PARTID | COUNT | DATETIME | USERINFO | |
+----+--------+-------+------------+----------------------------------+ | +----+--------+-------+------------+----------------------------------+ | ||
| 10 | 1695 | 2 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 | | | 10 | 1695 | 2 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 | | ||
- | | 11 | 1695 | 1 | 2014-10-16 | ABCD | + | | 11 | 1695 | 1 | 2014-10-16 | ABCD | |
- | | 13 | 1904 | 2 | 2014-10-16 | ABCD | + | | 13 | 1904 | 2 | 2014-10-16 | ABCD | |
| 14 | 1904 | 1 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 | | | 14 | 1904 | 1 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 | | ||
+----+--------+-------+------------+----------------------------------+</code></pre> | +----+--------+-------+------------+----------------------------------+</code></pre> | ||
Line 219: | Line 209: | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
<h4 align="justify" class="STYLE2">deviceRequest</h4> | <h4 align="justify" class="STYLE2">deviceRequest</h4> | ||
- | < | + | <p align="justify" class="STYLE2"> </p> |
- | + | <p align="justify" class="STYLE2"><code>http://.../BioDesigner/core.jsp?requestType=deviceRequest&userCir=BBa_B0010%20BBa_B0012</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
<div align="justify"> | <div align="justify"> | ||
Line 248: | Line 237: | ||
<p align="justify"> </p> | <p align="justify"> </p> | ||
<h4 align="justify" class="STYLE2">twinsRequest</h4> | <h4 align="justify" class="STYLE2">twinsRequest</h4> | ||
- | < | + | <p align="justify" class="STYLE2"> </p> |
- | + | <p align="justify" class="STYLE2"><code>http://.../BioDesigner/core.jsp?requestType=twinsRequest&basePart=BBa_Y00009</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify">return:</p> | <p align="justify">return:</p> | ||
<div align="justify"> | <div align="justify"> | ||
Line 262: | Line 250: | ||
</span><br/></p> | </span><br/></p> | ||
<h4 align="justify" class="STYLE2">ambiguous & recommendation</h4> | <h4 align="justify" class="STYLE2">ambiguous & recommendation</h4> | ||
+ | <p align="justify" class="STYLE2"> </p> | ||
<p align="justify">url1:</p> | <p align="justify">url1:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify"><code>http://.../BioDesigner/core.jsp?requestType=ambiguous&partNum=1&partName1=BBa_B0010&userInput=BBa_S&userInput=BBa_K</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify">url1 return:</p> | <p align="justify">url1 return:</p> | ||
<div align="justify"> | <div align="justify"> | ||
Line 283: | Line 271: | ||
</div> | </div> | ||
<p align="justify">url2:</p> | <p align="justify">url2:</p> | ||
- | < | + | <p align="justify"> </p> |
- | + | <p align="justify" class="STYLE6"><code>http://.../BioDesigner/core.jsp?requestType=ambiguous&partNum=0&userInput=RBS</code></p> | |
- | + | <div align="justify"></div> | |
- | </div> | + | |
<p align="justify">url2 return:</p> | <p align="justify">url2 return:</p> | ||
<div align="justify"> | <div align="justify"> |
Latest revision as of 00:56, 18 October 2014
Server API
author:Y. Xia, HFUT, CHINA
Overall
Our server is written in JAVA and JSP. The commands for using our server are listed below, so that users can rebuild it in the future or create users own software based on our server.
Keys and Values
key:requestType
values:regRequest/partRequest/checkRequest/record/recentlyUsed/deviceRequest/twinsRequest/ambiguous/recommendation
meaning of these values:
partRequest:request a part information with a whole part name.
regRequest:requeset a new user information from server.
checkRequest:check the part sequence whether the sequence is a good sequence or not.
record:write a record to database including your information and the part you used.
recentlyUsed: request a List of parts that you have used recently.
deviceRequest: request a List of Device which contains the subsequence that you used.
twinsRequest:request a List of twin parts.
ambiguous: do entity search. Whatever user input, we will return a best answer to user.
recommendation: recommend some parts based on the sequence that user has built.
example:
regRequest:
http://.../BioDesigner/core.jsp?requestType=regRequest&userInfo=hello
return:
{"root":[{"userInfo":"5d41402abc4b2a76b9719d911017c592"}]}
The value of userInfo is your own user information, or the thing we called id.We will record your behavior with your id.
partRequest
http://.../BioDesigner/core.jsp?requestType=partRequest&partName=BBa_B0032
return:
{"root":[{"id":149,"recentlyUsedPart":null,"partName":"BBa_B0032","sequence":"","device":null,"partID":149,"partUrl":"http://parts.igem.org/Part:BBa_B0032","type":"RBS"}]}
All the part information is packaged with JSON.
checkRequest
http://.../http://localhost:8080/BioDesigner/core.jsp?requestType=checkRequest&partNum=2&partName1=BBa_K656009&partName2=BBa_R0000
return:
{"root":[{"index":1},{"index":2}]}
The elements of root is all the part which are potentially wrong. From the url we could see that we have built a sequence with two parts and both of them are not right.By the way, if your sequence is not wrong, we will return minus 1.
record:
http://.../BioDesigner/core.jsp?requestType=record&partName=BBa_B0034&userInfo=194ce5d0b89c47ff6b30bfb491f9dc26
return:
null
database:
+----+--------+-------+------------+----------------------------------+
| ID | PARTID | COUNT | DATETIME | USERINFO |
+----+--------+-------+------------+----------------------------------+
| 10 | 1695 | 2 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 |
| 11 | 1695 | 1 | 2014-10-16 | ABCD |
| 13 | 1904 | 2 | 2014-10-16 | ABCD |
| 14 | 1904 | 1 | 2014-10-16 | 194ce5d0b89c47ff6b30bfb491f9dc26 |
+----+--------+-------+------------+----------------------------------+
The database will update or insert a record of your behavior information.
deviceRequest
http://.../BioDesigner/core.jsp?requestType=deviceRequest&userCir=BBa_B0010%20BBa_B0012
return:
{"root":
[{"partName":"BBa_K283000","partID":15666,"partUrl":"http://parts.igem.org/Part:BBa_K283000","type":"Device","part_seq":"BBa_I712074 BBa_B0034 BBa_K283000
BBa_B0010 BBa_B0012"},
{"partName":"BBa_K283002","partID":15667,"partUrl":"http://parts.igem.org/Part:BBa_K283002","type":"Device","part_seq":"BBa_K283008 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K283014","partID":15683,"partUrl":"http://parts.igem.org/Part:BBa_K283014","type":"Device","part_seq":"BBa_R0010 BBa_B0034 BBa_K283008 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K283019","partID":15689,"partUrl":"http://parts.igem.org/Part:BBa_K283019","type":"Device","part_seq":"BBa_R0040 BBa_B0034 BBa_K094100 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K283030","partID":15805,"partUrl":"http://parts.igem.org/Part:BBa_K283030","type":"Composite","part_seq":"BBa_K283038 BBa_B0034 BBa_E1010 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K233001","partID":14252,"partUrl":"http://parts.igem.org/Part:BBa_K233001","type":"Composite","part_seq":"BBa_J23118 BBa_B0030 BBa_K233306 BBa_I732005 BBa_E0040 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K233006","partID":14280,"partUrl":"http://parts.igem.org/Part:BBa_K233006","type":"Regulatory","part_seq":"BBa_J23102 BBa_B0030 BBa_I716103 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K233318","partID":16409,"partUrl":"http://parts.igem.org/Part:BBa_K233318","type":"Measurement","part_seq":"BBa_R0010 BBa_B0030 BBa_K233306 BBa_E0040 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K233320","partID":16427,"partUrl":"http://parts.igem.org/Part:BBa_K233320","type":"Project","part_seq":"BBa_R1062 BBa_B0034 BBa_C0061 BBa_B0010 BBa_B0012 BBa_J23102 BBa_B0034 BBa_C0062 BBa_B0010 BBa_B0012 BBa_R1062 BBa_K233004 BBa_B0030 BBa_K124003 BBa_B0010 BBa_B0012"},
{"partName":"BBa_K233322","partID":16440,"partUrl":"http://parts.igem.org/Part:BBa_K233322","type":"Composite","part_seq":"BBa_R1062 BBa_K233004 BBa_B0030 BBa_E0040 BBa_B0010 BBa_B0012"}]}
We try to find some device with a subsequence of BBa_B0010 and BBa_B0012, and the server will provide you some deivces that you want.All the device information is packaged with JSON, which can be parsed with JAVASCRIPT easily.
twinsRequest
http://.../BioDesigner/core.jsp?requestType=twinsRequest&basePart=BBa_Y00009
return:
{"root":
[{"id":8703,"recentlyUsedPart":null,"partName":"BBa_J63001","sequence":"","device":null,"partID":7494,"partUrl":"http://parts.igem.org/Part:BBa_J63001","type":"Reporter"},
{"id":7963,"recentlyUsedPart":null,"partName":"BBa_K105008","sequence":"","device":null,"partID":12016,"partUrl":"http://parts.igem.org/Part:BBa_K105008","type":"Coding"},
{"id":3779,"recentlyUsedPart":null,"partName":"BBa_K165005","sequence":"","device":null,"partID":12636,"partUrl":"http://parts.igem.org/Part:BBa_K165005","type":"Coding"}]}
We request all the twin parts of BBa_Y00009, and the server return us correctly and quickly.
ambiguous & recommendation
url1:
http://.../BioDesigner/core.jsp?requestType=ambiguous&partNum=1&partName1=BBa_B0010&userInput=BBa_S&userInput=BBa_K
url1 return:
{"root":
[{"id":269,"recentlyUsedPart":null,"partName":"BBa_S04999","sequence":"","device":null,"partID":24696,"partUrl":"http://parts.igem.org/Part:BBa_S04999","type":"Intermediate"},
{"id":308,"recentlyUsedPart":null,"partName":"BBa_S03613","sequence":"","device":null,"partID":7566,"partUrl":"http://parts.igem.org/Part:BBa_S03613","type":"Intermediate"},
{"id":390,"recentlyUsedPart":null,"partName":"BBa_S04323","sequence":"","device":null,"partID":16560,"partUrl":"http://parts.igem.org/Part:BBa_S04323","type":"Intermediate"},
{"id":396,"recentlyUsedPart":null,"partName":"BBa_S03368","sequence":"","device":null,"partID":6204,"partUrl":"http://parts.igem.org/Part:BBa_S03368","type":"Intermediate"},
{"id":457,"recentlyUsedPart":null,"partName":"BBa_S04326","sequence":"","device":null,"partID":16566,"partUrl":"http://parts.igem.org/Part:BBa_S04326","type":"Intermediate"},
{"id":485,"recentlyUsedPart":null,"partName":"BBa_S03155","sequence":"","device":null,"partID":4712,"partUrl":"http://parts.igem.org/Part:BBa_S03155","type":"Intermediate"},
{"id":508,"recentlyUsedPart":null,"partName":"BBa_S04242","sequence":"","device":null,"partID":14488,"partUrl":"http://parts.igem.org/Part:BBa_S04242","type":"Intermediate"},
{"id":567,"recentlyUsedPart":null,"partName":"BBa_S03437","sequence":"","device":null,"partID":6516,"partUrl":"http://parts.igem.org/Part:BBa_S03437","type":"Intermediate"},
{"id":583,"recentlyUsedPart":null,"partName":"BBa_S04208","sequence":"","device":null,"partID":13875,"partUrl":"http://parts.igem.org/Part:BBa_S04208","type":"Inverter"},
{"id":625,"recentlyUsedPart":null,"partName":"BBa_S04302","sequence":"","device":null,"partID":15566,"partUrl":"http://parts.igem.org/Part:BBa_S04302","type":"Inverter"}]}
url2:
http://.../BioDesigner/core.jsp?requestType=ambiguous&partNum=0&userInput=RBS
url2 return:
{"root":
[{"id":1641,"recentlyUsedPart":null,"partName":"BBa_R0040","sequence":"","device":null,"partID":187,"partUrl":"http://parts.igem.org/Part:BBa_R0040","type":"Regulatory"},
{"id":1516,"recentlyUsedPart":null,"partName":"BBa_R0010","sequence":"","device":null,"partID":185,"partUrl":"http://parts.igem.org/Part:BBa_R0010","type":"Regulatory"},
{"id":1904,"recentlyUsedPart":null,"partName":"BBa_B0034","sequence":"","device":null,"partID":151,"partUrl":"http://parts.igem.org/Part:BBa_B0034","type":"RBS"},
{"id":1415,"recentlyUsedPart":null,"partName":"BBa_J23100","sequence":"","device":null,"partID":7142,"partUrl":"http://parts.igem.org/Part:BBa_J23100","type":"Regulatory"},
{"id":1150,"recentlyUsedPart":null,"partName":"BBa_R0011","sequence":"","device":null,"partID":186,"partUrl":"http://parts.igem.org/Part:BBa_R0011","type":"Regulatory"},
{"id":1726,"recentlyUsedPart":null,"partName":"BBa_I0500","sequence":"","device":null,"partID":2916,"partUrl":"http://parts.igem.org/Part:BBa_I0500","type":"Regulatory"},
{"id":505,"recentlyUsedPart":null,"partName":"BBa_J23110","sequence":"","device":null,"partID":7274,"partUrl":"http://parts.igem.org/Part:BBa_J23110","type":"Regulatory"},
{"id":195,"recentlyUsedPart":null,"partName":"BBa_J23119","sequence":"","device":null,"partID":7309,"partUrl":"http://parts.igem.org/Part:BBa_J23119","type":"Regulatory"},
{"id":149,"recentlyUsedPart":null,"partName":"BBa_B0032","sequence":"","device":null,"partID":149,"partUrl":"http://parts.igem.org/Part:BBa_B0032","type":"RBS"},
{"id":448,"recentlyUsedPart":null,"partName":"BBa_I712074","sequence":"","device":null,"partID":10177,"partUrl":"http://parts.igem.org/Part:BBa_I712074","type":"Regulatory"}]}
Sometimes it is difficult to know what do our users want. Maybe you want to search a part with a part of it name. Maybe you want to search a RBS type part in all the next parts.So we provide an entity search based on user input data. Whatever you want, we will show you.