# Search the library anywhere by different methods **GET /library/search/{page}/{library_id}/{catalogue_id}/{collection_id}** Get a list of items that match the search terms by the method. The Add the following on the end of the URL to identify the search ?search_by={searchmethod}&searchtype={searchtype}&search={query}&sort={sort} searchmethod: one of code,title,author,id searchtype: one of article : Notes from a meeting for example document : A file uploaded which is not a music file but supported format .png, .jpg, .gif, .jpeg, .doc, .docx, .xls, .xlsx, .pdf, .ppt, .pptx, .gpx, .txt, .ai, .rtf, .dot lyrics : A formated lyrics which can be transposed music : A file uploaded which one of .mp3, .mp4, .aac, .mp4a, .m4a physical : A physical item that can be reserved and returned url : A link to a web page of some sort query: the term being searched sort: Use the combination of 4 terms to identify the sort order with a - in between. Use the following terms: library, catalogue, collection, title example: library-catalogue-collection-title ## Servers - API Auto Mocking: https://YOURSITE.infoodle.com/apiv2 (API Auto Mocking) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **page** (integer(int64)) Page number - **library_id** (integer(int64)) (Optional) ID of the Library - **catalogue_id** (integer(int64)) (Optional, but requires library if supplied) ID of the catalogue - **collection_id** (integer(int64)) (Optional, but requires collection if supplied) ID of the collection ## Responses ### 200: OK #### Body Parameters: application/json (object) - **items** (array[object]) - **paging** (object) [Powered by Bump.sh](https://bump.sh)