Admin tool dokumentaatio
This commit is contained in:
44
Docs.md
Normal file
44
Docs.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Admin tool
|
||||
|
||||
## GET /lootaherra/<admin-identifier>
|
||||
|
||||
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/<delivery-date>
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user