-
Notifications
You must be signed in to change notification settings - Fork 230
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
Search in history of a thing using RQL filter #1583
Milestone
Comments
thjaeckle
added a commit
that referenced
this issue
Nov 23, 2023
Signed-off-by: Thomas Jäckle <[email protected]>
3 tasks
thjaeckle
added a commit
that referenced
this issue
Nov 25, 2023
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Dec 19, 2023
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Jan 4, 2024
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Jan 4, 2024
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Jan 5, 2024
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Jan 5, 2024
Signed-off-by: Thomas Jäckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Jan 8, 2024
…-in-historical-events #1583 apply RQL based filtering when streaming "historical" thing events
github-project-automation
bot
moved this from Waiting for Approval
to Done
in Ditto Planning
Jan 8, 2024
thfries
pushed a commit
to thfries/ditto
that referenced
this issue
Jan 13, 2024
…al" thing events Signed-off-by: Thomas Jäckle <[email protected]>
thfries
pushed a commit
to thfries/ditto
that referenced
this issue
Jan 13, 2024
… thing events Signed-off-by: Thomas Jäckle <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the addition of #1498 (to be released in Ditto 3.2.0), it is possible to get a stream of all modification events of a thing (up to the configured
history-retention-duration
(e.g. 30 days).It would be quite easy to enhance this new API in order to find a "special condition" within the history of a thing.
Examples:
filter
as RQL)/api/2/things/namespace:my-thing1?from-historical-revision=1&filter=exists(feature/myFeature/properties/targetProperty)
Additional idea (optional):
filter
as RQL) matchedGET /api/2/things/namespace:my-thing1?filter-first-historical-revision=gt(feature/myFeature/properties/value,42)
GET /api/2/things/namespace:my-thing1?filter-last-historical-revision=gt(feature/myFeature/properties/value,42)
GET /api/2/things/namespace:my-thing1?filter-last-historical-revision=exists(feature/myFeature/properties/value)&fields=_revision,_modified
The text was updated successfully, but these errors were encountered: