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

List Marked type_ids endpoint results with invalid requests

Open cvweiss opened this issue 4 months ago • 1 comments

Bug

The following endpoint has the description:

Return a list of type IDs that have active orders in the region, for efficient market indexing.

https://esi.evetech.net/markets/{region_id}/types

However, the endpoint provides type_ids that are not published and/or do not have a market group_id.

Example

GET     https://esi.evetech.net/markets/10000002/types?page=*

There are approximately 19 pages as of this issue. The endpoint returns a list of type_id in a JSON array. Iterating the type_ids using

GET    https://esi.evetech.net/markets/10000002/history?type_id=12193

Should not result in a 404 when that type_id was provided by the previous endpoint.

Status Code

200

All type_ids provided should result in a 200 with not one 404.

Expected

Please provide either the expected return code, correct response body, header value, or some combination thereof. E.g.:

200

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

cvweiss avatar Aug 11 '25 11:08 cvweiss

proposal : filter out the type ids that are not published or do not have a market group id from the returned list ?

guiguilechat avatar Aug 11 '25 11:08 guiguilechat