GetTrades

GET /trades/

Returns the trades

Query parameters

  • pageSize integer

    Minimum value is 1, maximum value is 100. Default value is 10.

  • page integer

    Minimum value is 1. Default value is 1.

  • type string

    Type of trade

    Values are Supply or Demand.

  • resource string

    Type of resource. Example Aloe

  • region string

    Region of the trade. EU, NA, SA , ASIA, OCE

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • idtrade number Required
    • discordid string Required
    • type string Required

      Any of:

      Value is Supply.

    • resource string Required
    • amount number
    • quality number
    • region string
    • nickname string
    • discordtag string Required
    • price number Required
  • 503 application/json

    Service Unavailable

    Service Unavailable

GET /trades/
curl \
 --request GET 'http://api.example.com/trades/'
Response examples (200)
[
  {
    "idtrade": 42.0,
    "discordid": "string",
    "type": "Supply",
    "resource": "string",
    "amount": 42.0,
    "quality": 42.0,
    "region": "string",
    "nickname": "string",
    "discordtag": "string",
    "price": 42.0
  }
]
Response examples (503)
string