@@ -797,7 +797,9 @@ module.exports = function(registry) {
797
797
accepts : [
798
798
{ arg : 'filter' , type : 'object' , description :
799
799
'Filter defining fields, where, include, order, offset, and limit - must be a ' +
800
- 'JSON-encoded string ({"something":"value"})' } ,
800
+ 'JSON-encoded string (`{"where":{"something":"value"}}`). ' +
801
+ 'See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries ' +
802
+ 'for more details.' } ,
801
803
{ arg : 'options' , type : 'object' , http : 'optionsFromRequest' } ,
802
804
] ,
803
805
returns : { arg : 'data' , type : [ typeName ] , root : true } ,
@@ -810,7 +812,9 @@ module.exports = function(registry) {
810
812
accepts : [
811
813
{ arg : 'filter' , type : 'object' , description :
812
814
'Filter defining fields, where, include, order, offset, and limit - must be a ' +
813
- 'JSON-encoded string ({"something":"value"})' } ,
815
+ 'JSON-encoded string (`{"where":{"something":"value"}}`). ' +
816
+ 'See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries ' +
817
+ 'for more details.' } ,
814
818
{ arg : 'options' , type : 'object' , http : 'optionsFromRequest' } ,
815
819
] ,
816
820
returns : { arg : 'data' , type : typeName , root : true } ,
0 commit comments