For posting offers, the new JSON schema is as follows. I kept the string format similar to the offer/confirm, so you can just pass the same string you get from offer/confirm page instead of creating a JSON array. If you rather prefer to send it as a JSON array, I can change that.
offer/list can now query for Locations as well. http://plainexchange.herokuapp.com/api/v1/offer/list?Page=1&Locations=HKUST,CUHK
offer/list also returns the locations:
offer/confirm also checks for location. Note that the format is as follows:
&Locations=[loc1],[loc2]
http://plainexchange.herokuapp.com/api/v1/offer/confirm?Sell=HKD&Buy=USD&AmountSell=100&AmountBuy=7.5&Locations=HKUST,HKUFor posting offers, the new JSON schema is as follows. I kept the string format similar to the offer/confirm, so you can just pass the same string you get from offer/confirm page instead of creating a JSON array. If you rather prefer to send it as a JSON array, I can change that.