{"info":{"_postman_id":"430d159d-182d-40ce-a605-a6aea898c14e","name":"F1 Driver API 🏎️","description":"<html><head></head><body><p>CRUD API of F1 drivers 🏁🏎️ that showcases the use of Spring Boot, MySQL &amp; Docker as its main technologies.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10146128","collectionId":"430d159d-182d-40ce-a605-a6aea898c14e","publishedId":"2s93JoxRFG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2024-11-25T00:55:50.000Z"},"item":[{"name":"Swagger Docs","id":"c49ec293-bbe3-415a-8a53-3a21a68b0a8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9096/api","description":"<p>F1 Driver API Swagger Documentation</p>\n","urlObject":{"protocol":"http","port":"9096","path":["api"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"78febfb1-c486-450a-b83a-96226f4e801e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"http://localhost:9096/v3/api-docs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2576"},{"key":"Date","value":"Mon, 16 Jun 2025 23:09:39 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"openapi\": \"3.0.1\",\n    \"info\": {\n        \"title\": \"OpenAPI definition\",\n        \"version\": \"v0\"\n    },\n    \"servers\": [\n        {\n            \"url\": \"http://localhost:9096\",\n            \"description\": \"Generated server url\"\n        }\n    ],\n    \"paths\": {\n        \"/api/drivers/{id}\": {\n            \"put\": {\n                \"tags\": [\n                    \"driver-controller\"\n                ],\n                \"operationId\": \"updateDriver\",\n                \"parameters\": [\n                    {\n                        \"name\": \"id\",\n                        \"in\": \"path\",\n                        \"required\": true,\n                        \"schema\": {\n                            \"type\": \"integer\",\n                            \"format\": \"int64\"\n                        }\n                    }\n                ],\n                \"requestBody\": {\n                    \"content\": {\n                        \"application/json\": {\n                            \"schema\": {\n                                \"$ref\": \"#/components/schemas/Driver\"\n                            }\n                        }\n                    },\n                    \"required\": true\n                },\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"OK\",\n                        \"content\": {\n                            \"*/*\": {\n                                \"schema\": {\n                                    \"type\": \"object\"\n                                }\n                            }\n                        }\n                    }\n                }\n            },\n            \"delete\": {\n                \"tags\": [\n                    \"driver-controller\"\n                ],\n                \"operationId\": \"deleteDriver\",\n                \"parameters\": [\n                    {\n                        \"name\": \"id\",\n                        \"in\": \"path\",\n                        \"required\": true,\n                        \"schema\": {\n                            \"type\": \"integer\",\n                            \"format\": \"int64\"\n                        }\n                    }\n                ],\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"OK\",\n                        \"content\": {\n                            \"*/*\": {\n                                \"schema\": {\n                                    \"type\": \"object\"\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n        },\n        \"/api/drivers\": {\n            \"get\": {\n                \"tags\": [\n                    \"driver-controller\"\n                ],\n                \"operationId\": \"getDrivers\",\n                \"parameters\": [\n                    {\n                        \"name\": \"driver\",\n                        \"in\": \"query\",\n                        \"required\": false,\n                        \"schema\": {\n                            \"type\": \"string\"\n                        }\n                    },\n                    {\n                        \"name\": \"team\",\n                        \"in\": \"query\",\n                        \"required\": false,\n                        \"schema\": {\n                            \"type\": \"string\"\n                        }\n                    },\n                    {\n                        \"name\": \"position\",\n                        \"in\": \"query\",\n                        \"required\": false,\n                        \"schema\": {\n                            \"type\": \"integer\",\n                            \"format\": \"int32\"\n                        }\n                    },\n                    {\n                        \"name\": \"year\",\n                        \"in\": \"query\",\n                        \"required\": false,\n                        \"schema\": {\n                            \"type\": \"integer\",\n                            \"format\": \"int32\"\n                        }\n                    }\n                ],\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"OK\",\n                        \"content\": {\n                            \"*/*\": {\n                                \"schema\": {\n                                    \"type\": \"object\"\n                                }\n                            }\n                        }\n                    }\n                }\n            },\n            \"post\": {\n                \"tags\": [\n                    \"driver-controller\"\n                ],\n                \"operationId\": \"addDrivers\",\n                \"requestBody\": {\n                    \"content\": {\n                        \"application/json\": {\n                            \"schema\": {\n                                \"type\": \"array\",\n                                \"items\": {\n                                    \"$ref\": \"#/components/schemas/Driver\"\n                                }\n                            }\n                        }\n                    },\n                    \"required\": true\n                },\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"OK\",\n                        \"content\": {\n                            \"*/*\": {\n                                \"schema\": {\n                                    \"type\": \"object\"\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n        },\n        \"/api/drivers/initialize\": {\n            \"post\": {\n                \"tags\": [\n                    \"driver-controller\"\n                ],\n                \"operationId\": \"initializeData\",\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"OK\",\n                        \"content\": {\n                            \"*/*\": {\n                                \"schema\": {\n                                    \"type\": \"object\"\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n        },\n        \"/api\": {\n            \"get\": {\n                \"tags\": [\n                    \"status-controller\"\n                ],\n                \"summary\": \"Check the service status\",\n                \"description\": \"Returns a simple status message indicating the service is running.\",\n                \"operationId\": \"checkStatus\",\n                \"responses\": {\n                    \"200\": {\n                        \"description\": \"Service is up and running\",\n                        \"content\": {\n                            \"application/json\": {\n                                \"schema\": {\n                                    \"type\": \"string\"\n                                },\n                                \"example\": \"{\\\"message\\\":\\\"Ready to go! 🚦🏁\\\",\\\"status\\\":200}\"\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    },\n    \"components\": {\n        \"schemas\": {\n            \"Driver\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"id\": {\n                        \"type\": \"integer\",\n                        \"format\": \"int64\"\n                    },\n                    \"year\": {\n                        \"type\": \"integer\",\n                        \"format\": \"int32\"\n                    },\n                    \"name\": {\n                        \"type\": \"string\"\n                    },\n                    \"team\": {\n                        \"type\": \"string\"\n                    },\n                    \"position\": {\n                        \"type\": \"integer\",\n                        \"format\": \"int32\"\n                    },\n                    \"points\": {\n                        \"type\": \"number\",\n                        \"format\": \"double\"\n                    },\n                    \"wins\": {\n                        \"type\": \"integer\",\n                        \"format\": \"int32\"\n                    },\n                    \"podiums\": {\n                        \"type\": \"integer\",\n                        \"format\": \"int32\"\n                    }\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"c49ec293-bbe3-415a-8a53-3a21a68b0a8b"},{"name":"Ping","id":"d866760e-c5cf-4f48-b25e-ec3f05072a72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9096/api","description":"<p>Check the service status</p>\n","urlObject":{"protocol":"http","port":"9096","path":["api"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"370a708d-d0f9-496f-9898-a924aaaa9e95","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"http://localhost:9096/api"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 25 Nov 2024 00:31:24 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Ready to go! 🚦🏁\"\n}"}],"_postman_id":"d866760e-c5cf-4f48-b25e-ec3f05072a72"},{"name":"Initialize DB","id":"8a0d1c28-ffcd-4c0d-a726-992171552f0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"localhost:9096/api/drivers/initialize","description":"<p>Initialize the database with some pre-defined driver data</p>\n","urlObject":{"port":"9096","path":["api","drivers","initialize"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9ad54b74-1ed6-4513-989c-8acc052fd119","name":"200 - Successfully initialized","originalRequest":{"method":"POST","header":[],"url":"localhost:9096/api/drivers/initialize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 24 Nov 2024 22:43:35 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully initialized driver data.\",\n    \"status\": 200\n}"},{"id":"80e18b69-955f-4709-94e2-c6ca3ddb7de9","name":"200 - Already initialized","originalRequest":{"method":"POST","header":[],"url":"localhost:9096/api/drivers/initialize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 25 Nov 2024 00:53:43 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Drivers already exist in the database. Skipping initialization.\",\n    \"status\": 200\n}"}],"_postman_id":"8a0d1c28-ffcd-4c0d-a726-992171552f0f"},{"name":"Get Drivers","id":"dfbf26a1-d14a-4e43-8ca1-f2a3bec79387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:9096/api/drivers","description":"<p>Fetch a list of drivers with optional filters</p>\n","urlObject":{"port":"9096","path":["api","drivers"],"host":["localhost"],"query":[{"disabled":true,"key":"driver","value":"Schumacher"},{"disabled":true,"key":"position","value":"1"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"team","value":"Haas"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"year","value":"1998"}],"variable":[]}},"response":[{"id":"8041047b-0eb0-487d-a5b7-7a9b007aee98","name":"200 - Get all drivers","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:9096/api/drivers","host":["localhost"],"port":"9096","path":["api","drivers"],"query":[{"key":"driver","value":"Schumacher","description":"optional","disabled":true},{"key":"team","value":"renault","description":"optional","disabled":true},{"key":"position","value":"1","description":"optional","disabled":true},{"key":"year","value":"1998","description":"optional","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 21:16:44 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"year\": 1990,\n            \"name\": \"Ayrton Senna\",\n            \"team\": \"McLaren\",\n            \"position\": 1,\n            \"points\": 78,\n            \"wins\": 6,\n            \"podiums\": 11\n        },\n        {\n            \"id\": 2,\n            \"year\": 1990,\n            \"name\": \"Alain Prost\",\n            \"team\": \"Ferrari\",\n            \"position\": 2,\n            \"points\": 71,\n            \"wins\": 5,\n            \"podiums\": 9\n        },\n        {\n            \"id\": 3,\n            \"year\": 1990,\n            \"name\": \"Nelson Piquet\",\n            \"team\": \"Benetton\",\n            \"position\": 3,\n            \"points\": 43,\n            \"wins\": 2,\n            \"podiums\": 4\n        },\n        {\n            \"id\": 4,\n            \"year\": 1990,\n            \"name\": \"Gerhard Berger\",\n            \"team\": \"McLaren\",\n            \"position\": 4,\n            \"points\": 43,\n            \"wins\": 0,\n            \"podiums\": 7\n        },\n        {\n            \"id\": 5,\n            \"year\": 1990,\n            \"name\": \"Nigel Mansell\",\n            \"team\": \"Ferrari\",\n            \"position\": 5,\n            \"points\": 37,\n            \"wins\": 1,\n            \"podiums\": 5\n        },\n        {\n            \"id\": 6,\n            \"year\": 1990,\n            \"name\": \"Thierry Boutsen\",\n            \"team\": \"Williams\",\n            \"position\": 6,\n            \"points\": 34,\n            \"wins\": 1,\n            \"podiums\": 3\n        },\n        {\n            \"id\": 7,\n            \"year\": 1990,\n            \"name\": \"Riccardo Patrese\",\n            \"team\": \"Williams\",\n            \"position\": 7,\n            \"points\": 23,\n            \"wins\": 1,\n            \"podiums\": 1\n        },\n        {\n            \"id\": 8,\n            \"year\": 1990,\n            \"name\": \"Alessandro Nannini\",\n            \"team\": \"Benetton\",\n            \"position\": 8,\n            \"points\": 21,\n            \"wins\": 0,\n            \"podiums\": 3\n        },\n        {\n            \"id\": 9,\n            \"year\": 1990,\n            \"name\": \"Jean Alesi\",\n            \"team\": \"Tyrrell\",\n            \"position\": 9,\n            \"points\": 13,\n            \"wins\": 0,\n            \"podiums\": 2\n        },\n        {\n            \"id\": 10,\n            \"year\": 1990,\n            \"name\": \"Ivan Capelli\",\n            \"team\": \"Leyton House\",\n            \"position\": 10,\n            \"points\": 6,\n            \"wins\": 0,\n            \"podiums\": 1\n        },\n        {\n            \"id\": 11,\n            \"year\": 1990,\n            \"name\": \"Roberto Moreno\",\n            \"team\": \"Benetton\",\n            \"position\": 11,\n            \"points\": 6,\n            \"wins\": 0,\n            \"podiums\": 1\n        },\n        {\n            \"id\": 12,\n            \"year\": 1990,\n            \"name\": \"Aguri Suzuki\",\n            \"team\": \"Lola\",\n            \"position\": 12,\n            \"points\": 6,\n            \"wins\": 0,\n            \"podiums\": 1\n        },\n        {\n            \"id\": 13,\n            \"year\": 1990,\n            \"name\": \"Eric Bernard\",\n            \"team\": \"Lola\",\n            \"position\": 13,\n            \"points\": 5,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 14,\n            \"year\": 1990,\n            \"name\": \"Derek Warwick\",\n            \"team\": \"Lotus\",\n            \"position\": 14,\n            \"points\": 3,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 15,\n            \"year\": 1990,\n            \"name\": \"Satoru Nakajima\",\n            \"team\": \"Tyrrell\",\n            \"position\": 15,\n            \"points\": 3,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 16,\n            \"year\": 1990,\n            \"name\": \"Alex Caffi\",\n            \"team\": \"Arrows\",\n            \"position\": 16,\n            \"points\": 2,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 17,\n            \"year\": 1990,\n            \"name\": \"Stefano Modena\",\n            \"team\": \"Brabham\",\n            \"position\": 17,\n            \"points\": 2,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 18,\n            \"year\": 1990,\n            \"name\": \"Mauricio Gugelmin\",\n            \"team\": \"Leyton House\",\n            \"position\": 18,\n            \"points\": 1,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 19,\n            \"year\": 1990,\n            \"name\": \"Nicola Larini\",\n            \"team\": \"Ligier\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 20,\n            \"year\": 1990,\n            \"name\": \"Martin Donnelly\",\n            \"team\": \"Lotus\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 21,\n            \"year\": 1990,\n            \"name\": \"Pierluigi Martini\",\n            \"team\": \"Minardi\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 22,\n            \"year\": 1990,\n            \"name\": \"Gregor Foitek\",\n            \"team\": \"Brabham\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 23,\n            \"year\": 1990,\n            \"name\": \"Philippe Alliot\",\n            \"team\": \"Ligier\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 24,\n            \"year\": 1990,\n            \"name\": \"Michele Alboreto\",\n            \"team\": \"Arrows\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 25,\n            \"year\": 1990,\n            \"name\": \"Yannick Dalmas\",\n            \"team\": \"AGS\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 26,\n            \"year\": 1990,\n            \"name\": \"Emanuele Pirro\",\n            \"team\": \"Dallara\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 27,\n            \"year\": 1990,\n            \"name\": \"Andrea de Cesaris\",\n            \"team\": \"Dallara\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 28,\n            \"year\": 1990,\n            \"name\": \"Paolo Barilla\",\n            \"team\": \"Minardi\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 29,\n            \"year\": 1990,\n            \"name\": \"JJ Lehto\",\n            \"team\": \"Onyx\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 30,\n            \"year\": 1990,\n            \"name\": \"Bernd Schneider\",\n            \"team\": \"Arrows\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 31,\n            \"year\": 1990,\n            \"name\": \"Olivier Grouillard\",\n            \"team\": \"Osella\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 32,\n            \"year\": 1990,\n            \"name\": \"Gabriele Tarquini\",\n            \"team\": \"AGS\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 33,\n            \"year\": 1990,\n            \"name\": \"Gianni Morbidelli\",\n            \"team\": \"Dallara\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 34,\n            \"year\": 1990,\n            \"name\": \"David Brabham\",\n            \"team\": \"Brabham\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 35,\n            \"year\": 1990,\n            \"name\": \"Johnny Herbert\",\n            \"team\": \"Lotus\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 36,\n            \"year\": 1990,\n            \"name\": \"Bertrand Gachot\",\n            \"team\": \"Coloni\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 37,\n            \"year\": 1990,\n            \"name\": \"Stefan Johansson\",\n            \"team\": \"Onyx\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 38,\n            \"year\": 1990,\n            \"name\": \"Claudio Langes\",\n            \"team\": \"EuroBrun\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 39,\n            \"year\": 1990,\n            \"name\": \"Bruno Giacomelli\",\n            \"team\": \"Life\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        },\n        {\n            \"id\": 40,\n            \"year\": 1990,\n            \"name\": \"Gary Brabham\",\n            \"team\": \"Life\",\n            \"position\": 19,\n            \"points\": 0,\n            \"wins\": 0,\n            \"podiums\": 0\n        }\n    ],\n    \"message\": \"Success\",\n    \"status\": 200\n}"},{"id":"60871460-dc18-410b-9b12-ca69b9e7e3ca","name":"200 - Get drivers by name and position","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:9096/api/drivers?driver=Schumacher&position=1","host":["localhost"],"port":"9096","path":["api","drivers"],"query":[{"key":"driver","value":"Schumacher","description":"optional"},{"key":"team","value":"renault","description":"optional","disabled":true},{"key":"position","value":"1","description":"optional"},{"key":"year","value":"1998","description":"optional","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 21:15:35 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 155,\n            \"year\": 1994,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Benetton\",\n            \"position\": 1,\n            \"points\": 92,\n            \"wins\": 8,\n            \"podiums\": 10\n        },\n        {\n            \"id\": 201,\n            \"year\": 1995,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Benetton\",\n            \"position\": 1,\n            \"points\": 102,\n            \"wins\": 9,\n            \"podiums\": 11\n        },\n        {\n            \"id\": 337,\n            \"year\": 2000,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Ferrari\",\n            \"position\": 1,\n            \"points\": 108,\n            \"wins\": 9,\n            \"podiums\": 12\n        },\n        {\n            \"id\": 360,\n            \"year\": 2001,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Ferrari\",\n            \"position\": 1,\n            \"points\": 123,\n            \"wins\": 9,\n            \"podiums\": 14\n        },\n        {\n            \"id\": 386,\n            \"year\": 2002,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Ferrari\",\n            \"position\": 1,\n            \"points\": 144,\n            \"wins\": 11,\n            \"podiums\": 17\n        },\n        {\n            \"id\": 409,\n            \"year\": 2003,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Ferrari\",\n            \"position\": 1,\n            \"points\": 93,\n            \"wins\": 6,\n            \"podiums\": 8\n        },\n        {\n            \"id\": 433,\n            \"year\": 2004,\n            \"name\": \"Michael Schumacher\",\n            \"team\": \"Ferrari\",\n            \"position\": 1,\n            \"points\": 148,\n            \"wins\": 13,\n            \"podiums\": 15\n        }\n    ],\n    \"message\": \"Success\",\n    \"status\": 200\n}"},{"id":"c8aae7e5-b3ef-41d6-9366-9f8b4bd09a01","name":"404 - No results found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:9096/api/drivers?driver=Senna&team=Haas","host":["localhost"],"port":"9096","path":["api","drivers"],"query":[{"key":"driver","value":"Senna","description":"optional"},{"key":"team","value":"Haas","description":"optional"},{"key":"position","value":"1","description":"optional","disabled":true},{"key":"year","value":"1998","description":"optional","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 21:17:29 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"message\": \"No results found\",\n    \"status\": 404\n}"}],"_postman_id":"dfbf26a1-d14a-4e43-8ca1-f2a3bec79387"},{"name":"Create Drivers","id":"3bfb43f3-4d1b-4df8-8566-1997a63de487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"year\": 2025,\r\n        \"name\": \"Freddie Mercury\",\r\n        \"team\": \"Queen Racing\",\r\n        \"position\": \"2\",\r\n        \"points\": \"287\",\r\n        \"wins\": 7,\r\n        \"podiums\": 9\r\n    },\r\n    {\r\n        \"year\": 2025,\r\n        \"name\": \"Michael Jackson\",\r\n        \"team\": \"Scuderia Thriller\",\r\n        \"position\": \"3\",\r\n        \"points\": \"252\",\r\n        \"wins\": 3,\r\n        \"podiums\": 12\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers","description":"<p>Add new drivers to the database</p>\n","urlObject":{"port":"9096","path":["api","drivers"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c7bd467a-cda5-4374-835f-086e26945902","name":"201 - Drivers created successfully","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"year\": 2025,\r\n        \"name\": \"Freddie Mercury\",\r\n        \"team\": \"Queen Racing\",\r\n        \"position\": \"2\",\r\n        \"points\": \"287\",\r\n        \"wins\": 7,\r\n        \"podiums\": 9\r\n    },\r\n    {\r\n        \"year\": 2025,\r\n        \"name\": \"Michael Jackson\",\r\n        \"team\": \"Scuderia Thriller\",\r\n        \"position\": \"3\",\r\n        \"points\": \"252\",\r\n        \"wins\": 3,\r\n        \"podiums\": 12\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 21:33:31 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 890,\n            \"year\": 2025,\n            \"name\": \"Freddie Mercury\",\n            \"team\": \"Queen Racing\",\n            \"position\": 2,\n            \"points\": 287,\n            \"wins\": 7,\n            \"podiums\": 9\n        },\n        {\n            \"id\": 891,\n            \"year\": 2025,\n            \"name\": \"Michael Jackson\",\n            \"team\": \"Scuderia Thriller\",\n            \"position\": 3,\n            \"points\": 252,\n            \"wins\": 3,\n            \"podiums\": 12\n        }\n    ],\n    \"message\": \"Drivers created successfully\",\n    \"status\": 201\n}"},{"id":"c3778808-b35e-4e53-b12d-4d2378ee4136","name":"409 - Existing drivers detected","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"year\": 1997,\r\n        \"name\": \"Jacques Villeneuve\",\r\n        \"team\": \"Williams\",\r\n        \"position\": \"1\",\r\n        \"points\": \"100\",\r\n        \"wins\": 7,\r\n        \"podiums\": 9\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 21:35:59 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": null,\n            \"year\": 1997,\n            \"name\": \"Jacques Villeneuve\",\n            \"team\": \"Williams\",\n            \"position\": 1,\n            \"points\": 100,\n            \"wins\": 7,\n            \"podiums\": 9\n        }\n    ],\n    \"message\": \"Existing drivers detected\",\n    \"status\": 409\n}"}],"_postman_id":"3bfb43f3-4d1b-4df8-8566-1997a63de487"},{"name":"Update Driver","id":"a2f79290-adb0-4522-9c7a-bec02f721d78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"year\":\"1997\",\r\n    \"name\":\"David Chinhard\",\r\n    \"team\":\"McLaren\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers/263","description":"<p>Update an existing driver based on their ID</p>\n","urlObject":{"port":"9096","path":["api","drivers","263"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"23830b99-13ae-45e7-94d7-8b2b5a8c93ca","name":"200 - Driver updated successfully","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"year\":\"1997\",\r\n    \"name\":\"David Chinhard\",\r\n    \"team\":\"McLaren\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers/263"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 22:13:15 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 263,\n        \"year\": 1997,\n        \"name\": \"David Chinhard\",\n        \"team\": \"McLaren\",\n        \"position\": 3,\n        \"points\": 36,\n        \"wins\": 2,\n        \"podiums\": 4\n    },\n    \"message\": \"Driver updated successfully\",\n    \"status\": 200\n}"},{"id":"2a86ac93-a4bd-4ac1-ad35-f9dcd65ecd56","name":"409 - Driver already exists","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"year\":\"1997\",\r\n    \"name\":\"David Chinhard\",\r\n    \"team\":\"McLaren\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:9096/api/drivers/263"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 27 Mar 2022 06:41:46 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Driver already exists\",\n    \"status\": 409\n}"}],"_postman_id":"a2f79290-adb0-4522-9c7a-bec02f721d78"},{"name":"Delete Driver","id":"87ee2bbb-50ab-467f-b964-169084951a88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:9096/api/drivers/2","description":"<p>Delete a driver from the database by their ID</p>\n","urlObject":{"port":"9096","path":["api","drivers","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"52fc81a8-134f-466b-bd54-1e4da2b6b8fd","name":"200 - Driver deleted successfully","originalRequest":{"method":"DELETE","header":[],"url":"localhost:9096/api/drivers/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 22:15:08 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"year\": 1990,\n        \"name\": \"Alain Prost\",\n        \"team\": \"Ferrari\",\n        \"position\": 2,\n        \"points\": 71,\n        \"wins\": 5,\n        \"podiums\": 9\n    },\n    \"message\": \"Driver deleted successfully\",\n    \"status\": 200\n}"},{"id":"29798053-2442-453f-a06c-00e5cf5e87f6","name":"404 - Driver does not exist","originalRequest":{"method":"DELETE","header":[],"url":"localhost:9096/api/drivers/99999"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Mar 2023 22:15:51 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Driver with ID 99999 does not exist\",\n    \"status\": 404\n}"}],"_postman_id":"87ee2bbb-50ab-467f-b964-169084951a88"}]}