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
Ditto thing API supports querying for certain parts of thing, by specifying URL like: <BASE_URL>/api/2/things/<thingid>?fields=attributes/manufacturer,attributes/type,attributes/productkey
but if we want to use alternative format: <BASE_URL>/api/2/things/<thingid>?fields=attributes/manufacturer&fields=attributes/type&fields=attributes/productkey
it only returns first attribute (in this case attributes/manufacturer).
While this may seem like minor issue, some libraries (jawax.ws.rs.QueryParam in JAX-RS API) use only the alternative format to serialize their requests, which makes it a bit harder to bypass.
Ditto version: 3.2.0
The text was updated successfully, but these errors were encountered:
Ditto thing API supports querying for certain parts of thing, by specifying URL like:
<BASE_URL>/api/2/things/<thingid>?fields=attributes/manufacturer,attributes/type,attributes/productkey
but if we want to use alternative format:
<BASE_URL>/api/2/things/<thingid>?fields=attributes/manufacturer&fields=attributes/type&fields=attributes/productkey
it only returns first attribute (in this case attributes/manufacturer).
While this may seem like minor issue, some libraries (jawax.ws.rs.QueryParam in JAX-RS API) use only the alternative format to serialize their requests, which makes it a bit harder to bypass.
Ditto version: 3.2.0
The text was updated successfully, but these errors were encountered: