I know how to handle it but the whole docking affected restriction seems weird. I can see the structure name in game even if I don’t have docking rights. I don’t want to lookup anything except name.
On the other side, I’m in a corp which owns the structure but still I’m getting Forbidden error if I’m trying to lookup it using the endpoint you’ve mentioned. At least moon mining notifications have structure name specified right inside their text property with no additional lookup needed at all.
Dear CCP, can we have structure names specified in the text of other structure related notifications? @CCP_SnowedIn ? And you can leave lookups as they are.
Can you dock in the structure that has the notification? If not there is no way to get the name of the structure via ESI afaik, that endpoint is the only one that returns the name of a structure given an ID.
This is basically the answer to the problem. ESI is still in development, being at 0.8 right now, and better safe than sorry.
So do market orders in ESI don’t tell you much about structures either. Structures aren’t even included in the sell order listings, yet for buy orders do these show up with at least an id. While any player in-game can see them.
It feels like the ESI is missing a “lowest denominating character” for some of the unauthorized data and instead chooses to stay completely on the outside.
I think this is a good idea. We have a notification bot for our alliance and its quite some effort and requires additional scopes to get the structure names for most notifications. Also, since structure names are part of newer notifications it seams that CCP agrees with you. Will upvote on esi-issues.