Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL /api/stool-picture/<barcode_id>
Description

GET: Fetch an image for the given barcode_id

Valid barcode_id ids can be fetched using /api/stool-barcodes/

MethodGET
Url Param

barcode_id

Response
if <barcode_id> is valid:
image of its output color as .png image , Status 200
if <barcode_id> is not valid:
   { "message": "barcode: barcode_id not found" }, Status 404

...