Requests represent design requests, e.g. the objects to be processed by our service. To start designing a hammerhead ribozyme, one needs to create a request, and supply it with the necessary parameters.
| Resource | Description |
|---|---|
| POST /ribosoft/requests/ | Creates a new design request using the given design parameters, and returns 201 on success.Parameters
Example input
This first example shows how to pass the accession number with no sequence information. This second example will show how to specify the actual sequence string in the request, as well as providing with a 'in-vivo' environment. Status code
Returned ValuesApart from the status code, this resource returns the location of the newly created request. This value is found under the |
| GET /ribosoft/requests/:id | Returns the information for request for which "id" is providedParametersNone Status code
|
| PUT /ribosoft/requests/:id | Updates the request with additional information. This method is useful for setting the emailUser field for reporting the results by email.ParametersSame parameters as the POST method Status code
|
| DELETE /ribosoft/requests/:id | Deletes the request.ParametersNone Status code
|
A status resource represents the status of a request. This can be used to retrieve the state of a request, its remaining time, and the location of the results.
| Resource | Description |
|---|---|
| GET /ribosoft/requests/:id/status | Retrieves the status of a request. The status is a description of the remaining duration of the request, the location of the results if the request has finished processing. ParametersNoneStatus code
Returned Values
. |
A Results resource represents the results of a request.
| Resource | Description |
|---|---|
| GET /ribosoft/requests/:id/results | Retrieves the results of processing a request.ParametersNoneStatus code
Returned ValuesWhen results are found, they are returned in a json object. This page shows an example returned results. |