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
What should a GetResponse look like if there is no data to return ? I've seen some discussion of a similar scenario for Subscriptions in other git issues but not sure about response to a specific GetRequest.
A few examples of scenarios where there is no data to return (assume a request with just a single path):
A Get that specifies a path to a leaf that is deleted
A Get that specifies a path to a list member that doesn't currently exist (but could in the future/past)
If we're using JSON encoding, and there is no data to return:
a) return value.value=”{}” and encoding = JSON ?
b) return the null string value.value=”” and encoding = ?
c) return a response with the absence of the value.value field ?
d) return a response with the absence of the Value message ?
e) return a response with the absence of the Update message ?
f) return a response with the absence of the Notification message ?
Thx,
Jason
The text was updated successfully, but these errors were encountered:
Hi guys,
What should a GetResponse look like if there is no data to return ? I've seen some discussion of a similar scenario for Subscriptions in other git issues but not sure about response to a specific GetRequest.
A few examples of scenarios where there is no data to return (assume a request with just a single path):
If we're using JSON encoding, and there is no data to return:
a) return value.value=”{}” and encoding = JSON ?
b) return the null string value.value=”” and encoding = ?
c) return a response with the absence of the value.value field ?
d) return a response with the absence of the Value message ?
e) return a response with the absence of the Update message ?
f) return a response with the absence of the Notification message ?
Thx,
Jason
The text was updated successfully, but these errors were encountered: