{"info":{"_postman_id":"cb4c8aa7-2f4c-4223-9bbf-452d1a8487e0","name":"Practice a Language With AI","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"24405131","collectionId":"cb4c8aa7-2f4c-4223-9bbf-452d1a8487e0","publishedId":"2sA3dxDrRF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-04T06:45:09.000Z"},"item":[{"name":"Conversation","item":[{"name":"Create conversation","id":"f7b99eee-d578-42f1-8374-c046214ab373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"body":{"mode":"formdata","formdata":[{"key":"language","value":"Arabic","type":"text"}]},"url":"https://language-learning-assitant.test/api/v1/conversation/create","urlObject":{"path":["api","v1","conversation","create"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"ac2bbc74-6138-437c-ab57-43d385c19efb","name":"Create conversation","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"body":{"mode":"formdata","formdata":[{"key":"language","value":"Arabic","type":"text"}]},"url":"https://language-learning-assitant.test/api/v1/conversation/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 06:35:24 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"id\": 4\n}"}],"_postman_id":"f7b99eee-d578-42f1-8374-c046214ab373"},{"name":"Delete conversation","id":"1690f54d-2ba2-4f25-a208-294d99dc1747","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/delete/3","urlObject":{"path":["api","v1","conversation","delete","3"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"3fdf2b78-ef1d-4fb0-9a93-6b81e77e340c","name":"Delete conversation","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/delete/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 06:33:03 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"1690f54d-2ba2-4f25-a208-294d99dc1747"},{"name":"Get conversation","id":"c0c48b2d-cf6d-4781-a40a-0d3630c844e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/4","urlObject":{"path":["api","v1","conversation","4"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"4930c358-202a-4335-9aa9-1b498fb17dcb","name":"Get conversation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 06:36:18 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"language\": \"Arabic\",\n    \"created_at\": \"2024-07-04 06-35-24\",\n    \"updated_at\": \"2024-07-04 06-35-24\"\n}"}],"_postman_id":"c0c48b2d-cf6d-4781-a40a-0d3630c844e5"},{"name":"List conversations","id":"30d19fd0-1a90-4e20-9fec-23dad85220ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/list","urlObject":{"path":["api","v1","conversation","list"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"be9455dd-b89a-455f-929d-ac64d5c6419d","name":"List conversations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/conversation/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 06:38:41 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"language\": \"English\",\n        \"created_at\": \"2024-07-03 09-47-04\",\n        \"updated_at\": \"2024-07-03 09-47-04\"\n    },\n    {\n        \"id\": 4,\n        \"language\": \"Arabic\",\n        \"created_at\": \"2024-07-04 06-35-24\",\n        \"updated_at\": \"2024-07-04 06-35-24\"\n    }\n]"}],"_postman_id":"30d19fd0-1a90-4e20-9fec-23dad85220ef"}],"id":"2f5f50d6-0a9a-4c88-8f00-fd1186ae5130","_postman_id":"2f5f50d6-0a9a-4c88-8f00-fd1186ae5130","description":""},{"name":"Message / Chat","item":[{"name":"Practice with AI","id":"3599892b-fe56-4ffc-8b1c-8a6c09dce601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"body":{"mode":"formdata","formdata":[{"key":"body","value":"Hello, how is it going?","type":"text"},{"key":"conversation_id","value":"2","type":"text"}]},"url":"https://language-learning-assitant.test/api/v1/message/create","urlObject":{"path":["api","v1","message","create"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"ffd77e57-b06f-4477-81b8-86e2a819f73f","name":"Practice with AI","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"body":{"mode":"formdata","formdata":[{"key":"body","value":"Hello, how is it going?","type":"text"},{"key":"conversation_id","value":"2","type":"text"}]},"url":"https://language-learning-assitant.test/api/v1/message/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 07:09:28 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7,\n    \"body\": \"Hello! I'm doing well, thank you. How can I assist you with your English learning today?\",\n    \"author\": \"assistant\",\n    \"createdAt\": \"2024-07-04T07:09:28+00:00\",\n    \"updatedAt\": \"2024-07-04T07:09:28+00:00\"\n}"}],"_postman_id":"3599892b-fe56-4ffc-8b1c-8a6c09dce601"},{"name":"Reset","id":"0502f0d3-fe04-4b59-affa-438737eab648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/message/reset/2","urlObject":{"path":["api","v1","message","reset","2"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"24fc30f1-8e59-4cdb-a986-ef039c423ebc","name":"Reset","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17"}],"url":"https://language-learning-assitant.test/api/v1/message/reset/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 04 Jul 2024 07:11:10 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"0502f0d3-fe04-4b59-affa-438737eab648"}],"id":"4ac5b0f9-0d5e-45da-8870-0408a02f69d9","_postman_id":"4ac5b0f9-0d5e-45da-8870-0408a02f69d9","description":""},{"name":"Register","id":"de26fe87-35a1-4577-a40c-0de123b101d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"abir","type":"text"},{"key":"username","value":"abir","type":"text"},{"key":"email","value":"abir@example.com","type":"text"}]},"url":"https://language-learning-assitant.test/register","urlObject":{"path":["register"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[{"id":"671e6749-7886-490c-8b20-783e93d7b6db","name":"Register","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"abir","type":"text"},{"key":"username","value":"abir","type":"text"},{"key":"email","value":"abir@example.com","type":"text"}]},"url":"https://language-learning-assitant.test/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 03 Jul 2024 09:40:54 GMT"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"api_key\": \"bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17\"\n}"}],"_postman_id":"de26fe87-35a1-4577-a40c-0de123b101d9"},{"name":"Regenerate API Key","id":"0918dcfa-9658-4011-9665-abfda870455d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"abir@example.com","type":"text"}]},"url":"https://language-learning-assitant.test/api-key/regenerate","urlObject":{"path":["api-key","regenerate"],"host":["https://language-learning-assitant.test"],"query":[],"variable":[]}},"response":[],"_postman_id":"0918dcfa-9658-4011-9665-abfda870455d"}],"event":[{"listen":"prerequest","script":{"id":"9a0c0103-9fd3-477c-b418-b3f159ffde77","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"369a02d3-5b9f-4556-9d97-5e2cbc0a4961","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"https://language-learning-assitant.test","type":"string"},{"key":"api_key","value":"bb3feb34e52627f51dc3f55bddcb399da10f5343c0d2585f5ddb149497f9287df9f86bc58b7121f899e5b064946a43e70704a3b420b39e92febfebc7fff0eb17","type":"string"}]}