(ESI) Problem with get route with additional connections

When i try to get route with additional connections - i get next:
failed to coerce value ‘30045345,31000096’ into type integer (format: int32)

when i try to do it here - i get same problem.

Url: https://esi.evetech.net/latest/route/30045345/30002187/?connections=30045345%2C31000096,31000096%2C31000002,31000002%2C30002187&datasource=tranquility&flag=shortest

you can try it out, and say me what i do wrong?

https://esi.evetech.net/v1/route/30045345/30002187/?connections=30045345|31000096,31000096|31000002,31000002|30002187

The connection paris are separated via a pipe | character. I found this out by looking at the swagger spec.

{
  "description": "connected solar system pairs",
  "in": "query",
  "items": {
    "collectionFormat": "pipes",
    "items": {
      "format": "int32",
      "type": "integer"
    },
    "maxItems": 2,
    "minItems": 2,
    "type": "array",
    "uniqueItems": true
  },
  "maxItems": 100,
  "name": "connections",
  "type": "array",
  "uniqueItems": true
}

mainly the collectionFormat property. I’d maybe create a feature request here in order to add some additional documentation to that property/provide an example in the UI.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.