Table 1: Required REST Input Parameters [back]
Remarks | |||
---|---|---|---|
URI | /restapi/job | JobSubmission | |
Operation | CREATE | ||
Method | HTTP POST | ||
Data Fields |
|
Please visit rest api help for more info on how to select the valid
analysis and tool,
|
|
Request Body |
POST / HTTP/1.1 User-Agent: Jakarta Commons-HttpClient/3.1-rc1 Host:127.0.0.1:3333 Content-Length: 452 Content-Type: multipart/form-data; boundary=---------------------------29772313742745 -----------------------------29772313742745 Content-Disposition: form-data; name="datafile"; filename="datafile.nex" Content-Type: applicaiton/octent-stream; charset=ISO-8859-1 Content-Transfer-Encoding:binary [content of datafile here....] -----------------------------29772313742745 Content-Disposition: form-data; name="configfile"; filename="configfile.xml" Content-Type: applicaiton/octent-stream; charset=ISO-8859-1 Content-Transfer-Encoding:binary [content of configfile here....] -----------------------------29772313742745 Content-Disposition: form-data; name=""email"" Content-Type:text/plain; charset=US-ASCII Content-Transfer-Encoding:8bit lcchan@sdsc.edu -----------------------------29772313742745 Content-Disposition: form-data; name="datatype" Content-Type:text/plain; charset=US-ASCII Content-Transfer-Encoding:8bit DNA_DATATYPE -----------------------------29772313742745 Content-Disposition: form-data; name="analysis" Content-Type:text/plain; charset=US-ASCII Content-Transfer-Encoding:8bit MP -----------------------------29772313742745 Content-Disposition: form-data; name="tool" Content-Type:text/plain; charset=US-ASCII Content-Transfer-Encoding:8bit PAUP -----------------------------29772313742745-- |
Note some of the fields shown are optional | |
Response |
|
Error Code; Error Message:
|