guild/log - upgrades

guild/log - upgrades

in API Development

Posted by: Nosferu.5743

Nosferu.5743

Hi,
i’ve got a short question concerning the guild log and it’s related gw2-wiki-entry (https://wiki.guildwars2.com/wiki/API:2/guild/:id/log).

The issue is realted with the “upgrade” keyword (type).
A log entry may look like this (name removed):
{
“id”: 156214,
“time”: “2017-01-07T20:25:47.000Z”,
“type”: “upgrade”,
“upgrade_id”: 71255,
“count”: 1,
“action”: “completed”,
“user”: “—-”
},
Problem: the upgrade id was moved (? – it worked until a few days ago) to the item list (https://api.guildwars2.com/v2/items/71255), which means: the log entry is labeled as upgrade, has an upgrade-id but provides an item-id.

Will there be any update to the API which allows to differ upgrade-id’s from item-id’s or is there any safe way already?

guild/log - upgrades

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Oof, not sure how I missed that. I’ll get that fixed sometime this week; here’s tracking issue. I’ll stuff the item id into an item_id field or something just in case it becomes useful in the future.

guild/log - upgrades

in API Development

Posted by: Nosferu.5743

Nosferu.5743

Nice to hear, thank you!