{"info":{"_postman_id":"1a4c9270-ac77-40ed-959a-7aa56dc4a415","name":"MHSanaei","description":"<html><head></head><body><p>The Postman collection for the MHSanaei panel (3xui) comprises a diverse array of API endpoints covering authentication, inbounds management (including listing, details retrieval, updates, deletions), client operations (retrieval, updates, deletions, traffic resets), and specialized actions like resetting traffic statistics, deleting depleted clients, exporting the database, and generating backups. This comprehensive collection aims to streamline interaction with the MHSanaei panel API, empowering users to efficiently manage inbounds, clients, and execute diverse operations within the panel.</p>\n<h2 id=\"customization\">Customization</h2>\n<p>please note that the examples showcased in this documentation primarily focus on the <code>vmess</code> protocol. However, it's important to highlight that you have the flexibility to customize configurations and parameters according to your requirements.</p>\n<p>To understand precisely what data needs to be sent to the server, navigate to your panel using Google Chrome browser, access the \"Inspect\" &gt; \"Network\" tab, create your inbound or client, and inspect the created request for your desired action. Review the payload within to identify the necessary parameters for your specific configuration. Feel free to replace the body data in the Postman collection with your custom configuration data accordingly.</p>\n<img src=\"https://content.pstmn.io/178f072a-fe63-46d2-b016-fa14200d2359/Mjc3NjAxMTE1LTU3YWIxNTE0LTU1NTAtNDA2Yy1hYWNmLTU4OTQ2YTIxOGQ2MS5wbmc=\">\n\n<p><a href=\"https://god.gw.postman.com/run-collection/16802678-1a4c9270-ac77-40ed-959a-7aa56dc4a415?action=collection%2Ffork&amp;source=rip_markdown&amp;collection-url=entityId%3D16802678-1a4c9270-ac77-40ed-959a-7aa56dc4a415%26entityType%3Dcollection%26workspaceId%3D2cd38c01-c851-4a15-a972-f181c23359d9\"><img src=\"https://run.pstmn.io/button.svg\" alt=\"Run In Postman\"></a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16802678","collectionId":"1a4c9270-ac77-40ed-959a-7aa56dc4a415","publishedId":"2s9YkgD5jm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-08T09:52:42.000Z"},"item":[{"name":"Login","event":[{"listen":"test","script":{"id":"2552e665-4329-4ecd-b56b-4e15682d6931","exec":[""],"type":"text/javascript"}}],"id":"140d953d-a4ec-43c1-891f-b02471a5bf67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"admin","type":"text"}]},"url":"http://localhost:2053/login","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to authenticate users and generate a session ID stored in a cookie named \"session,\" allowing authorized access to perform various operations within the panel.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li>Retrieve the generated session ID from the cookie named \"session\".</li>\n<li>Ensure the provided credentials (<code>username</code> and <code>password</code>) are correct for successful authentication.</li>\n<li>Handle any potential errors or failure messages returned in the response.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6327f06d-55a6-4f30-bce3-659f37f4a8d8","name":"Successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"admin","type":"text"}]},"url":"http://localhost:2053/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Set-Cookie","value":"session=MTY4Mjc4MTg0NXxEdi1CQkFFQ180SUFBUkFCRUFBQWRmLUNBQUVHYzNSeWFXNW5EQXdBQ2t4UFIwbE9YMVZUUlZJWWVDMTFhUzlrWVhSaFltRnpaUzl0YjJSbGJDNVZjMlZ5XzRNREFRRUVWWE5sY2dIX2hBQUJCQUVDU1dRQkJBQUJDRlZ6WlhKdVlXMWxBUXdBQVFoUVlYTnpkMjl5WkFFTUFBRUxURzluYVc1VFpXTnlaWFFCREFBQUFCVF9oQkVCQWdFRllXUnRhVzRCQldGa2JXbHVBQT09fIq4nkzSKyZVS-vtmKFcvVKKkbQ-rkERxWnE1vpkixP5; Path=/"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:05 GMT"},{"key":"Content-Length","value":"48"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"登录成功\",\n    \"obj\": null\n}"},{"id":"61a67501-429a-48e3-89c0-5f2d93e90748","name":"Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"wrongPassword","type":"text"}]},"url":"http://localhost:2053/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:29:06 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"用户名或密码错误\",\n    \"obj\": null\n}"}],"_postman_id":"140d953d-a4ec-43c1-891f-b02471a5bf67"},{"name":"Get Inbounds","id":"b7c42b67-4362-44d3-bd61-ba7df0721802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/list","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to retrieve a comprehensive list of all inbounds along with their associated client options and statistics.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>If no inbounds are available, the response will contain an empty array <code>[]</code>.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","list"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d6db1b65-6cd8-4a3c-a11d-4ad25d5a8f4a","name":"No Inbounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:30:29 GMT"},{"key":"Content-Length","value":"34"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": []\n}"},{"id":"16d30890-c0b5-497c-b980-788e2fc2ac47","name":"Inbounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:23:30 GMT"},{"key":"Content-Length","value":"1282"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        {\n            \"id\": 1,\n            \"up\": 0,\n            \"down\": 0,\n            \"total\": 0,\n            \"remark\": \"New inbound\",\n            \"enable\": true,\n            \"expiryTime\": 0,\n            \"clientStats\": [\n                {\n                    \"id\": 2,\n                    \"inboundId\": 1,\n                    \"enable\": true,\n                    \"email\": \"xn1aaiwm\",\n                    \"up\": 0,\n                    \"down\": 0,\n                    \"expiryTime\": 0,\n                    \"total\": 0\n                },\n                {\n                    \"id\": 3,\n                    \"inboundId\": 1,\n                    \"enable\": true,\n                    \"email\": \"mehdikhody\",\n                    \"up\": 0,\n                    \"down\": 0,\n                    \"expiryTime\": 1682864675944,\n                    \"total\": 42949672960\n                }\n            ],\n            \"listen\": \"\",\n            \"port\": 48965,\n            \"protocol\": \"vmess\",\n            \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"alterId\\\": 0,\\n      \\\"email\\\": \\\"xn1aaiwm\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 0,\\n      \\\"id\\\": \\\"1db9f8ba-d1ad-4b0e-cea2-6edf9947dae5\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"subId\\\": \\\"\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 0\\n    },\\n    {\\n      \\\"alterId\\\": 0,\\n      \\\"email\\\": \\\"mehdikhody\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 1682864675944,\\n      \\\"id\\\": \\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\n      \\\"limitIp\\\": 2,\\n      \\\"subId\\\": \\\"\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 42949672960\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"fallbacks\\\": []\\n}\",\n            \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n            \"tag\": \"inbound-48965\",\n            \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n        }\n    ]\n}"}],"_postman_id":"b7c42b67-4362-44d3-bd61-ba7df0721802"},{"name":"Get Inbound","id":"677cfbef-6024-4c59-a02e-03f87a7e2358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/get/{inboundId}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to retrieve statistics and details for a specific inbound connection identified by <code>{inboundId}</code>. This includes information about the inbound itself, its statistics, and the clients connected to it.</p>\n<h2 id=\"path-parameter\"><strong>Path Parameter</strong></h2>\n<ul>\n<li><code>{inboundId}</code>: Identifier of the specific inbound for which information is requested.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure that the provided <code>{inboundId}</code> corresponds to an existing inbound within the system.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","get","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4538635a-e5cf-4375-95e8-4297d02c110b","name":"Successful","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/get/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:23:55 GMT"},{"key":"Content-Length","value":"1065"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"id\": 1,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"New inbound\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 48965,\n        \"protocol\": \"vmess\",\n        \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"alterId\\\": 0,\\n      \\\"email\\\": \\\"xn1aaiwm\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 0,\\n      \\\"id\\\": \\\"1db9f8ba-d1ad-4b0e-cea2-6edf9947dae5\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"subId\\\": \\\"\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 0\\n    },\\n    {\\n      \\\"alterId\\\": 0,\\n      \\\"email\\\": \\\"mehdikhody\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 1682864675944,\\n      \\\"id\\\": \\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\n      \\\"limitIp\\\": 2,\\n      \\\"subId\\\": \\\"\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 42949672960\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"fallbacks\\\": []\\n}\",\n        \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n        \"tag\": \"inbound-48965\",\n        \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n    }\n}"},{"id":"68698950-8887-4433-8a62-1969dae6a8a5","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/get/22"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:31:17 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"获取失败: record not found\",\n    \"obj\": null\n}"}],"_postman_id":"677cfbef-6024-4c59-a02e-03f87a7e2358"},{"name":"Get Client","id":"9d0e5cd5-e6ac-4d72-abca-76cf75af5f00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/getClientTraffics/{email}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to retrieve information about a specific client based on their email. This endpoint provides details such as traffic statistics and other relevant information related to the client.</p>\n<h2 id=\"path-parameter\"><strong>Path Parameter</strong></h2>\n<ul>\n<li><code>{email}</code>: Email address of the client for whom information is requested.</li>\n</ul>\n<h2 id=\"note\"><strong>Note</strong></h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure that the provided <code>{email}</code> corresponds to a valid client in the system to retrieve accurate information.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","getClientTraffics","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"abbf9aff-1f68-437d-8860-17ec127ab35e","name":"Successful","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/getClientTraffics/mehdikhody"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:12 GMT"},{"key":"Content-Length","value":"152"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"id\": 3,\n        \"inboundId\": 1,\n        \"enable\": true,\n        \"email\": \"mehdikhody\",\n        \"up\": 0,\n        \"down\": 0,\n        \"expiryTime\": 1682864675944,\n        \"total\": 42949672960\n    }\n}"},{"id":"3a78a223-98ac-45b0-8d69-a4487be00abc","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/getClientTraffics/fakeEmail"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 29 Apr 2023 15:32:41 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9d0e5cd5-e6ac-4d72-abca-76cf75af5f00"},{"name":"Get Client IPs","id":"06f1214c-dbb0-49f2-81b5-8e924abd19a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/clientIps/{email}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to retrieve the IP records associated with a specific client identified by their email.</p>\n<h2 id=\"path-parameter\">Path Parameter</h2>\n<ul>\n<li><strong><code>{email}</code></strong> : Email address of the client for whom IP records are requested.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure that the provided <code>{email}</code> corresponds to a valid client in the system to retrieve accurate IP records.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","clientIps","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"153d3f52-2aaf-41a5-92c7-63d19444ad1c","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/clientIps/mehdikhody"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:19 GMT"},{"key":"Content-Length","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": \"No IP Record\"\n}"}],"_postman_id":"06f1214c-dbb0-49f2-81b5-8e924abd19a9"},{"name":"Add Inbound","id":"813ac729-5ba6-4314-bc2a-d0d3acc70388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"New inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48965,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/add","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to add a new inbound configuration.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure the provided inbound configuration parameters are correct to add the inbound successfully.</p>\n</li>\n<li><p>Ensure that sub-arrays or objects within the JSON body are stringified in JSON format for correct parsing by the panel.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d419df4d-c34b-47d8-9477-70216c31c815","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"New inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48965,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:36:36 GMT"},{"key":"Content-Length","value":"493"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"添加成功\",\n    \"obj\": {\n        \"id\": 1,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"New inbound\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 48965,\n        \"protocol\": \"vmess\",\n        \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\n        \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n        \"tag\": \"inbound-48965\",\n        \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n    }\n}"},{"id":"e6dec1a4-75c5-4980-8120-662b7e987127","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"New inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48965,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:30 GMT"},{"key":"Content-Length","value":"524"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"添加失败: Port already exists: 48965\\n\",\n    \"obj\": {\n        \"id\": 0,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"New inbound\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 48965,\n        \"protocol\": \"vmess\",\n        \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\n        \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n        \"tag\": \"inbound-48965\",\n        \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n    }\n}"}],"_postman_id":"813ac729-5ba6-4314-bc2a-d0d3acc70388"},{"name":"Add Client","id":"c4d325ae-fbb4-44e9-bd2e-29eebb7fbc52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"New Client\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/addClient","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to add a new client to a specific inbound identified by its ID.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Verify that the provided inbound ID (<code>id</code>) corresponds to an existing inbound within the system.</p>\n</li>\n<li><p>Format the client information in the <code>settings</code> parameter as a stringified JSON format within the request body.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","addClient"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a972aa35-aea3-496e-bbe7-2c18f2bdfdb9","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"New Client\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/addClient"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:46 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Client(s) added成功\",\n    \"obj\": null\n}"},{"id":"115a9e17-167f-4290-b9dc-6cdfac95a8d3","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"New Client\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/addClient"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:38:29 GMT"},{"key":"Content-Length","value":"95"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong!失败: Duplicate email: New Client\\n\",\n    \"obj\": null\n}"}],"_postman_id":"c4d325ae-fbb4-44e9-bd2e-29eebb7fbc52"},{"name":"Update Inbound","id":"19249b9f-a940-41e2-8bf4-86ff8dde857e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"Updated inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48964,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/update/{inboundId}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to update an existing inbound identified by its ID (<code>{inboundId}</code>).</p>\n<h2 id=\"path-parameter\"><strong>Path Parameter</strong></h2>\n<ul>\n<li><code>{inboundId}</code>: Identifier of the specific inbound to be updated.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint), Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Verify that the provided <code>{inboundId}</code> corresponds to an existing inbound within the system.</p>\n</li>\n<li><p>Ensure that sub-arrays or objects within the JSON body are stringified in JSON format for correct parsing by the panel.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","update","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6d915b04-ea19-48eb-89b4-9d0a3e0a226a","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"Updated inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48965,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/update/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:24:53 GMT"},{"key":"Content-Length","value":"484"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"修改成功\",\n    \"obj\": {\n        \"id\": 1,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"Updated inbound\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 48965,\n        \"protocol\": \"vmess\",\n        \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\n        \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n        \"tag\": \"\",\n        \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n    }\n}"},{"id":"9e93ce97-4678-4094-ba03-8e305d2863a4","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"enable\": true,\r\n  \"remark\": \"Updated inbound\",\r\n  \"listen\": \"\",\r\n  \"port\": 48964,\r\n  \"protocol\": \"vmess\",\r\n  \"expiryTime\": 0,\r\n  \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\r\n  \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\r\n  \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/update/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:40:12 GMT"},{"key":"Content-Length","value":"503"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"修改失败: record not found\",\n    \"obj\": {\n        \"id\": 2,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"Updated inbound\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 48964,\n        \"protocol\": \"vmess\",\n        \"settings\": \"{\\\"clients\\\":[],\\\"decryption\\\":\\\"none\\\",\\\"fallbacks\\\":[]}\",\n        \"streamSettings\": \"{\\\"network\\\":\\\"ws\\\",\\\"security\\\":\\\"none\\\",\\\"wsSettings\\\":{\\\"acceptProxyProtocol\\\":false,\\\"path\\\":\\\"/\\\",\\\"headers\\\":{}}}\",\n        \"tag\": \"\",\n        \"sniffing\": \"{\\\"enabled\\\":true,\\\"destOverride\\\":[\\\"http\\\",\\\"tls\\\"]}\"\n    }\n}"}],"_postman_id":"19249b9f-a940-41e2-8bf4-86ff8dde857e"},{"name":"Update Client","id":"af1bee51-199c-4176-b3ab-d325ba2fae19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"mehdikhody\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/updateClient/{uuid}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to update an existing client identified by its UUID (<code>{uuid}</code>) within a specific inbound.</p>\n<h2 id=\"path-parameter\"><strong>Path Parameter</strong></h2>\n<ul>\n<li><code>{uuid}</code> : Unique identifier (UUID) of the specific client for whom information is being updated.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Verify that the provided <code>{uuid}</code> corresponds to an existing client within the system associated with the specified inbound.</p>\n</li>\n<li><p>Format the client information in the <code>settings</code> parameter as a stringified JSON format within the request body.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","updateClient","{uuid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9a42337f-25e5-4506-b027-598c2a4b627b","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"mehdikhody\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/updateClient/95e4e7bb-7796-47e7-e8a7-f4055194f776"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:18 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Client updated成功\",\n    \"obj\": null\n}"},{"id":"b60496e5-f7fc-440c-bd06-c090f1fad042","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"mehdikhody\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/panel/api/inbounds/updateClient/fakeUUID"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:41:05 GMT"},{"key":"Content-Length","value":"94"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong!失败: unexpected end of JSON input\",\n    \"obj\": null\n}"}],"_postman_id":"af1bee51-199c-4176-b3ab-d325ba2fae19"},{"name":"Reset Client IPs","id":"7af93bc4-693a-4fa4-8560-0642783af6f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/clearClientIps/{email}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to reset or clear the IP records associated with a specific client identified by their email address (<code>{email}</code>).</p>\n<h2 id=\"path-parameter\">Path Parameter</h2>\n<ul>\n<li><code>{email}</code> : Email address of the client for whom IP records need to be reset.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Verify that the provided <code>{email}</code> corresponds to an existing client within the system for whom IP records need to be cleared.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","clearClientIps","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"12dba3d0-eefa-42d0-94a0-7ca1459c5ab6","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/clearClientIps/mehdikhody"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:25 GMT"},{"key":"Content-Length","value":"53"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Log Cleared成功\",\n    \"obj\": null\n}"}],"_postman_id":"7af93bc4-693a-4fa4-8560-0642783af6f3"},{"name":"Reset Inbounds Stat","id":"6749f362-dc81-4769-8f45-37dc9e99f5e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/resetAllTraffics","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to reset the traffic statistics for all inbounds within the system.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Resetting the traffics through this endpoint affects the statistics for all inbounds within the system.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","resetAllTraffics"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cc197786-a3ed-4928-8d11-29fc5f17c9c6","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/resetAllTraffics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:30 GMT"},{"key":"Content-Length","value":"62"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"All traffics reseted成功\",\n    \"obj\": null\n}"}],"_postman_id":"6749f362-dc81-4769-8f45-37dc9e99f5e9"},{"name":"Reset Inbound Clients Stat","id":"9bd93925-12a0-40d8-a390-d4874dea3683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/resetAllClientTraffics/{inboundId}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to reset the traffic statistics for all clients associated with a specific inbound identified by its ID (<code>{inboundId}</code>).</p>\n<h2 id=\"path-parameter\">Path Parameter</h2>\n<ul>\n<li><code>{inboundId}</code> : Identifier of the specific inbound for which client traffics are being reset.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Resetting the client traffics through this endpoint affects all clients associated with the specified inbound.</p>\n</li>\n<li><p>Verify that the provided <code>{inboundId}</code> corresponds to an existing inbound within the system.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","resetAllClientTraffics","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"819e79ea-3022-4ddd-bacd-e140bf7cd831","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/resetAllClientTraffics/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:35 GMT"},{"key":"Content-Length","value":"72"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"All traffics of client reseted成功\",\n    \"obj\": null\n}"}],"_postman_id":"9bd93925-12a0-40d8-a390-d4874dea3683"},{"name":"Reset Client Stat","id":"52081826-8e06-4dc1-9bad-8a95f1cd8a96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/panel/api/inbounds/{inboundId}/resetClientTraffic/{email}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to reset the traffic statistics for a specific client identified by their email address (<code>{email}</code>) within a particular inbound identified by its ID (<code>{inboundId}</code>).</p>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li><code>{inboundId}</code> : Identifier of the specific inbound where the client belongs.</li>\n<li><code>{email}</code> : Email address of the client for whom traffic statistics are being reset.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Resetting the client traffic through this endpoint affects the statistics for the specified client within the specified inbound.</p>\n</li>\n<li><p>Verify that the provided {inboundId} corresponds to an existing inbound and <code>{email}</code> corresponds to an existing client within the system.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","{inboundId}","resetClientTraffic","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"61e6f8ef-d5f5-4254-9e78-62c57b3cec3d","name":"Response","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/panel/api/inbounds/1/resetClientTraffic/mehdikhody"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:40 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"traffic reseted成功\",\n    \"obj\": null\n}"}],"_postman_id":"52081826-8e06-4dc1-9bad-8a95f1cd8a96"},{"name":"Delete Inbound","id":"a655d0e3-7d8c-4331-9061-422fcb515da9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/del/{inboundId}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to delete an inbound identified by its ID (<code>{inboundId}</code>).</p>\n<h2 id=\"path-parameter\">Path Parameter</h2>\n<ul>\n<li><code>{inboundId}</code> : Identifier of the specific inbound to be deleted.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure that the provided <code>{inboundId}</code> corresponds to an existing inbound within the system.</p>\n</li>\n<li><p>Deleting the inbound through this endpoint permanently removes the specified inbound.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","del","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"abe925d6-7241-446e-8264-438156a7b32f","name":"Delete Inbound","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/del/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:54 GMT"},{"key":"Content-Length","value":"45"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"删除成功\",\n    \"obj\": 1\n}"},{"id":"092ef240-2974-4c23-8fa9-aa35fd4a55bd","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/del/22"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:36:06 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"删除失败: record not found\",\n    \"obj\": 1\n}"}],"_postman_id":"a655d0e3-7d8c-4331-9061-422fcb515da9"},{"name":"Delete Client","id":"97aa9d0e-9cc3-46db-a364-c2fda39586bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/{inboundId}/delClient/{uuid}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to delete a client identified by its UUID (<code>{uuid}</code>) within a specific inbound identified by its ID (<code>{inboundId}</code>).</p>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li><code>{inboundId}</code> : Identifier of the specific inbound from which the client will be deleted.</li>\n<li><code>{uuid}</code> : Unique identifier (UUID) of the specific client to be deleted.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Ensure that the provided <code>{inboundId}</code> corresponds to an existing inbound and <code>{uuid}</code> corresponds to an existing client within the system.</p>\n</li>\n<li><p>Deleting the client through this endpoint permanently removes the specified client from the specified inbound.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","{inboundId}","delClient","{uuid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"081ad9db-fe5b-4639-9d01-c032cd3f6c93","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/1/delClient/95e4e7bb-7796-47e7-e8a7-f4055194f776"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:51 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Client deleted成功\",\n    \"obj\": null\n}"},{"id":"eac2fc6f-c3f9-461a-af58-886a6258e484","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/1/delClient/95e2b7bb-7796-47e7-e8a7-f4055194f432"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:46:44 GMT"},{"key":"Content-Length","value":"82"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong!失败: record not found\",\n    \"obj\": null\n}"}],"_postman_id":"97aa9d0e-9cc3-46db-a364-c2fda39586bd"},{"name":"Delete Depleted Clients","id":"8f4975c9-1051-43cb-afa7-c42ca2542c6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/delDepletedClients/{inboundId}","description":"<h2 id=\"description\">Description</h2>\n<p>This route is used to delete all depleted clients associated with a specific inbound identified by its ID (<code>{inboundId}</code>). If no <code>{inboundId}</code> is specified, depleted clients will be deleted from all inbounds.</p>\n<h2 id=\"path-parameter\">Path Parameter</h2>\n<ul>\n<li><code>{inboundId}</code> : Identifier of the specific inbound from which the depleted clients will be deleted. If not specified, depleted clients will be deleted from all inbounds.</li>\n</ul>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>If <code>{inboundId}</code> is provided, ensure it corresponds to an existing inbound within the system. If not provided, depleted clients will be deleted from all inbounds.</p>\n</li>\n<li><p>Deleting depleted clients through this endpoint permanently removes all depleted clients from the specified inbound(s).</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","delDepletedClients","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"21e8e602-2412-49da-8329-3791e7984403","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/delDepletedClients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 29 Apr 2023 15:26:47 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"All delpeted clients are deleted成功\",\n    \"obj\": null\n}"}],"_postman_id":"8f4975c9-1051-43cb-afa7-c42ca2542c6b"},{"name":"Online Clients","event":[{"listen":"prerequest","script":{"id":"67b6b2a8-7c63-491e-9d10-111ab8816232","exec":[""],"type":"text/javascript"}}],"id":"9cac8101-017e-4415-94e2-d30f4dcf49de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:2053/panel/api/inbounds/onlines","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","onlines"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9cac8101-017e-4415-94e2-d30f4dcf49de"},{"name":"Export Database","id":"5368cbc0-7c84-4b8c-aa54-d9fffb24d1f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/createbackup","description":"<h2 id=\"description\">Description</h2>\n<p>This endpoint triggers the creation of a system backup and initiates the delivery of the backup file to designated administrators via a configured Telegram bot. The server verifies the Telegram bot's activation status within the system settings and checks for the presence of admin IDs specified in the settings before sending the backup.</p>\n<h2 id=\"note\">Note</h2>\n<ul>\n<li><p>Requires a valid session ID (from the login endpoint). Include the session ID stored in the cookie named \"session\" for authorization.</p>\n</li>\n<li><p>Upon implementation, the backup file might be sent through the Telegram bot registered in the panel settings.</p>\n</li>\n<li><p>Handle any potential errors or failure messages returned in the response.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","createbackup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5368cbc0-7c84-4b8c-aa54-d9fffb24d1f2"}],"event":[{"listen":"prerequest","script":{"id":"11d58ce1-f734-4ac5-a0cb-b082d98ac6ec","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4a7cfca7-d93f-4361-87e6-91583a9b5e13","type":"text/javascript","exec":[""]}}],"variable":[{"key":"HOST","value":"localhost","type":"string"},{"key":"PORT","value":"2053","type":"string"},{"key":"USERNAME","value":"admin","type":"string"},{"key":"PASSWORD","value":"admin","type":"string"}]}