*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
| URL | /api/stool-color/ |
| Description | GET: Fetching all barcodes with their associated color |
| Method | GET |
| Request Body Data | |
| "Response | {
"colors": [
{
"barcode_id": "XXXXX",
"color": "XXXXX"
},
{
"barcode_id": "XXX",
"color": "XXX"
}, |
| URL | /api/stool-colorbarcodes/ |
| Description | GET: Fetch all valid barcodes in MongoDB |
| Method | GET |
| Request Body Data | |
| "Response | {
"barcode_id": [
"XXX1",
"XXX2",
"XXX3", |
| URL | /api/stool-picture/<barcode_id> |
| Description | GET: Fetch an image for the given barcode_id Valid barcode_id can be fetched using /api/stool-barcodes/ |
| Method | GET |
| Url Param | barcode_id |
| Response | if <barcode_id> is valid: |