{"info":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","description":"<html><head></head><body><p>This is an API endpoints to manage a library system.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30346515","collectionId":"3de5d529-6b6d-4e11-b428-04c28a04e598","publishedId":"2sAXqy2K5W","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-26T18:42:07.000Z"},"item":[{"name":"Books Resource","item":[{"name":"query books","item":[{"name":"Display a listing of the books","id":"0209ad28-d03d-47cd-9a74-ada7dd8e631f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books","description":"<p>This endpoint retrieves a list of books.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books"],"query":[],"variable":[]}},"response":[{"id":"a0915b0d-92ea-4971-b26c-a6608f6d4ec5","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 22:50:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Sample Title\",\n            \"isbn\": \"1234567890\",\n            \"published_date\": \"2022-01-01\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Necessitatibus dolorem rerum qui explicabo.\",\n            \"isbn\": \"9787953952211\",\n            \"published_date\": \"1970-02-22\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Alias autem ut maxime.\",\n            \"isbn\": \"9790596038822\",\n            \"published_date\": \"2007-04-04\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Ut dolorem eum ratione magni.\",\n            \"isbn\": \"9786739037470\",\n            \"published_date\": \"1991-04-09\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Eveniet maiores voluptatem quis vero qui.\",\n            \"isbn\": \"9783116265785\",\n            \"published_date\": \"1971-11-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 7,\n            \"title\": \"Ipsum minus doloremque quaerat quis necessitatibus vero omnis.\",\n            \"isbn\": \"9789633926499\",\n            \"published_date\": \"1980-08-22\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Nesciunt at sapiente eveniet.\",\n            \"isbn\": \"9783915168799\",\n            \"published_date\": \"1983-11-26\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 9,\n            \"title\": \"Voluptas omnis necessitatibus aut nulla.\",\n            \"isbn\": \"9788253179575\",\n            \"published_date\": \"2012-12-07\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 10,\n            \"title\": \"Numquam sequi ducimus cumque rerum dolorum esse.\",\n            \"isbn\": \"9791716388230\",\n            \"published_date\": \"2011-03-17\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 11,\n            \"title\": \"Aut quae est voluptas consectetur quod neque ipsam.\",\n            \"isbn\": \"9790461565187\",\n            \"published_date\": \"2001-02-13\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 12,\n            \"title\": \"Molestias nihil voluptatem assumenda esse.\",\n            \"isbn\": \"9792735716530\",\n            \"published_date\": \"1989-05-19\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 13,\n            \"title\": \"Totam suscipit quasi itaque sit omnis.\",\n            \"isbn\": \"9790961905162\",\n            \"published_date\": \"1995-09-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 14,\n            \"title\": \"Eligendi non rerum quam mollitia.\",\n            \"isbn\": \"9795415803681\",\n            \"published_date\": \"2023-03-28\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 15,\n            \"title\": \"Dolorem dolorem illum voluptatem beatae adipisci.\",\n            \"isbn\": \"9782494652989\",\n            \"published_date\": \"2014-04-19\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 16,\n            \"title\": \"Ipsum vero et dolor occaecati sed.\",\n            \"isbn\": \"9794544222585\",\n            \"published_date\": \"2015-11-28\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/books?page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/books?page=2\",\n        \"prev\": null,\n        \"next\": \"http://127.0.0.1:8000/api/v1/books?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/books\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 20\n    }\n}"}],"_postman_id":"0209ad28-d03d-47cd-9a74-ada7dd8e631f"},{"name":"Filter status","id":"0233acd3-053d-435c-a987-aa3406051b1d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books?status[eq]={status}","description":"<p>This endpoint retrieves a list of books based on the specified status.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books"],"query":[{"key":"status[eq]","value":"{status}"}],"variable":[]}},"response":[{"id":"cf082615-2fee-40ab-b204-0efdb0d3da03","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"/books?status[eq]=available","path":["books"],"query":[{"key":"status[eq]","value":"available"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:04:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Sample Title\",\n            \"isbn\": \"1234567890\",\n            \"published_date\": \"2022-01-01\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Eveniet maiores voluptatem quis vero qui.\",\n            \"isbn\": \"9783116265785\",\n            \"published_date\": \"1971-11-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 7,\n            \"title\": \"Ipsum minus doloremque quaerat quis necessitatibus vero omnis.\",\n            \"isbn\": \"9789633926499\",\n            \"published_date\": \"1980-08-22\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Nesciunt at sapiente eveniet.\",\n            \"isbn\": \"9783915168799\",\n            \"published_date\": \"1983-11-26\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 11,\n            \"title\": \"Aut quae est voluptas consectetur quod neque ipsam.\",\n            \"isbn\": \"9790461565187\",\n            \"published_date\": \"2001-02-13\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 13,\n            \"title\": \"Totam suscipit quasi itaque sit omnis.\",\n            \"isbn\": \"9790961905162\",\n            \"published_date\": \"1995-09-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 16,\n            \"title\": \"Ipsum vero et dolor occaecati sed.\",\n            \"isbn\": \"9794544222585\",\n            \"published_date\": \"2015-11-28\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 19,\n            \"title\": \"Velit rerum et sint et impedit et ut deleniti.\",\n            \"isbn\": \"9792234299886\",\n            \"published_date\": \"1970-09-15\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/books?status%5Beq%5D=available&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/books?status%5Beq%5D=available&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?status%5Beq%5D=available&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/books\",\n        \"per_page\": 15,\n        \"to\": 8,\n        \"total\": 8\n    }\n}"}],"_postman_id":"0233acd3-053d-435c-a987-aa3406051b1d"},{"name":"Filter published date","id":"2b8e96ac-6970-48e0-a875-10dd57e0cb57","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books?published_date[lt]={date_limit}","description":"<p>This endpoint retrieves a list of books based on the published date criteria.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books"],"query":[{"key":"published_date[lt]","value":"{date_limit}"}],"variable":[]}},"response":[{"id":"c614411b-f292-4dcd-8713-fe33cedbb8c9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"/books?published_date[lt]=2021-09-09","path":["books"],"query":[{"key":"published_date[lt]","value":"2021-09-09"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:07:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"title\": \"Necessitatibus dolorem rerum qui explicabo.\",\n            \"isbn\": \"9787953952211\",\n            \"published_date\": \"1970-02-22\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Alias autem ut maxime.\",\n            \"isbn\": \"9790596038822\",\n            \"published_date\": \"2007-04-04\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Ut dolorem eum ratione magni.\",\n            \"isbn\": \"9786739037470\",\n            \"published_date\": \"1991-04-09\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Eveniet maiores voluptatem quis vero qui.\",\n            \"isbn\": \"9783116265785\",\n            \"published_date\": \"1971-11-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 7,\n            \"title\": \"Ipsum minus doloremque quaerat quis necessitatibus vero omnis.\",\n            \"isbn\": \"9789633926499\",\n            \"published_date\": \"1980-08-22\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Nesciunt at sapiente eveniet.\",\n            \"isbn\": \"9783915168799\",\n            \"published_date\": \"1983-11-26\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 9,\n            \"title\": \"Voluptas omnis necessitatibus aut nulla.\",\n            \"isbn\": \"9788253179575\",\n            \"published_date\": \"2012-12-07\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 10,\n            \"title\": \"Numquam sequi ducimus cumque rerum dolorum esse.\",\n            \"isbn\": \"9791716388230\",\n            \"published_date\": \"2011-03-17\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 11,\n            \"title\": \"Aut quae est voluptas consectetur quod neque ipsam.\",\n            \"isbn\": \"9790461565187\",\n            \"published_date\": \"2001-02-13\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 12,\n            \"title\": \"Molestias nihil voluptatem assumenda esse.\",\n            \"isbn\": \"9792735716530\",\n            \"published_date\": \"1989-05-19\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 13,\n            \"title\": \"Totam suscipit quasi itaque sit omnis.\",\n            \"isbn\": \"9790961905162\",\n            \"published_date\": \"1995-09-19\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 15,\n            \"title\": \"Dolorem dolorem illum voluptatem beatae adipisci.\",\n            \"isbn\": \"9782494652989\",\n            \"published_date\": \"2014-04-19\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 16,\n            \"title\": \"Ipsum vero et dolor occaecati sed.\",\n            \"isbn\": \"9794544222585\",\n            \"published_date\": \"2015-11-28\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        },\n        {\n            \"id\": 17,\n            \"title\": \"Est laboriosam debitis ut ea maiores.\",\n            \"isbn\": \"9788026443674\",\n            \"published_date\": \"2021-06-03\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        },\n        {\n            \"id\": 18,\n            \"title\": \"Quod temporibus eveniet eum non cumque earum vero rem.\",\n            \"isbn\": \"9787874990118\",\n            \"published_date\": \"1997-10-31\",\n            \"author_id\": null,\n            \"status\": \"Borrowed\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=2\",\n        \"prev\": null,\n        \"next\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?published_date%5Blt%5D=2021-09-09&page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/books\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 19\n    }\n}"}],"_postman_id":"2b8e96ac-6970-48e0-a875-10dd57e0cb57"},{"name":"Query search","id":"7d72358c-ffc5-418c-8e7e-68e4be89cedf","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books?title={title}&isbn={isbn}&author={author}","description":"<p>This endpoint retrieves a list of books based on the provided query parameters.</p>\n<ul>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>title</code> (string, optional): The title of the book.</p>\n</li>\n<li><p><code>isbn</code> (string, optional): The ISBN of the book.</p>\n</li>\n<li><p><code>author</code> (string, optional): The author of the book.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books"],"query":[{"key":"title","value":"{title}"},{"key":"isbn","value":"{isbn}"},{"key":"author","value":"{author}"}],"variable":[]}},"response":[{"id":"364bdb52-ad29-443a-a592-f44008339b67","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"/books?title=Sample Title&isbn=1234567890&author=","path":["books"],"query":[{"key":"title","value":"Sample Title"},{"key":"isbn","value":"1234567890"},{"key":"author","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:11:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Sample Title\",\n            \"isbn\": \"1234567890\",\n            \"published_date\": \"2022-01-01\",\n            \"author_id\": null,\n            \"status\": \"Available\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/books?title=Sample%20Title&isbn=1234567890&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/books?title=Sample%20Title&isbn=1234567890&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/books?title=Sample%20Title&isbn=1234567890&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/books\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"7d72358c-ffc5-418c-8e7e-68e4be89cedf"}],"id":"120dfee5-40ac-4cba-90b4-a4613aa428ef","_postman_id":"120dfee5-40ac-4cba-90b4-a4613aa428ef","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}}},{"name":"Display the specified book","id":"9ea7e863-25e9-49fb-bf06-e895c984ed2b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/{book_id}","description":"<p>The endpoint makes an HTTP GET request to retrieve information about a specific book with the book_id.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books","{book_id}"],"query":[],"variable":[]}},"response":[{"id":"6c2bbc1e-b0b4-402e-889f-4da0f149d7c9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:14:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"Sample Title\",\n        \"isbn\": \"1234567890\",\n        \"published_date\": \"2022-01-01\",\n        \"author_id\": null,\n        \"status\": \"Available\"\n    }\n}"}],"_postman_id":"9ea7e863-25e9-49fb-bf06-e895c984ed2b"},{"name":"Update the specified book","id":"6f714b89-2710-4c74-a560-5512972c18e8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"New Title\",\n  \"isbn\": \"1234567890\",\n  \"published_date\": \"2022-01-01\",\n  \"author_id\": 1,\n  \"status\": \"Available\"\n}\n","options":{"raw":{"language":"json"}}},"url":"/books/{book_id}","description":"<p>This endpoint allows the client to update the details of a specific book.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books","{book_id}"],"query":[],"variable":[]}},"response":[{"id":"7a59a17d-0b46-4efd-a47e-cf4bd0f4be7f","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"New Title\",\n  \"isbn\": \"1234567890\",\n  \"published_date\": \"2022-01-01\",\n  \"author_id\": 1,\n  \"status\": \"Available\"\n}\n","options":{"raw":{"language":"json"}}},"url":"/books/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:16:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"New Title\",\n        \"isbn\": \"1234567890\",\n        \"published_date\": \"2022-01-01\",\n        \"author_id\": null,\n        \"status\": \"Available\"\n    }\n}"}],"_postman_id":"6f714b89-2710-4c74-a560-5512972c18e8"},{"name":"Remove the specified book","id":"3e53dc93-ca70-47cd-93a8-d9b38ebca823","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/{book_id}","description":"<p>The API endpoint sends an HTTP DELETE request to delete a specific book with the book_id.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books","{book_id}"],"query":[],"variable":[]}},"response":[{"id":"e3f68bec-5d90-4783-8b16-e7b044bfb66c","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:18:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Book deleted successfully\"\n}"}],"_postman_id":"3e53dc93-ca70-47cd-93a8-d9b38ebca823"},{"name":"Store a newly created book","id":"f6eb052b-bdb5-4924-83fe-15ab13a993d8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Eligendi saepe voluptas praesentium id ullam.\",\n    \"isbn\": \"9786555891347\",\n    \"published_date\": \"1988-10-19\",\n    \"author_id\": 2,\n    \"status\": \"Borrowed\"\n}","options":{"raw":{"language":"json"}}},"url":"/books","description":"<p>This endpoint allows the client to create a new book entry.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books"],"query":[],"variable":[]}},"response":[{"id":"a71fb70c-cafb-41f1-990c-55efd2d77d8c","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Eligendi saepe voluptas praesentium id ullam.\",\n    \"isbn\": \"9786555891347\",\n    \"published_date\": \"1988-10-19\",\n    \"author_id\": 2,\n    \"status\": \"Borrowed\"\n}","options":{"raw":{"language":"json"}}},"url":"/books"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 22:55:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 22,\n        \"title\": \"Eligendi saepe voluptas praesentium id ullam.\",\n        \"isbn\": \"9786555891347\",\n        \"published_date\": \"1988-10-19\",\n        \"author_id\": null,\n        \"status\": \"Borrowed\"\n    }\n}"}],"_postman_id":"f6eb052b-bdb5-4924-83fe-15ab13a993d8"},{"name":"Borrow the specified book","id":"7b6c9f47-e017-487b-ae71-4733d83783a7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/books/{book_id}/borrow","description":"<p>This endpoint allows the user to borrow a specific book by providing the <code>book_id</code> in the URL.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books","{book_id}","borrow"],"query":[],"variable":[]}},"response":[{"id":"71d39606-cd8f-4820-a1c8-544cb29111d9","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/books/2/borrow"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:32:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"3236959a-b1c7-4487-9c84-b205808aff04","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/books/3/borrow"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:35:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Book is not available for borrowing\"\n}"},{"id":"7cac1ae9-161f-4e10-9a5d-a1a40ab11ff9","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/books/3/borrow"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:38:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No query results for model [App\\\\Models\\\\Book] 3\"\n}"},{"id":"2186e5da-7210-45d2-ace9-e1b8decb44d1","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/books/1/borrow"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:40:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Book borrowed successfully\"\n}"}],"_postman_id":"7b6c9f47-e017-487b-ae71-4733d83783a7"},{"name":"Return the specified book","id":"f395c8ca-1d3c-4c40-91da-c02298c76613","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/{book_id}/return","description":"<h3 id=\"post-apiv1booksbook_idreturn\">POST /api/v1/books/{book_id}/return</h3>\n<p>This endpoint is used to return a specific book identified by the <code>book_id</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["books","{book_id}","return"],"query":[],"variable":[]}},"response":[{"id":"60df5631-b590-4249-9078-0b4ce21e7643","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/1/return"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:42:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Book returned successfully\"\n}"},{"id":"c648811b-d683-4872-ad4f-7460af1713a2","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/1/return"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:43:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No query results for model [App\\\\Models\\\\Record].\"\n}"},{"id":"07addfdd-673b-4e5f-b640-968dfda540f6","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/books/1/return"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:45:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"f395c8ca-1d3c-4c40-91da-c02298c76613"}],"id":"72bb168b-9c28-4c07-873d-5a0def3e99b3","description":"<p>This folder contains all the 'Book' endpoints.</p>\n","event":[{"listen":"prerequest","script":{"id":"dc6711a5-8784-4a83-b68d-9e4530b57a9b","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"d09977de-5b14-48ad-9454-b4c1d9e7904d","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"72bb168b-9c28-4c07-873d-5a0def3e99b3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}}},{"name":"Authors Resource","item":[{"name":"Display a listing of the authors","id":"1e09094d-8a9e-4d4a-b4e3-0b46d4c85eb1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors","description":"<p>This endpoint retrieves a list of authors.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["authors"],"query":[],"variable":[]}},"response":[{"id":"91842f21-83ae-44cb-9545-326810623c4a","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:07:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Mr. Diamond Pacocha V\",\n            \"bio\": \"In impedit unde fugiat corporis sequi odio optio est. Quibusdam odio et numquam eum reiciendis dolore. Ut voluptatem molestiae est perspiciatis.\",\n            \"birthdate\": \"1983-10-04\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Sylvia Kilback\",\n            \"bio\": \"Reprehenderit et harum ut dignissimos perspiciatis labore. Est et quos doloremque facere enim non tenetur. Tenetur deserunt unde quia dolore voluptatibus voluptas. Ex quo quibusdam et quod possimus.\",\n            \"birthdate\": \"1989-09-13\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Aubrey Mayer\",\n            \"bio\": \"Et velit ipsa nesciunt sunt quia aliquam. Architecto assumenda dolor ex atque ut. Eum ad consequatur quibusdam iure eveniet quod soluta. Ullam sit vitae aut est soluta quasi architecto.\",\n            \"birthdate\": \"1992-03-13\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Dr. Chet Hermann II\",\n            \"bio\": \"Quia cupiditate sapiente hic ducimus enim est esse placeat. Quia impedit ipsam dolor fuga quisquam quibusdam. Porro quod sunt vel quaerat qui vero.\",\n            \"birthdate\": \"1997-03-09\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Margaretta Krajcik\",\n            \"bio\": \"Officiis molestiae placeat rem dolores. Libero quod dignissimos alias inventore magnam. Necessitatibus at amet modi voluptatem optio.\",\n            \"birthdate\": \"2021-11-10\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Miss Willow Nicolas MD\",\n            \"bio\": \"Aut facere ad veritatis expedita dolores fuga cum. Recusandae quia sed omnis qui sint. Fuga dolores est velit voluptates consequatur odio nihil.\",\n            \"birthdate\": \"1988-10-30\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Rita Koelpin\",\n            \"bio\": \"Atque ducimus aut temporibus. Asperiores ut et minima nihil. Praesentium veniam consequatur molestiae iste velit quos.\",\n            \"birthdate\": \"2011-05-06\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Emmanuelle Haley\",\n            \"bio\": \"Et quis dolores in ducimus. At facilis eos quo atque minima. Sint tenetur repellendus repellat. In hic qui rem nihil nemo rem et.\",\n            \"birthdate\": \"2009-02-27\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Dr. Jayme Grimes DVM\",\n            \"bio\": \"Velit incidunt beatae error rem quia. Numquam in doloremque nulla occaecati et et. Qui libero omnis corrupti. Et minus odit doloribus eaque expedita.\",\n            \"birthdate\": \"2002-11-23\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Mrs. Shawna Rippin\",\n            \"bio\": \"Occaecati aliquid impedit qui fuga qui eum. Dolorum animi sed enim autem quam quia qui quas. Iusto ipsam beatae in qui id autem. Nisi odit ullam autem qui voluptas aut deserunt. Quia sed fuga nobis autem itaque sed sed.\",\n            \"birthdate\": \"1993-03-07\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Conner Ebert\",\n            \"bio\": \"Labore provident non accusantium. Dolor eligendi omnis facilis alias. Consequatur aut omnis quia voluptatibus ex quia.\",\n            \"birthdate\": \"2000-04-15\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Tre Gleason\",\n            \"bio\": \"Similique blanditiis ut quos quis nostrum quibusdam. Maxime corporis ducimus quasi sunt odit quibusdam sequi. Ea enim ipsam inventore voluptatem est.\",\n            \"birthdate\": \"1988-03-24\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Tre Hills\",\n            \"bio\": \"Commodi placeat unde quo et quam et nostrum. Assumenda cumque expedita illum quis tempora. Necessitatibus non dolorem nobis odio ex qui. Voluptatibus atque aut minima voluptatem et tenetur minus.\",\n            \"birthdate\": \"2021-06-25\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Marcus Tremblay\",\n            \"bio\": \"Dolor dolorem recusandae ea sunt adipisci laudantium. Ut corporis consequatur voluptates quisquam maxime et. Et ducimus omnis et officiis voluptatibus. Magnam non velit alias est aut.\",\n            \"birthdate\": \"1983-10-08\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Dr. Percival Blanda\",\n            \"bio\": \"Et autem aut rerum voluptatem doloribus voluptatem architecto. Cum id ipsum perspiciatis at magni.\",\n            \"birthdate\": \"1983-05-26\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/authors?page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/authors?page=2\",\n        \"prev\": null,\n        \"next\": \"http://127.0.0.1:8000/api/v1/authors?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/authors?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/authors?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/authors?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/authors\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 30\n    }\n}"}],"_postman_id":"1e09094d-8a9e-4d4a-b4e3-0b46d4c85eb1"},{"name":"Display the specified author","id":"086d21e3-b51b-41c0-b469-474c3a002163","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors/{author_id}","description":"<p>The endpoint retrieves the details of a specific author based on the provided author ID.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["authors","{author_id}"],"query":[],"variable":[]}},"response":[{"id":"1dfb6151-72f9-4f66-a45e-2122ae68d097","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:08:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Mr. Diamond Pacocha V\",\n        \"bio\": \"In impedit unde fugiat corporis sequi odio optio est. Quibusdam odio et numquam eum reiciendis dolore. Ut voluptatem molestiae est perspiciatis.\",\n        \"birthdate\": \"1983-10-04\"\n    }\n}"}],"_postman_id":"086d21e3-b51b-41c0-b469-474c3a002163"},{"name":"Update the specified author","id":"bbcd55a8-f435-4f30-8fab-0b60082ead2a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Jane D John\",\n    \"bio\":\"How life is\",\n    \"birthdate\":\"1970-02-22\"\n}","options":{"raw":{"language":"json"}}},"url":"/authors/{author_id}","description":"<p>The <code>PUT</code> request is used to update the details of a specific author identified by <code>{author_id}</code> in the API.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["authors","{author_id}"],"query":[],"variable":[]}},"response":[{"id":"5aec5a85-1749-4299-b10e-b191936e7597","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Jane D John\",\n    \"bio\":\"How life is\",\n    \"birthdate\":\"1970-02-22\"\n}","options":{"raw":{"language":"json"}}},"url":"/authors/32"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:11:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 32,\n        \"name\": \"Jane D John\",\n        \"bio\": \"How life is\",\n        \"birthdate\": \"1970-02-22\"\n    }\n}"}],"_postman_id":"bbcd55a8-f435-4f30-8fab-0b60082ead2a"},{"name":"Remove the specified author","id":"3a216007-e53d-4ea2-a72b-3b55d059667a","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true},"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors/{author_id}","description":"<p>The HTTP DELETE request is used to delete a specific author identified by the {author_id} parameter.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["authors","{author_id}"],"query":[],"variable":[]}},"response":[{"id":"19435c27-5dfb-4593-9cbe-d2408abd24d7","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/authors/32"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:13:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Author deleted successfully\"\n}"}],"_postman_id":"3a216007-e53d-4ea2-a72b-3b55d059667a"},{"name":"Store a newly created author","id":"0fccd7b7-adec-4213-bdd0-98cc10613495","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Jane Doe\",\n    \"bio\":\"How life is\",\n    \"birthdate\":\"1970-02-22\"\n}","options":{"raw":{"language":"json"}}},"url":"/authors","description":"<p>The endpoint allows you to create a new author using a POST request to the specified URL.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["authors"],"query":[],"variable":[]}},"response":[{"id":"77058010-b67f-4639-93f5-0f3002e9e90c","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Jane Doe\",\n    \"bio\":\"How life is\",\n    \"birthdate\":\"1970-02-22\"\n}","options":{"raw":{"language":"json"}}},"url":"/authors"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:10:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 32,\n        \"name\": \"Jane Doe\",\n        \"bio\": \"How life is\",\n        \"birthdate\": \"1970-02-22\"\n    }\n}"}],"_postman_id":"0fccd7b7-adec-4213-bdd0-98cc10613495"}],"id":"c73e03f3-5fe7-4580-8a07-7272cc90caa2","description":"<p>This folder contains all the 'Author' endpoints.</p>\n","_postman_id":"c73e03f3-5fe7-4580-8a07-7272cc90caa2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}}},{"name":"Records Resource","item":[{"name":"Display a listing of the borrow records","id":"8ebbc936-ac28-4c62-bc19-63d659816667","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/borrow-records","description":"<p>This endpoint retrieves a list of borrow records.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["borrow-records"],"query":[],"variable":[]}},"response":[{"id":"28f90219-6bba-4f2f-9dd7-78ea939682db","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/borrow-records"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:05:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"user_id\": 3,\n            \"book_id\": 2,\n            \"borrowed_at\": \"2024-09-01 12:32:30\",\n            \"due_at\": \"2024-09-15 12:32:30\",\n            \"returned_at\": \"2024-09-02 01:11:26\"\n        },\n        {\n            \"user_id\": 15,\n            \"book_id\": 9,\n            \"borrowed_at\": \"2024-09-20 03:05:05\",\n            \"due_at\": \"2024-10-04 03:05:05\",\n            \"returned_at\": \"2024-09-23 16:00:52\"\n        },\n        {\n            \"user_id\": 6,\n            \"book_id\": 11,\n            \"borrowed_at\": \"2024-09-24 20:04:38\",\n            \"due_at\": \"2024-10-08 20:04:38\",\n            \"returned_at\": \"2024-09-27 14:12:31\"\n        },\n        {\n            \"user_id\": 9,\n            \"book_id\": 14,\n            \"borrowed_at\": \"2024-09-17 19:22:57\",\n            \"due_at\": \"2024-10-01 19:22:57\",\n            \"returned_at\": null\n        },\n        {\n            \"user_id\": 14,\n            \"book_id\": 5,\n            \"borrowed_at\": \"2024-08-31 22:45:11\",\n            \"due_at\": \"2024-09-14 22:45:11\",\n            \"returned_at\": null\n        },\n        {\n            \"user_id\": 5,\n            \"book_id\": 8,\n            \"borrowed_at\": \"2024-08-29 19:49:51\",\n            \"due_at\": \"2024-09-12 19:49:51\",\n            \"returned_at\": \"2024-08-30 16:25:43\"\n        },\n        {\n            \"user_id\": 8,\n            \"book_id\": 19,\n            \"borrowed_at\": \"2024-09-14 06:25:49\",\n            \"due_at\": \"2024-09-28 06:25:49\",\n            \"returned_at\": \"2024-09-26 06:51:59\"\n        },\n        {\n            \"user_id\": 13,\n            \"book_id\": 12,\n            \"borrowed_at\": \"2024-09-15 00:55:36\",\n            \"due_at\": \"2024-09-29 00:55:36\",\n            \"returned_at\": \"2024-09-27 00:35:57\"\n        },\n        {\n            \"user_id\": 6,\n            \"book_id\": 16,\n            \"borrowed_at\": \"2024-09-25 17:02:20\",\n            \"due_at\": \"2024-10-09 17:02:20\",\n            \"returned_at\": \"2024-10-08 00:55:25\"\n        },\n        {\n            \"user_id\": 5,\n            \"book_id\": 14,\n            \"borrowed_at\": \"2024-08-26 01:23:11\",\n            \"due_at\": \"2024-09-09 01:23:11\",\n            \"returned_at\": \"2024-09-03 02:12:40\"\n        },\n        {\n            \"user_id\": 8,\n            \"book_id\": 19,\n            \"borrowed_at\": \"2024-08-27 14:47:24\",\n            \"due_at\": \"2024-09-10 14:47:24\",\n            \"returned_at\": null\n        },\n        {\n            \"user_id\": 11,\n            \"book_id\": 13,\n            \"borrowed_at\": \"2024-09-14 04:22:24\",\n            \"due_at\": \"2024-09-28 04:22:24\",\n            \"returned_at\": null\n        },\n        {\n            \"user_id\": 6,\n            \"book_id\": 13,\n            \"borrowed_at\": \"2024-09-22 07:00:03\",\n            \"due_at\": \"2024-10-06 07:00:03\",\n            \"returned_at\": null\n        },\n        {\n            \"user_id\": 1,\n            \"book_id\": 6,\n            \"borrowed_at\": \"2024-08-28 05:13:16\",\n            \"due_at\": \"2024-09-11 05:13:16\",\n            \"returned_at\": \"2024-09-06 11:30:49\"\n        },\n        {\n            \"user_id\": 7,\n            \"book_id\": 18,\n            \"borrowed_at\": \"2024-09-08 22:20:01\",\n            \"due_at\": \"2024-09-22 22:20:01\",\n            \"returned_at\": \"2024-09-17 04:33:42\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=2\",\n        \"prev\": null,\n        \"next\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/borrow-records?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/borrow-records\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 17\n    }\n}"}],"_postman_id":"8ebbc936-ac28-4c62-bc19-63d659816667"},{"name":"Display the specified borrow record","id":"db55fc89-5776-4c3e-944b-24061826db41","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/borrow-records/{id}","description":"<p>This endpoint retrieves a specific borrow record by its ID.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["borrow-records","{id}"],"query":[],"variable":[]}},"response":[{"id":"7cc58a8e-259f-470d-812a-adacf41f84ce","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/borrow-records/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:06:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"user_id\": 15,\n        \"book_id\": 9,\n        \"borrowed_at\": \"2024-09-20 03:05:05\",\n        \"due_at\": \"2024-10-04 03:05:05\",\n        \"returned_at\": \"2024-09-23 16:00:52\"\n    }\n}"}],"_postman_id":"db55fc89-5776-4c3e-944b-24061826db41"}],"id":"bd926b32-54fc-4509-9461-5bd13fb89f8e","description":"<p>This folder contains all the 'Records' endpoints.</p>\n","_postman_id":"bd926b32-54fc-4509-9461-5bd13fb89f8e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}}},{"name":"Users Resource","item":[{"name":"Display a listing of the users","id":"0a99e963-d89b-4324-bf95-e0e7621b3367","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/users","description":"<p>This endpoint retrieves a list of users.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["users"],"query":[],"variable":[]}},"response":[{"id":"bdb52bf1-e95e-4035-ba42-f3ac1a4eba85","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:04:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Ms. Lucienne\",\n            \"email\": \"mossie.mueller@example.com\",\n            \"role\": \"Librarian\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"good sha\",\n            \"email\": \"boyle.garth@example.org\",\n            \"role\": \"Admin\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"working now\",\n            \"email\": \"hertha59@example.com\",\n            \"role\": \"Librarian\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Marietta Towne\",\n            \"email\": \"davon.feest@example.com\",\n            \"role\": \"Librarian\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Corene Champlin\",\n            \"email\": \"shana05@example.org\",\n            \"role\": \"Librarian\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Sixth Admin...\",\n            \"email\": \"javier90@example.org\",\n            \"role\": \"Admin\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Prof. Janice Mraz\",\n            \"email\": \"terrence86@example.net\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Miss Maymie Beer\",\n            \"email\": \"kiana.goyette@example.org\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Prof. Maximo Hackett\",\n            \"email\": \"deondre.farrell@example.org\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Mrs. Anabel O'Hara DDS\",\n            \"email\": \"alayna.schmidt@example.net\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Miss Kariane Leannon V\",\n            \"email\": \"caleigh61@example.com\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Emerald Bauch\",\n            \"email\": \"flossie.friesen@example.net\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Preston Braun\",\n            \"email\": \"halie94@example.org\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Prof. Gina Jast Jr.\",\n            \"email\": \"janis.schinner@example.org\",\n            \"role\": \"Member\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Sabrina VonRueden\",\n            \"email\": \"auer.karley@example.net\",\n            \"role\": \"Member\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?page=2\",\n        \"prev\": null,\n        \"next\": \"http://127.0.0.1:8000/api/v1/users?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 16\n    }\n}"}],"_postman_id":"0a99e963-d89b-4324-bf95-e0e7621b3367"},{"name":"Display the specified user","id":"1d6095ca-bb53-4fb6-a553-a87fbeb3d558","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"users/{user_id}","description":"<p>This endpoint makes an HTTP GET request to retrieve the details of a specific user identified by the user ID in the URL.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["{user_id}"],"host":["users"],"query":[],"variable":[]}},"response":[{"id":"64a4e710-0152-4865-8f98-4d7a7ebcad03","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/users/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:03:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 17,\n        \"name\": \"casmir\",\n        \"email\": \"cas@mail.com\",\n        \"role\": \"Admin\"\n    }\n}"}],"_postman_id":"1d6095ca-bb53-4fb6-a553-a87fbeb3d558"},{"name":"Update the specified user","id":"dd13a2a8-9add-4908-9f07-d68ce3367c23","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"casmir\",\n    \"role\":\"Admin\",\n    \"email\":\"cas@mail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/users/{user_id}","description":"<p>This endpoint allows you to update user details by sending an HTTP PUT request to the specified URL with the user's ID in the path parameter.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["users","{user_id}"],"query":[],"variable":[]}},"response":[{"id":"0e193ddf-12ad-4dd5-b9d5-56d535d8f39d","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"casmir\",\n    \"role\":\"Admin\",\n    \"email\":\"cas@mail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/users/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 27 Sep 2024 00:01:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 17,\n        \"name\": \"casmir\",\n        \"email\": \"cas@mail.com\",\n        \"role\": \"Admin\"\n    }\n}"}],"_postman_id":"dd13a2a8-9add-4908-9f07-d68ce3367c23"},{"name":"Remove the specified user","id":"a1cb123e-3a25-44d4-810f-42a85a3d47e4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/users/{user_id}","description":"<p>The HTTP DELETE request is used to delete a specific user with the provided user ID from the API.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["users","{user_id}"],"query":[],"variable":[]}},"response":[{"id":"31e2e800-76c8-43bb-b456-6fa81b4b108a","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/users/18"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:59:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User deleted successfully.\"\n}"}],"_postman_id":"a1cb123e-3a25-44d4-810f-42a85a3d47e4"},{"name":"Signup user","id":"8fafe327-d881-4c61-8640-aad2b70345c2","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"casmir\",\n    \"role\":\"Admin\",\n    \"email\":\"casmir@mail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/users","description":"<p>This endpoint allows you to add a new user to the system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["users"],"query":[],"variable":[]}},"response":[{"id":"d368ed9c-c554-47f4-bfd3-6ef80894351a","name":"422 Unprocessable Content","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"casmir\",\n    \"role\":\"Admin\",\n    \"email\":\"cas@mail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/users"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:54:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The email has already been taken.\",\n    \"errors\": {\n        \"email\": [\n            \"The email has already been taken.\"\n        ]\n    }\n}"},{"id":"bbc2ed13-bc54-4427-a750-db1d6abbd2a3","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"casmir\",\n    \"role\":\"Admin\",\n    \"email\":\"casmir@mail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:55:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 18,\n        \"name\": \"casmir\",\n        \"email\": \"casmir@mail.com\",\n        \"role\": \"Admin\"\n    }\n}"}],"_postman_id":"8fafe327-d881-4c61-8640-aad2b70345c2"},{"name":"Login user","id":"ca2c035b-7ef5-42b7-97f5-b6ba7ccfb937","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"cas@mail.com\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/login","description":"<p>This API endpoint is used to authenticate and login a user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["login"],"query":[],"variable":[]}},"response":[{"id":"158a211e-fe7b-4cc6-81f8-e1ca2e430bb2","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"cas@mail.com\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:50:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"id\": 17,\n        \"name\": \"casmir\",\n        \"email\": \"cas@mail.com\",\n        \"role\": \"Admin\"\n    },\n    \"token\": \"15|LS3yiG7fOfBDSjTFBX4gyUajLh5fLpe956LZg9T4e82973e3\"\n}"}],"_postman_id":"ca2c035b-7ef5-42b7-97f5-b6ba7ccfb937"},{"name":"Logout user","id":"86b04e64-74a3-458b-9a1b-f3acfa58ece6","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/logout","description":"<p>This endpoint is used to log out the user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}},"urlObject":{"path":["logout"],"query":[],"variable":[]}},"response":[{"id":"9bd10b10-b404-431c-aab1-4afe29b09122","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"/logout"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.4"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 26 Sep 2024 23:52:35 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"86b04e64-74a3-458b-9a1b-f3acfa58ece6"}],"id":"19400edd-d401-45d5-86a5-cb837ed0881a","description":"<p>This folder contains all the 'User' endpoints.</p>\n","_postman_id":"19400edd-d401-45d5-86a5-cb837ed0881a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"3de5d529-6b6d-4e11-b428-04c28a04e598","id":"3de5d529-6b6d-4e11-b428-04c28a04e598","name":"Library Management System","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"c15a37c3-d130-40e0-83cf-c08e69cf3129","type":"text/javascript","packages":{},"exec":["pm.request.headers.add({","    key: 'X-API-KEY',","    value: '1a2b3C4d5e'","});",""]}},{"listen":"test","script":{"id":"b3e4a66f-6d14-47e9-8831-7f02f1e12cea","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"BASE_URL","value":"https://lms.casmir.dev/api/v1","type":"string"}]}