-
Notifications
You must be signed in to change notification settings - Fork 10
[API]: Unify Send API #92
Copy link
Copy link
Open
Labels
APIThis issue or pull request is about API (e.g. unclear API, new API, API change, deprecation)This issue or pull request is about API (e.g. unclear API, new API, API change, deprecation)breakingThis issue will most likely require breaking changes to the API.This issue will most likely require breaking changes to the API.
Metadata
Metadata
Assignees
Labels
APIThis issue or pull request is about API (e.g. unclear API, new API, API change, deprecation)This issue or pull request is about API (e.g. unclear API, new API, API change, deprecation)breakingThis issue will most likely require breaking changes to the API.This issue will most likely require breaking changes to the API.
Type
Projects
Status
No status
Currently each Astarte Device SDKs has a different name for the function that allows publishing data to an Astarte instance.
We want to unify the Send API across all SDKs to avoid confusion for the end user, who may use different SDKs for various use cases and could become disoriented.
All SDKs will implement the unified API for publishing data to an Astarte instance.
The API for publishing a property value already follows the
unifiedAPI, we have to change only the datastream api:Currently for both datastream interface (individual, object ) we use the
streamDatamethod, in the new API we moved tosend: