eveisesi / zrule-ui

Vue JS UI for ZRule
0 stars 0 forks source link

Go directly to ESI for search #4

Closed ddouglas closed 3 years ago

ddouglas commented 3 years ago

Go directly to ESI for each, and then whenever a record is posted, just make a post request to the backend. Will have to setup a new endpoint that can accept POST requests. The endpoint should be something like POST /entity/{category}/{id} and then the payload will be the response from the ESI POST /universe/names endpoint, just a single object, not the entire array

ddouglas commented 3 years ago

Slight change to this, we will be modify the paths endpoint to return slightly different categories. For Alliances, Corporations, and Characters: The request will go to ESI, on selection a POST request should be made to TBD endpoint notifying the backend of the selection so that later on down the road, we can resolve that id to a name For Ships, ShipGroups, Systems, Constellations, Regions: The request will go the backend API supporting ZRule where the request will hit a Redis Cache layer and return the result.