X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=inline;f=notes%2Fproto.txt;h=d48031e8d48cea4904f635e02d5547ae50cd537e;hb=9509d10fe69bf2084adbe3c7714a9b1fa20e8318;hp=dc11783ad527da8606d96b2006b1cac6ce2bd2b3;hpb=f8ff5876b5787375fe629450d0c5d088965720d0;p=tpg%2Fopendispense2.git diff --git a/notes/proto.txt b/notes/proto.txt index dc11783..d48031e 100644 --- a/notes/proto.txt +++ b/notes/proto.txt @@ -74,15 +74,15 @@ 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:][ max:][ flags:][ lastseen:][ sort:[-desc]]\n +c ENUM_USERS[ min_balance:][ max_balance:][ flags:][ last_seen_before:][ last_seen_after:][ sort:[-desc]]\n s 201 Users \n s 202 User \n ...