{"info":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","description":"<html><head></head><body><p>Documentation for AutoGo Treblle API Hackathon</p>\n<p>link to github: <a href=\"https://github.com/stenwire/AutoGo\">click here🐙</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16596786","collectionId":"57e36e09-7552-438b-88f4-d30fe083bdd7","publishedId":"2s93zFXKTM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-06T10:49:30.000Z"},"item":[{"name":"user services","item":[{"name":"book a car","id":"d6653960-cc54-479b-a35b-44f192b90723","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/rent/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164","rent",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6653960-cc54-479b-a35b-44f192b90723"},{"name":"view available cars","id":"a34dea87-1b48-4fe7-ae47-aa82cfff4507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ba21b00b-9b25-48db-81f8-c374482bd92b","name":"no available cars","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:02:03 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"a34dea87-1b48-4fe7-ae47-aa82cfff4507"}],"id":"28390da5-8d1b-4af1-b4ed-9552e1246707","description":"<p>Main Service</p>\n","_postman_id":"28390da5-8d1b-4af1-b4ed-9552e1246707","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}}},{"name":"Others","item":[{"name":"view brands","id":"23ceec1a-d5a9-465e-b6ca-335b17031cd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/brands/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","brands",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"591a0df7-a69e-467a-be82-b3ea99875aa6","name":"view brands","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/brands/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:04:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"588"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"a9fdbd7e-0ef7-414d-8129-649deed1cb0a\",\n        \"created\": \"2023-07-06T03:33:35.670147Z\",\n        \"last_updated\": \"2023-07-06T03:33:35.670147Z\",\n        \"name\": \"Benz\"\n    },\n    {\n        \"id\": \"58f498a5-47c4-4222-99cb-98ea678abe5e\",\n        \"created\": \"2023-07-06T03:35:50.810636Z\",\n        \"last_updated\": \"2023-07-06T03:35:50.810636Z\",\n        \"name\": \"Toyota\"\n    },\n    {\n        \"id\": \"3882915b-53e7-46d6-b7c8-05447221f11d\",\n        \"created\": \"2023-07-06T03:50:47.347289Z\",\n        \"last_updated\": \"2023-07-06T03:50:47.347289Z\",\n        \"name\": \"Porche\"\n    },\n    {\n        \"id\": \"82d7b81f-3222-47a4-89a6-bbca4ebba11e\",\n        \"created\": \"2023-07-06T04:56:56.662275Z\",\n        \"last_updated\": \"2023-07-06T04:56:56.662275Z\",\n        \"name\": \"Innoson\"\n    }\n]"}],"_postman_id":"23ceec1a-d5a9-465e-b6ca-335b17031cd3"},{"name":"view features","id":"e2415242-61ac-4fa3-9ff0-c63387defe11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/features/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","features",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"51153aa6-58d7-446b-8ec3-c331e73ac0da","name":"view features","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/features/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:03:30 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"452"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"17432958-a206-4cf4-b786-b730316f2e10\",\n        \"created\": \"2023-07-06T04:54:46.046172Z\",\n        \"last_updated\": \"2023-07-06T04:54:46.046172Z\",\n        \"name\": \"Automatic\"\n    },\n    {\n        \"id\": \"555f0821-81c6-4801-bb2f-85b086f54113\",\n        \"created\": \"2023-07-06T04:55:02.313253Z\",\n        \"last_updated\": \"2023-07-06T04:55:02.313253Z\",\n        \"name\": \"4-seats\"\n    },\n    {\n        \"id\": \"85824041-a20d-4de2-8f79-851e794b44b4\",\n        \"created\": \"2023-07-06T04:55:21.390423Z\",\n        \"last_updated\": \"2023-07-06T04:55:21.390423Z\",\n        \"name\": \"Andriod Auto\"\n    }\n]"}],"_postman_id":"e2415242-61ac-4fa3-9ff0-c63387defe11"},{"name":"view categories","id":"300c53ef-5f18-48e1-ae92-c98d6f738234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/categories/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","categories",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5bebabbb-0602-4fa6-a770-449e2f7b6311","name":"no categories","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/categories/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:23:07 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"e5ce6f2b-56c5-490e-a506-64895bcecb95","name":"view categories","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/categories/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:04:43 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"589"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"ea45eacf-2ea6-45ff-82bc-c797d9422cac\",\n        \"created\": \"2023-07-06T04:53:18.297848Z\",\n        \"last_updated\": \"2023-07-06T04:53:18.297848Z\",\n        \"name\": \"SUV\"\n    },\n    {\n        \"id\": \"43ca9dde-91ef-4d2b-965c-c85cf583112f\",\n        \"created\": \"2023-07-06T04:53:40.813285Z\",\n        \"last_updated\": \"2023-07-06T04:53:40.813285Z\",\n        \"name\": \"Off-Road\"\n    },\n    {\n        \"id\": \"2b91d841-54a8-4cfa-8c71-57537c4a6749\",\n        \"created\": \"2023-07-06T04:53:50.493239Z\",\n        \"last_updated\": \"2023-07-06T04:53:50.493239Z\",\n        \"name\": \"Van\"\n    },\n    {\n        \"id\": \"89e2eccc-9dc0-4cec-926a-a2a29205bd7e\",\n        \"created\": \"2023-07-06T04:54:04.909312Z\",\n        \"last_updated\": \"2023-07-06T04:54:04.909312Z\",\n        \"name\": \"Sports car\"\n    }\n]"}],"_postman_id":"300c53ef-5f18-48e1-ae92-c98d6f738234"},{"name":"review a car","id":"bf089d97-f5b5-44d3-85ef-7369eb00f138","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Good but Bad steering","type":"text"},{"key":"rating","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","6af49f28-453f-4b21-9d38-608ed95f2411","reviews",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"96292a29-660a-4cc0-956f-d1aecea83a30","name":"car not found","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/reviews/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:01:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"},{"id":"064d8b18-6d12-47bd-a60d-803541c46a46","name":"review a car","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Mad car really","type":"text"},{"key":"rating","value":"5","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/5e216d8e-6770-47a6-b6dd-ea37ba3df8af/reviews/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 09:22:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"133"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4eaf6310-0b82-4479-92a5-84a837b21cdb\",\n    \"user\": \"a7c03d89-8571-46d8-bb30-27db62480730\",\n    \"content\": \"Mad car really\",\n    \"rating\": \"5.0\"\n}"},{"id":"45332e60-a53c-47d5-9e1b-b9df75935aaa","name":"review a car","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Good but Bad steering","type":"text"},{"key":"rating","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jul 2023 15:55:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"140"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"485e3407-a9ab-4a29-938c-bb13a9746bc6\",\n    \"user\": \"f8cd10d6-c007-4d50-89c4-25f72536f0a8\",\n    \"content\": \"Good but Bad steering\",\n    \"rating\": \"3.0\"\n}"}],"_postman_id":"bf089d97-f5b5-44d3-85ef-7369eb00f138"},{"name":"return a car","id":"8cbafe75-9490-402f-b0e8-6e3425b87636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Good but Bad steering","type":"text"},{"key":"rating","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","6af49f28-453f-4b21-9d38-608ed95f2411","reviews",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"571deeae-d8fe-492d-9fe4-fdd21da4bf7c","name":"car not found","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/reviews/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:01:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"},{"id":"79c8fe37-7b41-4b3f-8715-72736df4b1cc","name":"review a car","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Mad car really","type":"text"},{"key":"rating","value":"5","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/5e216d8e-6770-47a6-b6dd-ea37ba3df8af/reviews/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 09:22:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"133"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4eaf6310-0b82-4479-92a5-84a837b21cdb\",\n    \"user\": \"a7c03d89-8571-46d8-bb30-27db62480730\",\n    \"content\": \"Mad car really\",\n    \"rating\": \"5.0\"\n}"},{"id":"5c4f112e-76bb-4099-b757-0a2bd3750a17","name":"review a car","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","value":"Good but Bad steering","type":"text"},{"key":"rating","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jul 2023 15:55:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"140"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"485e3407-a9ab-4a29-938c-bb13a9746bc6\",\n    \"user\": \"f8cd10d6-c007-4d50-89c4-25f72536f0a8\",\n    \"content\": \"Good but Bad steering\",\n    \"rating\": \"3.0\"\n}"}],"_postman_id":"8cbafe75-9490-402f-b0e8-6e3425b87636"},{"name":"list reviews for a car","id":"a95fc533-d619-45cd-a0b3-d7f6a5241cce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","6af49f28-453f-4b21-9d38-608ed95f2411","reviews",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d73b371e-e46f-41dd-b416-1c4218444684","name":"car not found","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/reviews/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:01:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"},{"id":"4db7c15c-427f-4503-95d7-77b485f23b68","name":"no car reviews","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/5e216d8e-6770-47a6-b6dd-ea37ba3df8af/reviews/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:35:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"d8c77941-89bd-487e-8cc5-f0d41bd01356","name":"list reviews for a car","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/6af49f28-453f-4b21-9d38-608ed95f2411/reviews/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jul 2023 16:06:23 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"276"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"8abaafee-2f90-41c4-9ea0-7ba7a10be286\",\n        \"user\": \"f8cd10d6-c007-4d50-89c4-25f72536f0a8\",\n        \"content\": \"Mad car really\",\n        \"rating\": \"5.0\"\n    },\n    {\n        \"id\": \"485e3407-a9ab-4a29-938c-bb13a9746bc6\",\n        \"user\": \"f8cd10d6-c007-4d50-89c4-25f72536f0a8\",\n        \"content\": \"Good but Bad steering\",\n        \"rating\": \"3.0\"\n    }\n]"}],"_postman_id":"a95fc533-d619-45cd-a0b3-d7f6a5241cce"}],"id":"b975aa99-f770-4c78-a839-9659be745753","description":"<p>StartFragment</p>\n<p>Other routes accessible by a normal user</p>\n<p>EndFragment</p>\n","_postman_id":"b975aa99-f770-4c78-a839-9659be745753","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}}},{"name":"admin services","item":[{"name":"delete a car","id":"9717d44d-1c4b-4759-b9fe-c5dde73325cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"aa08aef6-87ae-457e-9f8f-75a7b856493e","name":"car not found","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:58:16 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"}],"_postman_id":"9717d44d-1c4b-4759-b9fe-c5dde73325cd"},{"name":"delete a car Copy","id":"8d35f66e-725c-498a-9857-3c0d8a878fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"db880f48-c3c6-40ad-9a58-37b995cdaacc","name":"car not found","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:58:16 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"}],"_postman_id":"8d35f66e-725c-498a-9857-3c0d8a878fb4"},{"name":"list a car for booking","id":"8aa1f324-c0c4-4999-9484-1eab946efcc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ca33748b-b2d0-4c45-8072-d819afcfbd79","name":"Incorrect date format","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Brabus s389","type":"text"},{"key":"description","value":"off-road vehicle","type":"text"},{"key":"price","value":"80000","type":"text"},{"key":"brand","value":"Benz","type":"text"},{"key":"category","value":"Off-Road","type":"text"},{"key":"features","value":"4-seats","type":"text"},{"key":"pickup_time","value":"","type":"text"},{"key":"dropoff_time","value":"","type":"text"},{"key":"pickup_location","value":"Omole phase 1 gate, Lagos","type":"text"},{"key":"dropoff_location","value":"Ojodu berger, Lagos","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/cars/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:11:19 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"258"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"pickup_time\": [\n        \"Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z].\"\n    ],\n    \"dropoff_time\": [\n        \"Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z].\"\n    ]\n}"},{"id":"4e23321e-5f86-4188-adfe-dfeeac1623db","name":"car created no reviews","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Brabus s389","type":"text"},{"key":"description","value":"off-road vehicle","type":"text"},{"key":"price","value":"80000","type":"text"},{"key":"brand","value":"Benz","type":"text"},{"key":"category","value":"Off-Road","type":"text"},{"key":"features","value":"4-seats","type":"text"},{"key":"pickup_time","value":"2022-07-12 07:09:33","type":"text"},{"key":"dropoff_time","value":"2022-07-14 07:09:33","type":"text"},{"key":"pickup_location","value":"Omole phase 1 gate, Lagos","type":"text"},{"key":"dropoff_location","value":"Ojodu berger, Lagos","type":"text"},{"key":"user","value":"","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/cars/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 05:32:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"417"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5e216d8e-6770-47a6-b6dd-ea37ba3df8af\",\n    \"user\": \"a7c03d89-8571-46d8-bb30-27db62480730\",\n    \"name\": \"Brabus s389\",\n    \"description\": \"off-road vehicle\",\n    \"price\": \"80000.00\",\n    \"brand\": \"Benz\",\n    \"category\": \"Off-Road\",\n    \"features\": [\n        \"4-seats\"\n    ],\n    \"pickup_time\": \"2022-07-12T07:09:33Z\",\n    \"dropoff_time\": \"2022-07-14T07:09:33Z\",\n    \"pickup_location\": \"Omole phase 1 gate, Lagos\",\n    \"dropoff_location\": \"Ojodu berger, Lagos\",\n    \"available\": false,\n    \"reviews\": []\n}"}],"_postman_id":"8aa1f324-c0c4-4999-9484-1eab946efcc9"},{"name":"update a car","id":"0241d862-3eb9-4c32-8da9-b5773b4bed83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"30bdce0b-1d65-4b69-b013-8ddc877bf327","name":"car not found","originalRequest":{"method":"PUT","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:57:52 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"23"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Not found.\"\n}"}],"_postman_id":"0241d862-3eb9-4c32-8da9-b5773b4bed83"},{"name":"view rented cars","id":"523cb03f-f56f-427c-b8a5-bddb7f750538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/rented-cars/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","rented-cars",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bd9f3b53-fa10-4e61-9521-4e0e5cb8e446","name":"no rented cars","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/rented-cars/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:57:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"523cb03f-f56f-427c-b8a5-bddb7f750538"},{"name":"create brand","id":"b1d1e2d9-ce08-4228-b99f-b2f4bb0988c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Porche","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/brands/","urlObject":{"protocol":"http","port":"8000","path":["api","v1","brands",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9c945550-0a8e-4751-92c1-d90176e204cf","name":"create brand","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Innoson","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/brands/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:56:56 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"147"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"82d7b81f-3222-47a4-89a6-bbca4ebba11e\",\n    \"created\": \"2023-07-06T04:56:56.662275Z\",\n    \"last_updated\": \"2023-07-06T04:56:56.662275Z\",\n    \"name\": \"Innoson\"\n}"}],"_postman_id":"b1d1e2d9-ce08-4228-b99f-b2f4bb0988c6"},{"name":"create feature","id":"63dd42f9-a732-44d8-8b97-8cbafb09f401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Andriod Auto","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/features/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","features",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"342721a2-16b0-48f1-a91a-7359586ca556","name":"create feature","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Andriod Auto","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/features/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:55:21 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"152"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"85824041-a20d-4de2-8f79-851e794b44b4\",\n    \"created\": \"2023-07-06T04:55:21.390423Z\",\n    \"last_updated\": \"2023-07-06T04:55:21.390423Z\",\n    \"name\": \"Andriod Auto\"\n}"}],"_postman_id":"63dd42f9-a732-44d8-8b97-8cbafb09f401"},{"name":"create categories","id":"a54c4b17-31fb-4308-8b9b-1b7f96f37835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Sports car","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/categories/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","categories",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"402df885-8bc9-4c9a-91c3-abab155b22b2","name":"create categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Sports car","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/categories/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 04:54:04 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"150"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"89e2eccc-9dc0-4cec-926a-a2a29205bd7e\",\n    \"created\": \"2023-07-06T04:54:04.909312Z\",\n    \"last_updated\": \"2023-07-06T04:54:04.909312Z\",\n    \"name\": \"Sports car\"\n}"}],"_postman_id":"a54c4b17-31fb-4308-8b9b-1b7f96f37835"},{"name":"retrieve a car review","id":"5a613c1c-5dde-4453-8d81-f7da0dc8cc1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/reviews/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164","reviews",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a613c1c-5dde-4453-8d81-f7da0dc8cc1d"},{"name":"delete a car review","id":"d4b87f61-8648-44d5-a560-e66e421a1fa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/cars/fe133f76-adcc-437a-ac59-ed49aaa29164/reviews/fe133f76-adcc-437a-ac59-ed49aaa29164","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","cars","fe133f76-adcc-437a-ac59-ed49aaa29164","reviews","fe133f76-adcc-437a-ac59-ed49aaa29164"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4b87f61-8648-44d5-a560-e66e421a1fa2"}],"id":"f1468654-1613-4807-be20-cf0a17852d40","description":"<p>Routes available to only admin or staffs</p>\n","_postman_id":"f1468654-1613-4807-be20-cf0a17852d40","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}}},{"name":"authentication","item":[{"name":"register","id":"69944baf-3dc9-48cb-b254-7e53e60c8bc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"lord","type":"text","disabled":true},{"key":"last_name","value":"stephen","type":"text","disabled":true},{"key":"username","value":"JohnDoe707","type":"text"},{"key":"email","value":"testemail@example.com","type":"text"},{"key":"password1","value":"strongpassword","type":"text"},{"key":"password2","value":"strongpassword","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/auth/register/","urlObject":{"protocol":"http","port":"8000","path":["api","v1","auth","register",""],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"first_name","value":"stephen"},{"disabled":true,"key":"last_name","value":"steve"},{"disabled":true,"key":"phone_number","value":"09068565663"},{"disabled":true,"key":"email","value":"nwankwostephen039@yahoo.com"},{"disabled":true,"key":"password","value":"strongpassword"},{"disabled":true,"key":"re_password","value":"strongpassword"}],"variable":[]}},"response":[{"id":"29bace57-c379-4cad-9d14-fcc8d3c484b1","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"lord","type":"text","disabled":true},{"key":"last_name","value":"stephen","type":"text","disabled":true},{"key":"username","value":"JohnDoe707","type":"text"},{"key":"email","value":"testemail@example.com","type":"text"},{"key":"password1","value":"strongpassword","type":"text"},{"key":"password2","value":"strongpassword","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/auth/register/","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","auth","register",""],"query":[{"key":"first_name","value":"stephen","type":"text","disabled":true},{"key":"last_name","value":"steve","type":"text","disabled":true},{"key":"phone_number","value":"09068565663","type":"text","disabled":true},{"key":"email","value":"nwankwostephen039@yahoo.com","type":"text","disabled":true},{"key":"password","value":"strongpassword","type":"text","disabled":true},{"key":"re_password","value":"strongpassword","type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 06 Jul 2023 10:44:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"69944baf-3dc9-48cb-b254-7e53e60c8bc1"},{"name":"login","id":"379a561b-cd8e-40de-af72-d4798660e7e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"testemail@example.com","type":"text"},{"key":"password","value":"strongpassword","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/auth/login/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","auth","login",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4a4ca00e-12bf-4b5c-bce8-445ec24ffcca","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"testemail@example.com","type":"text"},{"key":"password","value":"strongpassword","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/auth/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 10:44:47 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"537"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4OTI0NTA4NywiaWF0IjoxNjg4NjQwMjg3LCJqdGkiOiJkMGUzNWZlZDczNjE0M2M3OGM2NmFlMjY1ZjRlZWU1MiIsImVtYWlsIjoidGVzdGVtYWlsQGV4YW1wbGUuY29tIn0.Vhyk-YVP2ujbqYRo1-CS13q9547rnxtA4jE5gpqJ_2o\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg4NjQzODg3LCJpYXQiOjE2ODg2NDAyODcsImp0aSI6ImVlMTRhODc3NGQ4YTRkMzZiYmFjZmY1NTBkMWYzNjFiIiwiZW1haWwiOiJ0ZXN0ZW1haWxAZXhhbXBsZS5jb20ifQ.I1w3kPt1usESAyGBCFs9xKr4Yo-j6wrXWEh9BXwzZks\"\n}"}],"_postman_id":"379a561b-cd8e-40de-af72-d4798660e7e8"},{"name":"refesh token","id":"ba799216-31fd-41b6-9a2d-9357a652a5ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4OTM0NTAyMywiaWF0IjoxNjg4NzQwMjIzLCJqdGkiOiIxYzQ2NmZjNDFiNzU0NjI3OGVlMjA2ZTEwODgwNGJiMCIsImVtYWlsIjoieW91cmVtYWlsQGV4YW1wbGUuY29tIn0.FC74hDv70cjiLmrs-tGbGARLQM7LrofgsNpHAotZbMg","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/auth/token/refresh/","urlObject":{"path":["token","refresh",""],"host":["http://127.0.0.1:8000/api/v1/auth"],"query":[],"variable":[]}},"response":[{"id":"54acbded-ad11-43a6-8a2d-d0d9ba477c6e","name":"refesh token","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4OTM0NTAyMywiaWF0IjoxNjg4NzQwMjIzLCJqdGkiOiIxYzQ2NmZjNDFiNzU0NjI3OGVlMjA2ZTEwODgwNGJiMCIsImVtYWlsIjoieW91cmVtYWlsQGV4YW1wbGUuY29tIn0.FC74hDv70cjiLmrs-tGbGARLQM7LrofgsNpHAotZbMg","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/auth/token/refresh/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 09:18:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"276"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg4NjM4NzA3LCJpYXQiOjE2ODg2MTg4NzUsImp0aSI6IjNiMDQ2NTY2N2MyMzRmMmQ5YWMxNTE4NjU0ZjhlMmQ4IiwiZW1haWwiOiJud2Fua3dvc3RlcGhlbjAzOUB5YWhvby5jb20ifQ.F7DMFpkgTdjRuKfBSaFxo4moCIxjkjhmr4T9GR0Rmtw\"\n}"}],"_postman_id":"ba799216-31fd-41b6-9a2d-9357a652a5ca"},{"name":"user details","id":"c43823eb-3b0a-4cba-8d1a-a279fdc0955f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Token","value":"e1cd16f41460e75f38dd143a870f5ddd8cd95e3a","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"auth_token","value":"e1cd16f41460e75f38dd143a870f5ddd8cd95e3a","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/auth/users/me/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","auth","users","me",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e636239e-5a75-42f1-ac65-62d4ec9042ab","name":"user details","originalRequest":{"method":"GET","header":[{"key":"Token","value":"e1cd16f41460e75f38dd143a870f5ddd8cd95e3a","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"auth_token","value":"e1cd16f41460e75f38dd143a870f5ddd8cd95e3a","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/auth/users/me/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jul 2023 10:46:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"334"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c56d4577-9a8e-4348-90e9-c720fb07693b\",\n    \"last_login\": null,\n    \"is_superuser\": false,\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"is_staff\": false,\n    \"is_active\": true,\n    \"date_joined\": \"2023-07-06T10:44:05.510094Z\",\n    \"created\": \"2023-07-06T10:44:06.174128Z\",\n    \"last_updated\": \"2023-07-06T10:44:06.174128Z\",\n    \"email\": \"testemail@example.com\",\n    \"username\": \"JohnDoe707\"\n}"}],"_postman_id":"c43823eb-3b0a-4cba-8d1a-a279fdc0955f"}],"id":"cf1c9b35-d22d-42d3-86ac-b8d5922b5306","description":"<p>Routes hadling Authentication</p>\n","_postman_id":"cf1c9b35-d22d-42d3-86ac-b8d5922b5306","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}}},{"name":"New Request","id":"9cb0ac20-5cf4-41d2-8c6a-3ed34ab984b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"57e36e09-7552-438b-88f4-d30fe083bdd7","id":"57e36e09-7552-438b-88f4-d30fe083bdd7","name":"AutoGO","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9cb0ac20-5cf4-41d2-8c6a-3ed34ab984b0"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"6d3c13e0-4e17-4cf7-a37a-4ee71493cbd9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3a4bc6f4-a651-4158-9e61-ddcc8251d85a","type":"text/javascript","exec":[""]}}],"variable":[{"key":"admin_email","value":"youremail@example.com","type":"string"},{"key":"email","value":"testemail@example.com","type":"string"},{"key":"password","value":"strongpassword","type":"string"},{"key":"username","value":"JohnDoe707","type":"string"},{"key":"is_staff","value":"True","type":"string"},{"key":"is_superuser","value":"True","type":"string"},{"key":"refresh_token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4OTM0NTAyMywiaWF0IjoxNjg4NzQwMjIzLCJqdGkiOiIxYzQ2NmZjNDFiNzU0NjI3OGVlMjA2ZTEwODgwNGJiMCIsImVtYWlsIjoieW91cmVtYWlsQGV4YW1wbGUuY29tIn0.FC74hDv70cjiLmrs-tGbGARLQM7LrofgsNpHAotZbMg"},{"key":"base_url","value":"http://127.0.0.1:8000/api/v1/"}]}