Celebane.9813:

1. Looking at the items from my characters inventory i can see flag SoulbindOnUse on weapons. Is there a way to see if the item has actually been bound? I looked at 2 different items. One was bound and the other was not but I could see no differences in the JSON.

2. How much difference is there between in game actions vs. data that the API pulls from. (i.e. If my character picks up an item how long before an API query actually shows that the item is in the character’s inventory.

Lawton Campbell.8517:

1. There currently no way to determine whether an item in an inventory has been soul/account-bound. We’ll have support for that in the next couple of weeks. (EDIT: maybe next month; I’m not exactly sure when that stuff is due to go out).

2. Depends. There’s three parts involved — the map instance server, the player database and the API server that reads player data. The map instance server sends data to the player database roughly every five minutes, or when you make a cross-server transaction (e.g., selling on the trading post, interacting with the guild bank, etc), or when you change maps. The API server only requests a given player blob (which contains all characters) at a maximum of once every five minutes.

Given that, if you just switched maps and your account data hasn’t been requested recently, you’ll get the exact same data as you see in-game. The worst-case is that you’ll see data that’s ~10 minutes old (e.g., the API server cached data from the database just before the map instance server persisted it, and you requested it just before the API server expired its cache).

Numbers are probably a bit off, but it’s safe to assume that any API data regarding the account/characters is a few minutes old.

Eearslya.6309:

1. No. That’s a feature that will be implemented at some point, but at the moment, it is not.

2. Most endpoints can have stale data up to about 5 minutes so that the game servers aren’t bogged down by sending their data to the API servers.

EDIT: Sniped by Lawton. Welp, I tried.

Celebane.9813:

1. There currently no way to determine whether an item in an inventory has been soul/account-bound. We’ll have support for that in the next couple of weeks. (EDIT: maybe next month; I’m not exactly sure when that stuff is due to go out).

2. Depends. There’s three parts involved — the map instance server, the player database and the API server that reads player data. The map instance server sends data to the player database roughly every five minutes, or when you make a cross-server transaction (e.g., selling on the trading post, interacting with the guild bank, etc), or when you change maps. The API server only requests a given player blob (which contains all characters) at a maximum of once every five minutes.

Given that, if you just switched maps and your account data hasn’t been requested recently, you’ll get the exact same data as you see in-game. The worst-case is that you’ll see data that’s ~10 minutes old (e.g., the API server cached data from the database just before the map instance server persisted it, and you requested it just before the API server expired its cache).

Numbers are probably a bit off, but it’s safe to assume that any API data regarding the account/characters is a few minutes old.

Thanks for answering so quickly.

Account Bound isn’t really an issue because that shows up as a flag AccountBoundOnAcquire and if the item is on the account/character well…. it’s bound.

Lawton Campbell.8517:

Account Bound isn’t really an issue because that shows up as a flag AccountBoundOnAcquire and if the item is on the account/character well…. it’s bound.

There’s also AccountBindOnUse, which legendaries and some other items have.

Also there’s a pull request which details what the changes will look like once the backend support lands on live if you wanted to check it out and/or leave feedback before it ships.

Celebane.9813:

Also there’s a pull request which details what the changes will look like once the backend support lands on live if you wanted to check it out and/or leave feedback before it ships.

Thanks!