6 $ref: ./definitions/account_line.yaml
8 $ref: ./definitions/advancededitormacro.yaml
10 $ref: ./definitions/allows_renewal.yaml
12 $ref: ./definitions/authorised_value.yaml
13 authorised_value_category:
14 $ref: ./definitions/authorised_value_category.yaml
16 "$ref": ./definitions/identity_provider.yaml
17 identity_provider_domain:
18 "$ref": ./definitions/identity_provider_domain.yaml
20 $ref: ./definitions/basket.yaml
22 $ref: ./definitions/bundle_link.yaml
24 $ref: ./definitions/cashup.yaml
26 $ref: ./definitions/checkout.yaml
28 $ref: ./definitions/checkouts.yaml
29 checkout_availability:
30 $ref: ./definitions/checkout_availability.yaml
32 $ref: ./definitions/circ-rule-kind.yaml
34 $ref: ./definitions/city.yaml
36 $ref: ./definitions/credit.yaml
38 $ref: ./definitions/debit.yaml
40 $ref: ./definitions/erm_config.yaml
42 $ref: ./definitions/erm_agreement.yaml
44 $ref: ./definitions/erm_eholdings_title.yaml
45 erm_eholdings_package:
46 $ref: ./definitions/erm_eholdings_package.yaml
47 erm_eholdings_resource:
48 $ref: ./definitions/erm_eholdings_resource.yaml
50 $ref: ./definitions/erm_license.yaml
52 $ref: ./definitions/error.yaml
54 $ref: ./definitions/fund.yaml
56 $ref: ./definitions/hold.yaml
58 $ref: ./definitions/holds.yaml
60 $ref: ./definitions/ill_backend.yaml
62 $ref: ./definitions/ill_backends.yaml
64 $ref: ./definitions/ill_status.yaml
66 $ref: ./definitions/ill_request.yaml
68 $ref: ./definitions/import_batch_profile.yaml
69 import_batch_profiles:
70 $ref: ./definitions/import_batch_profiles.yaml
72 $ref: ./definitions/import_record_match.yaml
74 $ref: ./definitions/invoice.yaml
76 $ref: ./definitions/item.yaml
78 $ref: ./definitions/item_group.yaml
80 $ref: ./definitions/job.yaml
82 $ref: ./definitions/library.yaml
84 $ref: ./definitions/order.yaml
86 $ref: ./definitions/patron.yaml
87 patron_account_credit:
88 $ref: ./definitions/patron_account_credit.yaml
90 $ref: ./definitions/patron_balance.yaml
91 patron_extended_attribute:
92 $ref: ./definitions/patron_extended_attribute.yaml
94 $ref: ./definitions/quote.yaml
96 $ref: ./definitions/renewal.yaml
98 $ref: ./definitions/renewals.yaml
100 $ref: ./definitions/return_claim.yaml
102 $ref: ./definitions/search_filter.yaml
104 $ref: ./definitions/smtp_server.yaml
106 $ref: ./definitions/suggestion.yaml
108 $ref: ./definitions/ticket.yaml
110 $ref: ./definitions/ticket_update.yaml
112 $ref: ./definitions/transfer_limit.yaml
114 $ref: ./definitions/vendor.yaml
116 /acquisitions/baskets/managers:
117 $ref: paths/acquisitions_baskets.yaml#/~1acquisitions~1baskets~1managers
119 $ref: ./paths/acquisitions_funds.yaml#/~1acquisitions~1funds
120 /acquisitions/funds/owners:
121 $ref: paths/acquisitions_funds.yaml#/~1acquisitions~1funds~1owners
122 /acquisitions/funds/users:
123 $ref: paths/acquisitions_funds.yaml#/~1acquisitions~1funds~1users
124 /acquisitions/orders:
125 $ref: ./paths/acquisitions_orders.yaml#/~1acquisitions~1orders
126 "/acquisitions/orders/{order_id}":
127 $ref: "./paths/acquisitions_orders.yaml#/~1acquisitions~1orders~1{order_id}"
128 /acquisitions/vendors:
129 $ref: ./paths/acquisitions_vendors.yaml#/~1acquisitions~1vendors
130 "/acquisitions/vendors/{vendor_id}":
131 $ref: "./paths/acquisitions_vendors.yaml#/~1acquisitions~1vendors~1{vendor_id}"
132 /advanced_editor/macros:
133 $ref: ./paths/advancededitormacros.yaml#/~1advanced_editor~1macros
134 /advanced_editor/macros/shared:
135 $ref: ./paths/advancededitormacros.yaml#/~1advanced_editor~1macros~1shared
137 $ref: ./paths/search_filters.yaml#/~1search_filters
138 "/search_filters/{search_filter_id}":
139 $ref: "./paths/search_filters.yaml#/~1search_filters~1{search_filter_id}"
140 "/advanced_editor/macros/shared/{advancededitormacro_id}":
141 $ref: "./paths/advancededitormacros.yaml#/~1advanced_editor~1macros~1shared~1{advancededitormacro_id}"
142 "/advanced_editor/macros/{advancededitormacro_id}":
143 $ref: "./paths/advancededitormacros.yaml#/~1advanced_editor~1macros~1{advancededitormacro_id}"
144 "/article_requests/{article_request_id}":
145 $ref: "./paths/article_requests.yaml#/~1article_requests~1{article_request_id}"
146 /auth/otp/token_delivery:
147 $ref: paths/auth.yaml#/~1auth~1otp~1token_delivery
148 "/auth/password/validation":
149 $ref: "./paths/auth.yaml#/~1auth~1password~1validation"
150 /auth/two-factor/registration:
151 $ref: paths/auth.yaml#/~1auth~1two-factor~1registration
152 /auth/two-factor/registration/verification:
153 $ref: paths/auth.yaml#/~1auth~1two-factor~1registration~1verification
154 /auth/identity_providers:
155 $ref: paths/auth.yaml#/~1auth~1identity_providers
156 "/auth/identity_providers/{identity_provider_id}":
157 $ref: paths/auth.yaml#/~1auth~1identity_providers~1{identity_provider_id}
158 "/auth/identity_providers/{identity_provider_id}/domains":
159 $ref: paths/auth.yaml#/~1auth~1identity_providers~1{identity_provider_id}~1domains
160 "/auth/identity_providers/{identity_provider_id}/domains/{identity_provider_domain_id}":
161 $ref: paths/auth.yaml#/~1auth~1identity_providers~1{identity_provider_id}~1domains~1{identity_provider_domain_id}
162 /authorised_value_categories:
163 $ref: paths/authorised_value_categories.yaml#/~1authorised_value_categories
164 "/authorised_value_categories/{authorised_value_category_name}/authorised_values":
165 $ref: "./paths/authorised_values.yaml#/~1authorised_value_categories~1{authorised_value_category_name}~1authorised_values"
167 $ref: paths/authorities.yaml#/~1authorities
168 "/authorities/{authority_id}":
169 $ref: paths/authorities.yaml#/~1authorities~1{authority_id}
171 $ref: "./paths/biblios.yaml#/~1biblios"
172 "/biblios/{biblio_id}":
173 $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}"
174 "/biblios/{biblio_id}/checkouts":
175 $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1checkouts"
176 "/biblios/{biblio_id}/items":
177 $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items"
178 "/biblios/{biblio_id}/items/{item_id}":
179 $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items~1{item_id}"
180 "/biblios/{biblio_id}/pickup_locations":
181 $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1pickup_locations"
182 "/biblios/{biblio_id}/item_groups":
183 $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups"
184 "/biblios/{biblio_id}/item_groups/{item_group_id}":
185 $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups~1{item_group_id}"
186 "/biblios/{biblio_id}/item_groups/{item_group_id}/items":
187 $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups~1{item_group_id}~1items"
188 "/biblios/{biblio_id}/item_groups/{item_group_id}/items/{item_id}":
189 $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups~1{item_group_id}~1items~1{item_id}"
190 "/cash_registers/{cash_register_id}/cashups":
191 $ref: "./paths/cash_registers.yaml#/~1cash_registers~1{cash_register_id}~1cashups"
192 "/cashups/{cashup_id}":
193 $ref: "./paths/cash_registers.yaml#/~1cashups~1{cashup_id}"
195 $ref: ./paths/checkouts.yaml#/~1checkouts
196 "/checkouts/{checkout_id}":
197 $ref: "./paths/checkouts.yaml#/~1checkouts~1{checkout_id}"
198 "/checkouts/{checkout_id}/allows_renewal":
199 $ref: "./paths/checkouts.yaml#/~1checkouts~1{checkout_id}~1allows_renewal"
200 "/checkouts/{checkout_id}/renewals":
201 $ref: "./paths/checkouts.yaml#/~1checkouts~1{checkout_id}~1renewals"
202 "/checkouts/{checkout_id}/renewal":
203 $ref: "./paths/checkouts.yaml#/~1checkouts~1{checkout_id}~1renewal"
204 "/checkouts/availability":
205 $ref: "./paths/checkouts.yaml#/~1checkouts~1availability"
206 /circulation-rules/kinds:
207 $ref: ./paths/circulation-rules.yaml#/~1circulation-rules~1kinds
209 $ref: ./paths/cities.yaml#/~1cities
211 $ref: "./paths/cities.yaml#/~1cities~1{city_id}"
212 "/clubs/{club_id}/holds":
213 $ref: "./paths/clubs.yaml#/~1clubs~1{club_id}~1holds"
214 /config/smtp_servers:
215 $ref: ./paths/config_smtp_servers.yaml#/~1config~1smtp_servers
216 "/config/smtp_servers/{smtp_server_id}":
217 $ref: "./paths/config_smtp_servers.yaml#/~1config~1smtp_servers~1{smtp_server_id}"
219 $ref: ./paths/erm_config.yaml#/~1erm~1config
221 $ref: ./paths/erm_agreements.yaml#/~1erm~1agreements
222 "/erm/agreements/{agreement_id}":
223 $ref: "./paths/erm_agreements.yaml#/~1erm~1agreements~1{agreement_id}"
224 "/erm/documents/{document_id}/file/content":
225 $ref: "./paths/erm_documents.yaml#/~1erm~1documents~1{document_id}~1file~1content"
226 "/erm/eholdings/{provider}/titles":
227 $ref: "./paths/erm_eholdings_titles.yaml#/~1erm~1eholdings~1{provider}~1titles"
228 /erm/eholdings/local/titles/import:
229 $ref: ./paths/erm_eholdings_titles.yaml#/~1erm~1eholdings~1local~1titles~1import
230 "/erm/eholdings/{provider}/titles/{title_id}":
231 $ref: "./paths/erm_eholdings_titles.yaml#/~1erm~1eholdings~1{provider}~1titles~1{title_id}"
232 "/erm/eholdings/{provider}/titles/{title_id}/resources":
233 $ref: "./paths/erm_eholdings_titles_resources.yaml#/~1erm~1eholdings~1{provider}~1titles~1{title_id}~1resources"
234 "/erm/eholdings/{provider}/packages":
235 $ref: "./paths/erm_eholdings_packages.yaml#/~1erm~1eholdings~1{provider}~1packages"
236 "/erm/eholdings/{provider}/resources":
237 $ref: "./paths/erm_eholdings_resources.yaml#/~1erm~1eholdings~1{provider}~1resources"
238 "/erm/eholdings/{provider}/resources/{resource_id}":
239 $ref: "./paths/erm_eholdings_resources.yaml#/~1erm~1eholdings~1{provider}~1resources~1{resource_id}"
240 "/erm/eholdings/{provider}/packages/{package_id}":
241 $ref: "./paths/erm_eholdings_packages.yaml#/~1erm~1eholdings~1{provider}~1packages~1{package_id}"
242 "/erm/eholdings/{provider}/packages/{package_id}/resources":
243 $ref: "./paths/erm_eholdings_packages_resources.yaml#/~1erm~1eholdings~1{provider}~1packages~1{package_id}~1resources"
245 $ref: ./paths/erm_licenses.yaml#/~1erm~1licenses
246 "/erm/licenses/{license_id}":
247 $ref: "./paths/erm_licenses.yaml#/~1erm~1licenses~1{license_id}"
249 $ref: ./paths/erm_users.yaml#/~1erm~1users
251 $ref: ./paths/holds.yaml#/~1holds
253 $ref: "./paths/holds.yaml#/~1holds~1{hold_id}"
254 "/holds/{hold_id}/pickup_location":
255 $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1pickup_location"
256 "/holds/{hold_id}/pickup_locations":
257 $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1pickup_locations"
258 "/holds/{hold_id}/priority":
259 $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1priority"
260 "/holds/{hold_id}/suspension":
261 $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1suspension"
263 $ref: ./paths/ill_backends.yaml#/~1ill~1backends
264 "/ill/backends/{ill_backend_id}":
265 $ref: "./paths/ill_backends.yaml#/~1ill~1backends~1{ill_backend_id}"
267 $ref: ./paths/ill_requests.yaml#/~1ill~1requests
268 "/import_batches/{import_batch_id}/records/{import_record_id}/matches/chosen":
269 $ref: "./paths/import_batches.yaml#/~1import_batches~1{import_batch_id}~1records~1{import_record_id}~1matches~1chosen"
270 /import_batch_profiles:
271 $ref: ./paths/import_batch_profiles.yaml#/~1import_batch_profiles
272 "/import_batch_profiles/{import_batch_profile_id}":
273 $ref: "./paths/import_batch_profiles.yaml#/~1import_batch_profiles~1{import_batch_profile_id}"
275 $ref: ./paths/items.yaml#/~1items
277 $ref: "./paths/items.yaml#/~1items~1{item_id}"
278 "/items/{item_id}/bundled_items":
279 $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items
280 "/items/{item_id}/bundled_items/{bundled_item_id}":
281 $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items~1{bundled_item_id}
282 "/items/{item_id}/pickup_locations":
283 $ref: "./paths/items.yaml#/~1items~1{item_id}~1pickup_locations"
285 $ref: ./paths/jobs.yaml#/~1jobs
287 $ref: "./paths/jobs.yaml#/~1jobs~1{job_id}"
289 $ref: ./paths/libraries.yaml#/~1libraries
290 "/libraries/{library_id}":
291 $ref: "./paths/libraries.yaml#/~1libraries~1{library_id}"
292 "/oauth/login/{provider_code}/{interface}":
293 $ref: ./paths/oauth.yaml#/~1oauth~1login~1{provider_code}~1{interface}
295 $ref: ./paths/oauth.yaml#/~1oauth~1token
297 $ref: ./paths/patrons.yaml#/~1patrons
298 "/patrons/{patron_id}":
299 $ref: "./paths/patrons.yaml#/~1patrons~1{patron_id}"
300 "/patrons/{patron_id}/account":
301 $ref: "./paths/patrons_account.yaml#/~1patrons~1{patron_id}~1account"
302 "/patrons/{patron_id}/account/credits":
303 $ref: "./paths/patrons_account.yaml#/~1patrons~1{patron_id}~1account~1credits"
304 "/patrons/{patron_id}/account/debits":
305 $ref: "./paths/patrons_account.yaml#/~1patrons~1{patron_id}~1account~1debits"
306 "/patrons/{patron_id}/extended_attributes":
307 $ref: "./paths/patrons_extended_attributes.yaml#/~1patrons~1{patron_id}~1extended_attributes"
308 "/patrons/{patron_id}/extended_attributes/{extended_attribute_id}":
309 $ref: "./paths/patrons_extended_attributes.yaml#/~1patrons~1{patron_id}~1extended_attributes~1{extended_attribute_id}"
310 "/patrons/{patron_id}/holds":
311 $ref: "./paths/patrons_holds.yaml#/~1patrons~1{patron_id}~1holds"
312 "/patrons/{patron_id}/password":
313 $ref: "./paths/patrons_password.yaml#/~1patrons~1{patron_id}~1password"
314 "/patrons/{patron_id}/password/expiration_date":
315 $ref: "./paths/patrons_password.yaml#/~1patrons~1{patron_id}~1password~1expiration_date"
316 "/public/biblios/{biblio_id}":
317 $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}"
318 "/public/checkouts/availability":
319 $ref: ./paths/checkouts.yaml#/~1public~1checkouts~1availability
321 $ref: "./paths/items.yaml#/~1public~1items"
322 "/public/biblios/{biblio_id}/items":
323 $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}~1items"
324 "/public/biblios/{biblio_id}/ratings":
325 $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}~1ratings"
327 $ref: ./paths/libraries.yaml#/~1public~1libraries
328 "/public/libraries/{library_id}":
329 $ref: "./paths/libraries.yaml#/~1public~1libraries~1{library_id}"
330 "/public/oauth/login/{provider_code}/{interface}":
331 $ref: ./paths/public_oauth.yaml#/~1public~1oauth~1login~1{provider_code}~1{interface}
332 "/public/patrons/{patron_id}/article_requests/{article_request_id}":
333 $ref: "./paths/article_requests.yaml#/~1public~1patrons~1{patron_id}~1article_requests~1{article_request_id}"
334 "/public/patrons/{patron_id}/checkouts":
335 $ref: "./paths/public_patrons.yaml#/~1public~1patrons~1{patron_id}~1checkouts"
336 "/public/patrons/{patron_id}/guarantors/can_see_charges":
337 $ref: "./paths/public_patrons.yaml#/~1public~1patrons~1{patron_id}~1guarantors~1can_see_charges"
338 "/public/patrons/{patron_id}/guarantors/can_see_checkouts":
339 $ref: "./paths/public_patrons.yaml#/~1public~1patrons~1{patron_id}~1guarantors~1can_see_checkouts"
340 "/public/patrons/{patron_id}/holds/{hold_id}":
341 $ref: "./paths/public_patrons.yaml#/~1public~1patrons~1{patron_id}~1holds~1{hold_id}"
342 "/public/patrons/{patron_id}/password":
343 $ref: "./paths/public_patrons.yaml#/~1public~1patrons~1{patron_id}~1password"
345 $ref: "./paths/tickets.yaml#/~1public~1tickets"
347 $ref: ./paths/quotes.yaml#/~1quotes
348 "/quotes/{quote_id}":
349 $ref: "./paths/quotes.yaml#/~1quotes~1{quote_id}"
351 $ref: ./paths/return_claims.yaml#/~1return_claims
352 "/return_claims/{claim_id}":
353 $ref: "./paths/return_claims.yaml#/~1return_claims~1{claim_id}"
354 "/return_claims/{claim_id}/notes":
355 $ref: "./paths/return_claims.yaml#/~1return_claims~1{claim_id}~1notes"
356 "/return_claims/{claim_id}/resolve":
357 $ref: "./paths/return_claims.yaml#/~1return_claims~1{claim_id}~1resolve"
358 "/rotas/{rota_id}/stages/{stage_id}/position":
359 $ref: "./paths/rotas.yaml#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
361 $ref: ./paths/suggestions.yaml#/~1suggestions
362 "/suggestions/{suggestion_id}":
363 $ref: "./paths/suggestions.yaml#/~1suggestions~1{suggestion_id}"
364 /suggestions/managers:
365 $ref: paths/suggestions.yaml#/~1suggestions~1managers
367 $ref: "./paths/tickets.yaml#/~1tickets"
368 "/tickets/{ticket_id}":
369 $ref: "./paths/tickets.yaml#/~1tickets~1{ticket_id}"
370 "/tickets/{ticket_id}/updates":
371 $ref: "./paths/tickets.yaml#/~1tickets~1{ticket_id}~1updates"
373 $ref: ./paths/transfer_limits.yaml#/~1transfer_limits
374 /transfer_limits/batch:
375 $ref: ./paths/transfer_limits.yaml#/~1transfer_limits~1batch
376 "/transfer_limits/{limit_id}":
377 $ref: "./paths/transfer_limits.yaml#/~1transfer_limits~1{limit_id}"
379 advancededitormacro_id_pp:
380 description: Advanced editor macro internal identifier
382 name: advancededitormacro_id
386 description: Agreement internal identifier
391 agreement_period_id_pp:
392 description: Agreement period internal identifier
394 name: agreement_period_id
397 authorised_value_id_pp:
398 description: Authorised value internal identifier
400 name: authorised_value_id
404 description: Authority identifier
409 authority_type_header:
410 description: Authority type code. Use when content type is not application/json
411 name: x-authority-type
416 description: Framework id. Use when content type is not application/json
422 description: March schema. One of MARC21 or UNIMARC
423 name: x-record-schema
430 confirm_not_duplicate_header:
431 description: Confirm the posted element is not a duplicate
432 name: x-confirm-not-duplicate
436 identity_provider_id_pp:
437 description: Identity provider internal identifier
439 name: identity_provider_id
442 identity_provider_domain_id_pp:
443 description: Identity provider domain internal identifier
445 name: identity_provider_domain_id
449 description: Record internal identifier
454 candidate_match_id_pp:
455 description: Internal import record match identifier
457 name: candidate_match_id
461 description: Cash register internal identifier
463 name: cash_register_id
467 description: Cashup internal identifier
473 description: Internal checkout identifier
479 description: City internal identifier
485 description: Internal club identifier
490 eholdings_title_id_pp:
491 description: Title internal identifier
496 eholdings_package_id_pp:
497 description: Package internal identifier
502 eholdings_resource_id_pp:
503 description: Resource internal identifier
515 description: Internal hold identifier
520 import_batch_profile_id_pp:
521 description: Internal profile identifier
523 name: import_batch_profile_id
527 description: Internal import record identifier
529 name: import_record_id
533 description: Internal item identifier
539 description: Internal item identifier
544 description: Job internal identifier
550 description: Internal library identifier
556 description: License internal identifier
562 description: Matching criteria
573 collectionFormat: csv
574 description: Sorting criteria
582 description: Internal order identifier
588 description: "Page number, for paginated object listing"
594 description: Internal patron identifier
600 description: Internal patron identifier
605 description: "Page size, for paginated object listing"
611 description: Query filter sent through request"s body
618 description: Query filter sent as a request parameter
625 collectionFormat: multi
627 description: Quote internal identifier
633 description: Request id header
635 name: x-koha-request-id
639 name: search_filter_id
641 description: Search filter internal identifier
645 description: Item was seen flag
651 description: SMTP server internal identifier
657 description: Internal suggestion identifier
663 description: Internal ticket identifier
668 transfer_limit_id_pp:
669 description: Internal transfer limit identifier
675 description: Vendor id
685 url: http://www.gnu.org/licenses/gpl.txt
687 name: Koha Development Team
688 url: https://koha-community.org/
692 This API is documented in **OpenAPI format**.
696 The API supports the following authentication mechanisms
698 * HTTP Basic authentication
699 * OAuth2 (client credentials grant)
702 Both _Basic authentication_ and the _OAuth2_ flow, need to be enabled
703 by system preferences.
707 The API uses standard HTTP status codes to indicate the success or failure
708 of the API call. The body of the response will be JSON in the following format:
712 "error": "Current settings prevent the passed due date to be applied",
713 "error_code": "invalid_due_date"
717 Note: Some routes might offer additional attributes in their error responses but that"s
718 subject to change and thus not documented.
720 ## Filtering responses
722 The API allows for some advanced response filtering using a JSON based query syntax. The
723 query can be added to the requests:
725 * as a query parameter `q=`
726 * in the request body
728 For simple field equality matches we can use `{ "fieldname": "value" }` where the fieldname
729 matches one of the fields as described in the particular endpoints response object.
731 We can refine that with more complex matching clauses by nesting a the clause into the
732 object; `{ "fieldname": { "clause": "value" } }`.
734 Available matching clauses include ">", "<", ">=", "<=", "-like", and "-not_like".
736 We can filter on multiple fields by adding them to the JSON respresentation. Adding at `HASH`
737 level will result in an "AND" query, whilst combinding them in an `ARRAY` wilth result in an
738 "OR" query: `{ "field1": "value2", "field2": "value2" }` will filter the response to only those
739 results with both field1 containing value2 AND field2 containing value2 for example.
741 Additionally, if you are requesting related data be embedded into the response one can query
742 on the related data using dot notation in the field names.
746 The following request would return any patron with firstname "Henry" and lastname "Acevedo";
748 `curl -u koha:koha --request GET "http://127.0.0.1:8081/api/v1/patrons/" --data-raw "{ "surname": "Acevedo", "firstname": "Henry" }"`
750 The following request would return any patron whose lastname begins with "Ace";
752 `curl -u koha:koha --request GET "http://127.0.0.1:8081/api/v1/patrons/" --data-raw "{ "surname": { "-like": "Ace%" }"`
754 The following request would return any patron whose lastname is "Acevedo" OR "Bernardo"
756 `curl -u koha:koha --request GET "http://127.0.0.1:8081/api/v1/patrons/" --data-raw "{ "surname": [ "Acevedo", "Bernardo" ] }"`
758 The following request embeds the related patron extended attributes data and filters on it.
760 `curl -u koha:koha =--request GET 'http://127.0.0.1:8081/api/v1/patrons/' --header 'x-koha-embed: extended_attributes' --data-raw '{ "extended_attributes.code": "internet", "extended_attributes.attribute": "1" }'`
766 This optional header allows the api consumer to request additional related data
767 to be returned in the api response. It also allows for cross referencing in the
768 queries as described above. It accepts a comma delimited list of relation names.
770 Relations may on occasion also support dot delimited nesting to allow traversal.
774 This optional header should be passed to give your api request a library
775 context; If it is not included in the request, then the request context
776 will default to using your api comsumer"s assigned home library.
778 - description: "Handle two factor authentication flows\n"
780 x-displayName: Two factor authentication
781 - description: "Manage article requests\n"
782 name: article_requests
783 x-displayName: Article requests
784 - description: "Manage identity providers\n"
785 name: identity_providers
786 x-displayName: Identity providers
787 - description: "Manage baskets for the acquisitions module\n"
789 x-displayName: Baskets
790 - description: "Manage Authority records\n"
792 x-displayName: Authorities
793 - description: "Manage bibliographic records\n"
795 x-displayName: Biblios
796 - description: "Manage cash register cashups\n"
798 x-displayName: Cashups
799 - description: "Manage checkouts\n"
801 x-displayName: Checkouts
802 - description: "Manage circulation rules\n"
803 name: circulation_rules
804 x-displayName: Circulation rules
805 - description: "Manage cities\n"
807 x-displayName: Cities
808 - description: "Manage patron clubs\n"
811 - description: "Manage funds for the acquisitions module\n"
814 - description: "Manage holds\n"
817 - description: "Manage ILL module backends\n"
819 x-displayName: ILL backends
820 - description: "Manage ILL requests\n"
822 x-displayName: ILL requests
823 - description: "Manage import batches\n"
825 x-display-name: Import batches
826 - description: "Manage item groups\n"
828 x-displayName: Item groups
829 - description: "Manage items\n"
832 - description: "Manage jobs\n"
835 - description: "Manage libraries\n"
837 x-displayName: Libraries
838 - description: "Manage macros\n"
840 x-displayName: Macros
841 - description: "Manage acquisition orders\n"
843 x-displayName: Orders
844 - description: "Handle OAuth flows\n"
847 - description: "Manage patrons\n"
849 x-displayName: Patrons
850 - description: "Manage quotes\n"
852 x-displayName: Quotes
853 - description: "Manage return claims\n"
855 x-displayName: Return claims
856 - description: "Manage rotas\n"
859 - description: "Manage SMTP servers configurations\n"
861 x-displayName: SMTP servers
862 - description: "Manage transfer limits\n"
864 x-displayName: Transfer limits
865 - description: "Manage purchase suggestions\n"
867 x-displayName: Purchase suggestions
868 - description: "Manage vendors for the acquisitions module\n"
870 x-displayName: Vendors
871 - description: "Manage batch import profiles\n"
872 name: batch_import_profiles
873 x-displayName: Batch import profiles