X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=notes%2Fproto.txt;h=d48031e8d48cea4904f635e02d5547ae50cd537e;hb=b8913d7420311a9eb7da923a8fc645ac4ca25a45;hp=df3f9ccd2fe70a308fe2ac73492afb9135e85c00;hpb=2402457fd4ea286febae34182d9a9f3b63cb6565;p=tpg%2Fopendispense2.git diff --git a/notes/proto.txt b/notes/proto.txt index df3f9cc..d48031e 100644 --- a/notes/proto.txt +++ b/notes/proto.txt @@ -74,13 +74,13 @@ s 200 Add OK\n or 402 No balance\n or 403 Not Coke\n or 404 Bad User\n --- Get Item list --- c ENUM_ITEMS\n s 201 Items \n -s 202 Item \n +s >> Response to ITEM_INFO ... s 200 List End\n --- Get Item Information --- c ITEM_INFO \n -s 202 Item \n - +s 202 Item \n + "avail", "sold", or "error" --- Get Users' Balances --- c ENUM_USERS[ min_balance:][ max_balance:][ flags:][ last_seen_before:][ last_seen_after:][ sort:[-desc]]\n s 201 Users \n