Match observed public last-trade batch semantics
This commit is contained in:
@@ -19,10 +19,10 @@ GET http://127.0.0.1:9002/v2/prices-history?token_id=eb%3AYES%3Ademo&cursor={{ne
|
||||
### Last execution for one outcome
|
||||
GET http://127.0.0.1:9002/last-trade-price?token_id=eb%3AYES%3Ademo
|
||||
|
||||
### Last executions for both outcomes from one SQLite snapshot
|
||||
### Query-only batch GET returns 400 Invalid payload
|
||||
GET http://127.0.0.1:9002/last-trades-prices?token_ids=eb%3AYES%3Ademo%2Ceb%3ANO%3Ademo
|
||||
|
||||
### Batch last executions in JSON
|
||||
### Batch last executions in JSON, one row per traded asset ordered by token ID
|
||||
POST http://127.0.0.1:9002/last-trades-prices
|
||||
Content-Type: application/json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user