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

Endpoint for listing entities changed since timestamp? #404

Open
skurzinz opened this issue Sep 26, 2023 · 0 comments
Open

Endpoint for listing entities changed since timestamp? #404

skurzinz opened this issue Sep 26, 2023 · 0 comments

Comments

@skurzinz
Copy link
Contributor

It would be a huge timesaver to have an endpoint that returns entity_ids of entities that have changed since a particular point in time.

Something like a (paging) endpoint that accepts an xs:dateTime as param would be ideal, returning a dict or map of entity_ids that were subject to change since that point in time.

/api/entities/changedsince/yyyy-mm-ddThh:mm or whatever you deem appropriate.

Reasoning: Currently I do

  • iterate over all entities in MPR and (re-)export everything,
  • transform the JSON to our MRP standOff.xml output
  • commit the resulting changes, which might only affect a few entities
  • huge time and electricity overhead for no good reason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant