-
Notifications
You must be signed in to change notification settings - Fork 33
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
How to respond if queried device does not have an active session? #138
Comments
For connectivity we have the response value NOT_CONNECTED. |
Thanks @akoshunyadi. I think it will be good to document the expected behavior for the roaming case. We probably want to avoid API consumers mistakenly rely on retrieve-roaming-status response to infer device's connectivity status. |
Hi @gmuratk, @bigludo7, @akoshunyadi I was reviewing this issue to see if it could be closed. All the three status API (roaming, reachability and connected network) include a However, I did note that So I think making |
Problem description
There may be cases where the queried device for connectivity or roaming does not have an active session. An appropriate API response needs to be agreed to ensure same behavior by multiple API providers.
Possible evolution
An error response may be returned with an appropriate message.
A success message with a dedicated property maybe used to indicate device is not online
Alternative solution
Additional context
see: camaraproject/Commonalities#127 (comment)
The text was updated successfully, but these errors were encountered: