GMX · Example Payload

Getpositionsinfo

Positions

Getpositionsinfo is an example object payload from GMX, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

methodpathoperationIdsummarytagsparametersresponses

Example Payload

Raw ↑
{
  "method": "GET",
  "path": "/positions",
  "operationId": "GetPositionsInfo",
  "summary": "",
  "tags": [
    "Positions"
  ],
  "parameters": [
    {
      "in": "query",
      "name": "address",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "includeRelatedOrders",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Success",
      "schema": {
        "items": {
          "$ref": "#/components/schemas/PositionResponse"
        },
        "type": "array"
      }
    }
  }
}