Skip to content

[DataStorage] For event fetching no API exits #505

@tiokim

Description

@tiokim

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions