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

[DataStorage] For event fetching no API exits #505

Open
tiokim opened this issue Mar 2, 2022 · 0 comments
Open

[DataStorage] For event fetching no API exits #505

tiokim opened this issue Mar 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tiokim
Copy link
Contributor

tiokim commented Mar 2, 2022

LGTM By the way, how to get the information inserted with add event API?

information of what? Addevent will return the id of the event inserted

Input from service application such as { "device":"camera", "readings":[{ "name":"cowcount", "value":"9" }] }

This information can be obtained from database using the reading API or by calling the api in coredatabase to get all the events

Can a service application fetch the information through DataStroage REST API at the moment?

For readings fetching Service application can call /api/v1/device/{deviceNameKey}/resource/{resourceNameKey} Get API
For event fetching no API exits as provided by homeedge

Originally posted by @nitu-s-gupta in #503 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant