Closed clintjb closed 1 month ago
Hi,
Understood - for the terms it would already be enormously helpful, can appreciate this is a very tricky request / with significant implications
implemented in https://github.com/opendatadiscovery/odd-platform/pull/1685
As discussed at https://github.com/opendatadiscovery/odd-platform/issues/1680#issuecomment-2137353813 we're going to implement in release 0.27.0 only part for term, in particular:
"update_at"property in items with "/api/terms" responses update_at_range_start_date_time and update_at_range_end_date_time input parameters to filter out responses based on update_at property of terms The part for data entities needs much more redesign and effort so moved from the scope as of now.
Is your proposal related to a problem?
Today were pulling enormous amounts of data from ODD via the API (works brilliantly!) one of the issues we face however is that the data we require means we usually pull the detailed calls on the dictionary terms as well as dataset views.
As the number of datasets and terms increase it means were enormously inefficient basically calling everything even if there hasn't been anything changed modified.
Describe the solution you'd like
Ideally within the API calls the option to see a last modified date so we could pull a full list of the datasets / terms and identify which ones have been modified before pulling those detailed calls specifically.
As an example if we utilise the call /api/terms (list of terms) I will get something like the following: "id": 5, "name": "XXX_VTTK_BOX_TEXT1", "definition": "Blah Blah Blah", "modiifed_date": "2024-05-28T11:40:16.919Z", "namespace": { "id": 2, "name": "Warehouse"
Ideally it would be good to have another variable there which was a modification date (both for terms and datasets)