Trade

Creates a new trade request

Changed on
post/api/trades

Request

  • Base URL
    https://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

TradeRequest[] 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, WantedItem[] 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/timestamp became required (media type: application/json-patch+json)

    • breaking

      the request property items/timestamp became required (media type: application/json)

    • breaking

      the request property items/timestamp became required (media type: text/json)

    5 more changes in this revision