Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to retrieve which content ids have changed between builds. #159

Closed
lye opened this issue Jan 4, 2016 · 6 comments
Closed

Add ability to retrieve which content ids have changed between builds. #159

lye opened this issue Jan 4, 2016 · 6 comments
Labels

Comments

@lye
Copy link
Contributor

lye commented Jan 4, 2016

When content is updated between builds (e.g., an item's name or icon changes) right now there's no way to get the changes without a full re-index on the application-side. For the items endpoint, the dataset is ~700+MB. It would be ideal if the API provided the ability to retrieve only the changes between builds to reduce the transfer required to keep an up-to-date database.

@codemasher
Copy link
Contributor

Now that would be a thing. I suggested this ages ago already and mentioned some ideas how i'd put it under the /build endpoint (back then). If only i could find that post again...

Edit: well, i found some fragments:

An API which delivers all IDs of changed items for a given build (and therefore an API which delivers the recent build numbers – this could be done by the already existing build.json)

@lye lye added the Feature label Jan 4, 2016
@lye
Copy link
Contributor Author

lye commented Jan 4, 2016

I'm actually tempted to just implement this one weekend outside of the official API infrastructure -- I think there's a way to do this internally using the patch servers (since they I believe have access to the necessary information) -- but because all the API systems are stateless there's no real way to track deltas. With an external service, tracking state is a non-issue, so the implementation would be fairly straightforward.

Too many projects, too little time. sigh

@lye lye added the ready label Jan 4, 2016
@LithMage
Copy link

LithMage commented Feb 2, 2016

So any progress upon this? :) I am building my own application and this is one of the areas where it would be a huge improvement.

@lye
Copy link
Contributor Author

lye commented Feb 3, 2016

Nope, still ENOTIME. I don't expect this will be done within the next six months.

@milneti
Copy link

milneti commented Apr 8, 2016

Just while I am thinking of it I will drop it here to keep it around. Would this be able to provide us a content type as well?

Like: items [{id},{id}] , dyes [{id},{id}] , minis [{id},{id}] , ...

@lye
Copy link
Contributor Author

lye commented Apr 8, 2016

Yeah, that's the intent. The backend can currently only have a single patch's data loaded at a given time (and is mostly stateless) so it's going to take a good deal of effort to make this feasible.

@Aonwy Aonwy closed this as completed Mar 26, 2018
@ghost ghost removed the ready label Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants