Trade
Creates a new trade request
Changed onpost/api/trades
Request
- Base URLhttps://sky.coflnet.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or API key in header GoogleToken
Request body
Trade Request[] required
id, string nullable
Gets or sets the unique identifier of the trade request.
playerUuid, string nullable
Gets or sets the player UUID initiating the trade.
playerName, string nullable
Gets or sets the player name.
buyerUuid, string nullable
Gets or sets the buyer UUID.
item, Item
coins, integer nullable
The amount of coins the player wants to spend
wantedItems, Wanted Item[] nullable
Gets or sets the list of wanted items in exchange.
timestamp, string date-time required
Gets or sets the timestamp of the trade request.
Response
OK
Changes
- breaking
the request property
items/timestampbecame required (media type: application/json-patch+json) - breaking
the request property
items/timestampbecame required (media type: application/json) - breaking
the request property
items/timestampbecame required (media type: text/json)
5 more changes in this revision
- breaking