# ESI Universe Types published only

**URL:** <https://forums.eveonline.com/t/esi-universe-types-published-only/95563>\
**Category:** Third Party Developers\
**Created:** [August 5, 2018, 2:44pm UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563 "2018-08-05T14:44:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sentenced\_1989](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/sentenced_1989/32/517773_2.png) [@Sentenced\_1989](https://forums.eveonline.com/u/Sentenced_1989)\
**Post date:** [August 5, 2018, 2:44pm UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563/1 "2018-08-05T14:44:36Z")

</div>

Regarding this endpoint  
[https://esi.evetech.net/dev/universe/types/?datasource=tranquility](https://esi.evetech.net/dev/universe/types/?datasource=tranquility)

Currently it returns about 36000 results. My app logic takes this ID’s, then grabs all the data from the /universe/types/{type\_id}/ so that I can save them in my database and I only plan to rerun the task once there is new version of EVE out. This does put a bit of strain on API initially, but then it never asks for data again until new version.

Now the thing is that a lot of inv types are not published. It would be great if the original endpoint would receive either a flag, or separate endpoint which would only return inv types of actually published data. I am scrapping the non published one from my app database and I’ve ended up with about 18000 entries, which means that approx 50% of all inv types is in fact not published and I can’t figure that one out before I start bombarding the API.

Ideally I want to be able to skip those from the start so that my App can run for longer periods without the hassle of downloading the SDE, extracting, moving over to production DB, etc…

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [August 6, 2018, 9:14am UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563/2 "2018-08-06T09:14:17Z")

</div>

I think you are using the wrong perspective. Published or not is not what is important.

Maybe fetching the data on demand ?

---

<div class="post-metadata">

**Author:** ![Krysenth](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/krysenth/32/58194_2.png) [@Krysenth](https://forums.eveonline.com/u/Krysenth)\
**Post date:** [August 6, 2018, 10:15am UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563/3 "2018-08-06T10:15:00Z")

</div>

> [@Sentenced\_1989](#):
>
> Ideally I want to be able to skip those from the start so that my App can run for longer periods without the hassle of downloading the SDE, extracting, moving over to production DB, etc…

That’s kinda the point of using the SDE? I mean… what you’re doing is _literally building the SDE from scratch_. Also, coding against the dev endpoint is stupid, btw. That’s the branch liable to break ■■■■ on a whim, and not give a damn. Code against `/latest/` instead.

---

<div class="post-metadata">

**Author:** ![Dusty\_Meg](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dusty_meg/32/422767_2.png) [@Dusty\_Meg](https://forums.eveonline.com/u/Dusty_Meg)\
**Post date:** [August 6, 2018, 10:34am UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563/4 "2018-08-06T10:34:41Z")

</div>

> [@Krysenth](#):
>
> That’s kinda the point of using the SDE? I mean… what you’re doing is _literally building the SDE from scratch_ . Also, coding against the dev endpoint is stupid, btw. That’s the branch liable to break ■■■■ on a whim, and not give a damn. Code against `/latest/` instead.

The SDE is one way for this but using the ESI is a perfectly viable option.

> [@Sentenced\_1989](#):
>
> It would be great if the original endpoint would receive either a flag, or separate endpoint which would only return inv types of actually published data

I would recommend you post a feature request to [GitHub - esi/esi-issues: Issue tracking and feature requests for ESI · GitHub](https://github.com/esi/esi-issues)  
This may not go anywhere but that’s the place.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [November 4, 2018, 10:34am UTC](https://forums.eveonline.com/t/esi-universe-types-published-only/95563/5 "2018-11-04T10:34:49Z")

</div>

Closed on November 4, 2018, 10:34am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
