ML Prep API (v1)
http://{{your_prep_ip_address}}/
Request
Labware recognition is done by computing signatures of each labware at each position. If the recognition accuracy is poor for a particular labware in a specific position, the signature can be updated. This is done by placing the labware at the position and calling this method. The camera will take a image and update the signature. Warning: this operation cannot be undone or reverted other then restoring the entire catalog. Make sure the correct labware is placed in the correct position before calling this.
- Mock server
http://{{your_prep_ip_address}}/api/v1/labware-signature/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'http://{{your_prep_ip_address}}/api/v1/labware-signature/update' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"labwareId": 0,
"positionId": 0
}'- Mock server
http://{{your_prep_ip_address}}/api/v1/labware-signature/export
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://{{your_prep_ip_address}}/api/v1/labware-signature/export' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'"string"
- Mock server
http://{{your_prep_ip_address}}/api/v1/labware-signature/import
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'http://{{your_prep_ip_address}}/api/v1/labware-signature/import' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F Files=string \
-F OverwriteAll=true[ { "name": "string", "result": "string" } ]
- Mock server
http://{{your_prep_ip_address}}/api/v1/labware-signature/create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'http://{{your_prep_ip_address}}/api/v1/labware-signature/create' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F File=string \
-F PositionID=0 \
-F ReferenceLabwareId=string