Durzan.4603:

Hi,

can you add a information about the position of a major trait in the API?
For example the position of a major trait of tier 1 for example could be top, middle or bottom. The problem is that there isn’t any information about the position of the trait except the tier.

You could add an attribute named like position with a number as value which tells if it’s top(1), middle(2) or bottom(3).
Short example:

{
  "id": 296,
  "tier": 1,
  "name": "Brennende Präzision",
  "description": "Kritische Treffer haben eine Chance, Brennen zu verursachen, und das Brennen hält länger an.",
  "slot": "Major",
  "specialization": 31,
  "icon": "https://render.guildwars2.com/file/774471FA3841BB90EB6F935A76D8017A0C4B005E/1012306.png",
  "position": 1
}

Here is current status of a major trait (sry for a german example):

{
    "id": 296,
    "tier": 1,
    "name": "Brennende Präzision",
    "description": "Kritische Treffer haben eine Chance, Brennen zu verursachen, und das Brennen hält länger an.",
    "slot": "Major",
    "facts": [
      {
        "text": "Recharge",
        "type": "Recharge",
        "icon": "https://render.guildwars2.com/file/D767B963D120F077C3B163A05DC05A7317D7DB70/156651.png",
        "value": 5
      },
      {
        "text": "Chance bei kritischem Treffer",
        "type": "Percent",
        "icon": "https://render.guildwars2.com/file/9352ED3244417304995F26CB01AE76BB7E547052/156661.png",
        "percent": 33
      },
      {
        "text": "Apply Buff/Condition",
        "type": "Buff",
        "icon": "https://render.guildwars2.com/file/B47BF5803FED2718D7474EAF9617629AD068EE10/102849.png",
        "duration": 2,
        "status": "Brennen",
        "description": "Bewirkt jede Sekunde Schaden; Intensität summiert sich.",
        "apply_count": 1
      },
      {
        "text": "Erhöhung der Dauer",
        "type": "Percent",
        "icon": "https://render.guildwars2.com/file/B0CD8077991E4FB1622D2930337ED7F9B54211D5/156665.png",
        "percent": 20
      }
    ],
    "specialization": 31,
    "icon": "https://render.guildwars2.com/file/774471FA3841BB90EB6F935A76D8017A0C4B005E/1012306.png"
  }

Lawton Campbell.8517:

Created an issue for this. You can currently get the trait ordering from /v2/specializations — the order of the major_traits field is “tier 1 top, tier 1 middle, tier 1 bottom, tier 2 top …”. It’s horrible and implicit so I’ll try to duplicate that information in a more clear way.

Durzan.4603:

Thank you very much. That helps