Lines 50-57
info:
Link Here
|
50 |
|
50 |
|
51 |
## Filtering responses |
51 |
## Filtering responses |
52 |
|
52 |
|
53 |
The API allows for some advanced response filtering using a json based query syntax that |
53 |
The API allows for some advanced response filtering using a JSON based query syntax. The |
54 |
can be added as a query parameter, `q=` or in the request body. |
54 |
query can be added to the requests: |
|
|
55 |
|
56 |
* as a query parameter `q=` |
57 |
* in the request body |
58 |
* in a special header `x-koha-query` |
55 |
|
59 |
|
56 |
For simple field equality matches we can use `{ "fieldname": "value" }` where the fieldname |
60 |
For simple field equality matches we can use `{ "fieldname": "value" }` where the fieldname |
57 |
matches one of the fields as described in the particular endpoints response object. |
61 |
matches one of the fields as described in the particular endpoints response object. |
58 |
- |
|
|