{"info":{"_postman_id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","name":"API TTTN - USER","description":"<html><head></head><body><p>This API exposes all endpoints</p>\n<p>Contact Support:<br>Name: Dang Xuan Thai<br>Email: <a href=\"https://mailto:thaidangfa@gmail.com\">thaidangfa@gmail.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26801278","collectionId":"f8e943ee-c425-4790-99c0-c77aa355b4dc","publishedId":"2sB3BKETWL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-08-19T15:16:54.000Z"},"item":[{"name":"file","item":[{"name":"search Files","id":"d9388720-7316-4dc8-92b8-281ae58a8967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"keyword\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lawbot.iamtdf.id.vn/file/search","urlObject":{"path":["file","search"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[{"id":"9154fb48-bff5-469e-ba4d-6f35d5e65fc0","name":"OK","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"keyword\": \"string\",\n  \"categories\": [\n    \"string\",\n    \"string\"\n  ],\n  \"page\": 1363,\n  \"size\": 7300\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lawbot.iamtdf.id.vn/file/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 8165,\n  \"message\": \"string\",\n  \"data\": {\n    \"totalElements\": 1259,\n    \"totalPages\": 2387,\n    \"size\": 5269,\n    \"content\": [\n      {\n        \"id\": \"string\",\n        \"name\": \"string\",\n        \"category\": \"string\",\n        \"description\": \"stri\",\n        \"createdAt\": \"2005-10-02T01:36:47.766Z\",\n        \"size\": 424,\n        \"url\": \"string\"\n      },\n      {\n        \"id\": \"string\",\n        \"name\": \"string\",\n        \"category\": \"string\",\n        \"description\": \"s\",\n        \"createdAt\": \"1958-09-26T02:11:05.674Z\",\n        \"size\": 8390,\n        \"url\": \"string\"\n      }\n    ],\n    \"number\": 6090,\n    \"sort\": {\n      \"empty\": false,\n      \"sorted\": true,\n      \"unsorted\": false\n    },\n    \"numberOfElements\": 7925,\n    \"pageable\": {\n      \"offset\": 4216,\n      \"sort\": {\n        \"empty\": true,\n        \"sorted\": true,\n        \"unsorted\": true\n      },\n      \"paged\": false,\n      \"pageNumber\": 5304,\n      \"pageSize\": 9073,\n      \"unpaged\": false\n    },\n    \"first\": false,\n    \"last\": true,\n    \"empty\": false\n  }\n}"}],"_postman_id":"d9388720-7316-4dc8-92b8-281ae58a8967"},{"name":"get File","id":"55bc47f0-19ae-44d0-bd66-8ba477ecf11b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"*/*"}],"url":"https://api.lawbot.iamtdf.id.vn/file/view/39bf632e399d64dac6d7138201057b78.pdf","urlObject":{"path":["file","view","39bf632e399d64dac6d7138201057b78.pdf"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[{"id":"eaab129e-754d-41a2-afc6-c94a200b161a","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.lawbot.iamtdf.id.vn/file/view/:url","host":["https://api.lawbot.iamtdf.id.vn"],"path":["file","view",":url"],"variable":[{"key":"url","value":"string","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":"string"}],"_postman_id":"55bc47f0-19ae-44d0-bd66-8ba477ecf11b"}],"id":"b952e2fb-be7b-4a85-a984-ad87bd721e23","_postman_id":"b952e2fb-be7b-4a85-a984-ad87bd721e23","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","name":"API TTTN - USER","type":"collection"}}},{"name":"chat","item":[{"name":"get All Messages","id":"89b33801-ea32-4988-95af-af220cd7305d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"*/*"}],"url":"https://api.lawbot.iamtdf.id.vn/chat","urlObject":{"path":["chat"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"89b33801-ea32-4988-95af-af220cd7305d"},{"name":"chat","id":"e8e66d11-2a41-459e-801d-b0dbeeade914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"query\": \"Nhiệm vụ khoa học, công nghệ và đổi mới sáng tạo là gì?\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lawbot.iamtdf.id.vn/chat","urlObject":{"path":["chat"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8e66d11-2a41-459e-801d-b0dbeeade914"}],"id":"cf63d6bb-e0f8-48fe-a573-7165e6768e52","_postman_id":"cf63d6bb-e0f8-48fe-a573-7165e6768e52","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","name":"API TTTN - USER","type":"collection"}}},{"name":"auth","item":[{"name":"register","id":"622cac09-9943-4b21-a63f-3464fb341927","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"thaidang999\",\n  \"email\": \"thaidangfa@gmail.com\",\n  \"password\": \"12345678\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.lawbot.iamtdf.id.vn/auth/register","urlObject":{"path":["auth","register"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"622cac09-9943-4b21-a63f-3464fb341927"},{"name":"login","event":[{"listen":"test","script":{"id":"254774e9-6638-4d87-9069-0a4ada37f99b","exec":["let jsonData = pm.response.json();\r","pm.collectionVariables.set(\"bearerToken\", jsonData.data.access_token);"],"type":"text/javascript","packages":{}}}],"id":"1d8b77d1-6c16-4da9-9e23-cb5af7f47774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\"email\": \"user@gmail.com\", \"password\": \"12345678\"}","options":{"raw":{"language":"json"}}},"url":"https://api.lawbot.iamtdf.id.vn/auth/login","urlObject":{"path":["auth","login"],"host":["https://api.lawbot.iamtdf.id.vn"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d8b77d1-6c16-4da9-9e23-cb5af7f47774"}],"id":"5f7d0664-d88e-4c88-b3c9-a151306f3042","_postman_id":"5f7d0664-d88e-4c88-b3c9-a151306f3042","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","id":"f8e943ee-c425-4790-99c0-c77aa355b4dc","name":"API TTTN - USER","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"bd83c7b8-3a2e-450a-bbbf-b0b2d66543ba","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"420ae282-5a97-4877-b34c-bb8973380325","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.lawbot.iamtdf.id.vn"},{"key":"bearerToken","value":""}]}