Endpoint for opening a UI window using an in-game link
Feature Request
New endpoint:
POST https://esi.evetech.net/ui/openlink
Request body:
{
"link": "showinfo:26902"
}
This would open the same window as clicking the provided link in-game.
Examples
showinfo:26902 → Show Info window is opened for a Fedo
showinfo:5//30000142 → Show Info window is opened for the Jita solar system
showinfo:4024//60001306 → Show Info window is opened for the station Muvolailen X - Moon 7 - Wiyrkomi Corporation Factory
showinfo:16159//434243723 → Show Info window is opened for C C P Alliance
opportunity:corporation_goals:0061b6ef-1cb8-4ccc-bd9b-8b57d571c468 → Opportunities window is opened for the given Corporation Project
opportunity:daily_goals:f7529334-c687-48af-b276-153d88516b90 → Opportunities window is opened for the given Daily Goal
killReport:129249825:52ecde3f84b4a18ef4a6b23b2de90144d313ebf0 → Killmail is opened
joinChannel:player_ac9d1acf5f3411efa9cf3a68dd86f9e7 → Chat window is opened for the given channel
contract:30000142//222084981 → Contract window is opened for the given Jita contract
We currently have the /ui/openwindow/information and /ui/openwindow/contract endpoints which cover a smaller subset of this functionality. There is no way to open a Show Info window for a Type or Solar System for example. This endpoint would allow the flexibility to work for anything linkable in-game, including future types of linkable entities, without requiring separate endpoints.
Use case
Opening entities in-game from external tools.
Authentication
Scope: esi-ui.open_window.v1
Checklist
Check all boxes that apply to this issue:
- [x] Feature request description is provided
- [x] Use case exists
- [x] Feature requires a new route
- [ ] Feature adds data to existing route
- [ ] Feature requires new auth scope
- [x] Feature can reuse existing scope
- [ ] Feature does not require auth
- [ ] Meta feature, applies to all routes
I don’t particularly like this idea because it’s too broad of a permission to grant IMO. In particular, I’m very wary of giving permission to join chats.
I could definitely see some kind of confirmation dialog for joining chats, or omitting the support for chat channel links if it's too much effort. I don't see the issue otherwise, but feel free to clarify what problems do you see, given the ability to open in-game windows is already in ESI.