Information submitted through the support site is private but is not hosted within your secure CDD Vault. Please do not include sensitive intellectual property in your support requests.

Plot [GET]

API call to retrieve dose-response curves/plots:

Retrieve

 

Retrieve


GET /api/v1/vaults/batches/<batch_id>/protocols/<protocol_id>/plot

Get dose-response curves/plots for a single Batch.

This API call generates a png image file containing the dose-response plot for the specific Batch within the specified Protocol.

 


Parameters (optional):

size

Specify the plot size:
small (default), medium, large

runs

Specify a list of run ids

 

Examples

curl -H "X-CDD-Token: $TOKEN" -X GET -H "Content-Type: application/json" --output curve.png https://app.collaborativedrug.com/api/v1/vaults/3855/batches/26663738/protocols/23188/plot?size=medium

This curl command would create a png image file named curve.png

 

curl -H "X-CDD-Token: $TOKEN" -X GET -H "Content-Type: application/json" --output curve.png https://app.collaborativedrug.com/api/v1/vaults/3855/batches/26663738/protocols/23188/plot?size=medium&runs=123456,654987

This curl command would create a png image file named curve.png containing 2 plots for a specified Batch from 2 separate Run dates.

PlotsExample.PNG

Note: The GET Plots API call also supports the use of JSON for passing these parameters.

{
"size":"medium",
"runs":[169713,169828]
}