diff --git a/Docs.md b/Docs.md new file mode 100644 index 0000000..260536d --- /dev/null +++ b/Docs.md @@ -0,0 +1,44 @@ +# Admin tool + +## GET /lootaherra/ + +Löytyykö? +200 OK / 404 Not Found + +Lisää uusi loota_admin taulu. Sama kuin loota_customer. + +## GET /lootaherra/orders + +Lista loota_order rivejä, joissa mukana asiakas tieto +[ + { + id: uuid + location: string + create_time: timestamp + + { + id: uuid + identifier: string + created_time: timestamp + } + } +] + +## GET /lootaherra/box-list/ + +Lista loota_box rivejä, joissa mukana loota_orferin tiedot. + +[ + { + id: uuid + delivery_date: timestamp //debuggausta varten + pickup_date: timestamp + + { + id: uuid + customer_id: uuid + location: string + create_time: timestamp + } + } +] \ No newline at end of file