Prerequisites
Compatible software with CORS support needs to be installed on the computer attached to box scanner
Inputs needed from client
Field Name | Description |
---|---|
Type of scanner | ziath_dp5 |
ContainerUid | There could be multiple scanners served by the same software/server. Each scanner is identified by a unique ID. |
Port number from localhost/ URL for communicating with the scanner | E.g. 8001, 8777, http://localhost:9998/ |
Testing Before Configuring OpenSpecimen
Validate the API outputs all active/ connected scanners
E.g. curl --location --request GET 'http://localhost:9998/dp5/remote/v1/scanners' --header 'Origin: https://hosturl'
This should return list of all attached scannersAdd the scanner via API
E.g. curl --location --request POST 'http://localhost:9998/dp5/remote/v1/scan?container_uid=1'--header 'Origin: https://hosturl'
This should return the scan result, or the raw image from the scan
Syntax may vary depending on Linux/Windows system and the region