ML Prep API (v1)
Download OpenAPI description
Languages
Servers
Mock server
http://{{your_prep_ip_address}}/
Body
- application/json-patch+json
- application/json
- text/json
- application/*+json
Flag used for generating a unique protocol name. If true then the server has permission to make the protocol name unique if it already exists.
- Mock server
http://{{your_prep_ip_address}}/api/v1/protocols
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://{{your_prep_ip_address}}/api/v1/protocols' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": 0,
"name": "string",
"makeNameUnique": true,
"skipValidation": true,
"createdByUserName": "string",
"deck": {
"id": 0,
"positions": [
{
"position": 0,
"labwarePositions": [
{
"row": 0,
"column": 0,
"id": 0,
"positionName": "string",
"labwareGroup": {
"labwareId": 0,
"id": 0,
"groupName": "string",
"reuseTipsBetweenSteps": true,
"liquidName": "string",
"liquidType": "string",
"liquidVolumeOptions": "string"
},
"liquidVolume": 0.1
}
],
"id": 0,
"positionName": "string",
"labwareGroup": {
"labwareId": 0,
"id": 0,
"groupName": "string",
"reuseTipsBetweenSteps": true,
"liquidName": "string",
"liquidType": "string",
"liquidVolumeOptions": "string"
},
"liquidVolume": 0.1
}
]
}
}'Response
application/json
{ "isValid": true, "validationErrors": [ "string" ] }
- Mock server
http://{{your_prep_ip_address}}/api/v1/protocols/names
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://{{your_prep_ip_address}}/api/v1/protocols/names' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
[ { "protocolId": 0, "name": "string", "isVisible": true } ]
- Mock server
http://{{your_prep_ip_address}}/api/v1/protocols/properties/step-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://{{your_prep_ip_address}}/api/v1/protocols/properties/step-types' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'