You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
Most Camara APIs follow the guideline added in the design doc to make device object optional and identify the device using the access token when possible. This should also be extended for explicit subscription APIs.
Expected behavior
Make device object optional in subscriptionDetail.
An enhancement to the guidelines should consider as well that if device is returned as part of the response, it should not reveal information not included in the response. Specifically, if device is not included in the request it must not be revealed in the response. This may be considered a separate issue, but this lack of clarification was the reason to keep device as required for the moment in some APIs (e.g. geofencing-subscriptions).
In QoD there is already a mention to this, which could be taken as example:
Note that the device object is defined as optional and will only to be returned if provided in createSession. If more than one type of device identifier was provided, only one identifier will be returned (at implementation choice and with the original value provided in createSession).
Problem description
Most Camara APIs follow the guideline added in the design doc to make device object optional and identify the device using the access token when possible. This should also be extended for explicit subscription APIs.
Expected behavior
Make device object optional in subscriptionDetail.
Alternative solution
Additional context
Also will be relevant for #295
The text was updated successfully, but these errors were encountered: