| | |
| | | <para>Matches when the pointer equals the value, as in the following |
| | | example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+eq+"bjensen@example.com" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+eq+"bjensen@example.com" |
| | | &_prettyPrint=true' |
| | | { |
| | | "result" : [ { |
| | |
| | | <para>Matches when the pointer contains the value, as in the following |
| | | example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+co+"jensen" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+co+"jensen" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | <para>Matches when the pointer starts with the value, as in the |
| | | following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+sw+"ab" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+sw+"ab" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | <para>Matches when the pointer is less than the value, as in the |
| | | following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+lt+"ac" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+lt+"ac" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | <para>Matches when the pointer is less than or equal to the value, as |
| | | in the following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+le+"ad" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+le+"ad" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | <para>Matches when the pointer is greater than the value, as in the |
| | | following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+gt+"tt" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+gt+"tt" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | <para>Matches when the pointer is greater than or equal to the value, |
| | | as in the following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users? |
| | | _filter=userName+ge+"tw" |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName+ge+"tw" |
| | | &_fields=userName |
| | | &_prettyPrint=true' |
| | | { |
| | |
| | | any resource on which the <replaceable>json-pointer</replaceable> is |
| | | present, as in the following example.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users?_filter=userName%20pr |
| | | &_prettyPrint=true' |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=userName%20pr&_prettyPrint=true' |
| | | { |
| | | "result" : [ { |
| | | "id" : "abarnes", |
| | |
| | | <literal>name/givenName</literal> to identify the fields that are nested |
| | | inside the <literal>name</literal> object.</para> |
| | | |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap/users |
| | | ?_filter=(name/familyName+eq+"jensen"+and+name/givenName+sw+"Bar") |
| | | <screen>$ curl 'http://opendj.example.com:8080/rest2ldap |
| | | /users?_filter=(name/familyName+eq+"jensen"+and+name/givenName+sw+"Bar") |
| | | &_fields=name |
| | | &_prettyPrint=true' |
| | | { |