esi-issues icon indicating copy to clipboard operation
esi-issues copied to clipboard

Field `alliance_id` in /universe/races refers to a faction

Open joaomlneto opened this issue 3 years ago • 1 comments

Bug / Requests

GET /latest/universe/races returns a list of races, each having an alliance_id.

Edit: as stated by @CarbonAlabel these are faction Ids, and they should be documented/named as such.

Updating the field name may be a breaking change and require a version bump.

Requests

GET /latest/universe/races

Response

A race's allianceId field should be named factionId and documentation updated to reflect it.

Checklist

Check all boxes that apply to this issue:

  • [x] Bug description is provided
  • [x] Request path is provided
  • [x] Response status code is provided
  • [x] Response headers are provided
  • [x] Response body is provided
  • [x] Expected response is provided

joaomlneto avatar Sep 18 '22 22:09 joaomlneto

Those are actually faction IDs, available at https://esi.evetech.net/v2/universe/factions/.

CarbonAlabel avatar Sep 19 '22 01:09 CarbonAlabel