{"info":{"_postman_id":"c5a3faa5-1d5d-4400-8449-16164571f536","name":"blog","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11358212","collectionId":"c5a3faa5-1d5d-4400-8449-16164571f536","publishedId":"Szmh1GBL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-05-13T15:53:56.000Z"},"item":[{"name":"auth","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"fb436ea9-4815-4404-85b4-7c004905bed5","exec":["var data = JSON.parse(responseBody);\r","if (data.token) {\r","   pm.globals.set(\"token\", data.token);\r","pm.environment.get(\"variable_key\");\r","}"],"type":"text/javascript"}}],"id":"24f99f66-87b4-4da9-8a45-9db258abb458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"admin\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/auth/login","description":"<p>登录接口\n/auth/login</p>\n<p>返回token</p>\n","urlObject":{"protocol":"http","path":["auth","login"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"40379ad9-c2b7-43ec-b0ce-8cba6dde1011","name":"登录失败","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"adminn\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"74"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 15:59:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"用户名或密码错误\",\n    \"status\": 401\n}"},{"id":"927c5c93-d9f6-4b52-b158-f506d921ffb5","name":"登陆成功","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"admin\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"372"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 15:59:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"登录成功\",\n    \"status\": 200,\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODkzODU1NTUsIm5iZiI6MTU4OTM4NTU1NSwianRpIjoiZGZjODc1ZDctZmE2ZS00MzhhLWJmMDgtYTU2ZDEwZjNkYTFiIiwiZXhwIjoxNTg5OTkwMzU1LCJpZGVudGl0eSI6MSwiZnJlc2giOmZhbHNlLCJ0eXBlIjoiYWNjZXNzIiwidXNlcl9jbGFpbXMiOnsiY291bnRyeSI6ImNoaW5hIn19.wbK9bnMkLQBGi8RYsr4sgLvXwr0nKrv30HVckOWaE40\"\n}"}],"_postman_id":"24f99f66-87b4-4da9-8a45-9db258abb458"},{"name":"Register","id":"a964ef5b-a5c1-4d27-920f-877f2e9fb1c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"admin\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/auth/register","description":"<p>注册接口\n/auth/register</p>\n<p>返回注册结果</p>\n","urlObject":{"protocol":"http","path":["auth","register"],"host":["{{IP}}"],"query":[{"disabled":true,"key":"blog_type","value":"china"}],"variable":[]}},"response":[{"id":"62778cf3-9ba6-422f-8f7b-16c4667753e7","name":"用户名过长","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"adminnnnnnnnnnnnnnnnnnnnnnnnnnnnn\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://{{IP}}/auth/register","protocol":"http","host":["{{IP}}"],"path":["auth","register"],"query":[{"key":"blog_type","value":"china","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"56"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 15:58:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"用户名无效\",\n    \"status\": 403\n}"},{"id":"ef08803e-ba6b-486c-8e3d-0763663f5d56","name":"已注册","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"admin\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://{{IP}}/auth/register","protocol":"http","host":["{{IP}}"],"path":["auth","register"],"query":[{"key":"blog_type","value":"usa","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"56"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 15:57:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"用户已存在\",\n    \"status\": 401\n}"},{"id":"fad27bb7-c7f3-4c59-ae90-1b784185a9d5","name":"注册成功","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"admin\",\n\t\"password\": \"testpassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://{{IP}}/auth/register","protocol":"http","host":["{{IP}}"],"path":["auth","register"],"query":[{"key":"blog_type","value":"china","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 15:57:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"注册成功\",\n    \"status\": 200\n}"}],"_postman_id":"a964ef5b-a5c1-4d27-920f-877f2e9fb1c9"}],"id":"e4e2b63c-01ee-4155-86e7-45f480391ade","description":"<p>权限相关接口</p>\n","_postman_id":"e4e2b63c-01ee-4155-86e7-45f480391ade"},{"name":"v1","item":[{"name":"Article","item":[{"name":"GetArticleList","id":"1baedb87-36b2-44be-a6c4-a04ad85acaee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/article/list/?limit=10&offset=0&searcxh=正文 ssti","description":"<p>取得指定用户的文章列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","article","list",""],"host":["{{IP}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"key":"searcxh","value":"正文 ssti"}],"variable":[]}},"response":[{"id":"23decb98-9493-4a28-ab93-0674301f345a","name":"搜索","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://{{IP}}/api/v1/user/{{username}}/article/list/?limit=10&offset=0&search=特征 search","protocol":"http","host":["{{IP}}"],"path":["api","v1","user","{{username}}","article","list",""],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"key":"search","value":"特征 search"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"425"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 16 May 2020 12:43:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"PV\": 0,\n            \"aid\": 8,\n            \"category\": \"WEB\",\n            \"creat_time\": \"Sat, 16 May 2020 09:18:26 GMT\",\n            \"modify_time\": null,\n            \"summary\": \"<h1>Why Flask</h1>\\n<p>Flask是python的web框架，最大的特征是轻便，让开发者自由灵活的兼容要开发的feature。search</p>\",\n            \"tags\": [\n                \"flask\",\n                \"tag1\",\n                \"web\"\n            ],\n            \"title\": \"flask\"\n        }\n    ],\n    \"status\": 200,\n    \"total\": 1\n}"},{"id":"e585761b-35d4-49af-8c10-53aaf85ae956","name":"成功","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://{{IP}}/api/v1/user/{{username}}/article/list/?limit=10&offset=0&search=","protocol":"http","host":["{{IP}}"],"path":["api","v1","user","{{username}}","article","list",""],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"key":"search","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 16 May 2020 12:22:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"813"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"PV\": 0,\n            \"aid\": 1,\n            \"category\": \"CTF\",\n            \"creat_time\": \"Sat, 16 May 2020 08:51:33 GMT\",\n            \"modify_time\": null,\n            \"summary\": \"<p><img alt=\\\"ssti\\\" src=\\\"/img/ssti.webp\\\"></p>\",\n            \"tags\": [\n                \"ssti\",\n                \"tag1\"\n            ],\n            \"title\": \"ssti\"\n        },\n        {\n            \"PV\": 0,\n            \"aid\": 5,\n            \"category\": \"CTFF\",\n            \"creat_time\": \"Sat, 16 May 2020 09:16:57 GMT\",\n            \"modify_time\": null,\n            \"summary\": \"<p><img alt=\\\"ssti\\\" src=\\\"/img/ssti.webp\\\"></p>\",\n            \"tags\": [\n                \"tag2\"\n            ],\n            \"title\": \"ssti\"\n        },\n        {\n            \"PV\": 0,\n            \"aid\": 8,\n            \"category\": \"WEB\",\n            \"creat_time\": \"Sat, 16 May 2020 09:18:26 GMT\",\n            \"modify_time\": null,\n            \"summary\": \"<h1>Why Flask</h1>\\n<p>Flask是python的web框架，最大的特征是轻便，让开发者自由灵活的兼容要开发的feature。search</p>\",\n            \"tags\": [\n                \"flask\",\n                \"tag1\",\n                \"web\"\n            ],\n            \"title\": \"flask\"\n        }\n    ],\n    \"status\": 200,\n    \"total\": 3\n}"}],"_postman_id":"1baedb87-36b2-44be-a6c4-a04ad85acaee"},{"name":"GetArticleDetail","id":"379ca254-c0c8-42bd-b1e9-cf9163ffc98c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/detail/{{aid}}","description":"<p>获取文章详情</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","detail","{{aid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"604a65e8-1afe-4aee-b24b-0ae097e5361f","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/detail/{{aid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"232"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:45:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"aid\": 2,\n    \"author\": \"admin\",\n    \"category\": \"CTF\",\n    \"content\": \"<p><img alt=\\\"ssti\\\" src=\\\"/img/ssti.webp\\\">\\n</p>\\n<h1>正文</h1>\",\n    \"creat_time\": \"Thu, 14 May 2020 00:41:45 GMT\",\n    \"modify_time\": null,\n    \"status\": 200,\n    \"tags\": [],\n    \"title\": \"ssti\"\n}"}],"_postman_id":"379ca254-c0c8-42bd-b1e9-cf9163ffc98c"},{"name":"GetArticleContent","id":"5e617680-34a3-4877-9ce7-914ce7433801","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/content/{{aid}}","description":"<p>获取文章的markdown</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","content","{{aid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"946b11aa-a3dd-42ff-ac54-a1f452283150","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/content/{{aid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"79"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:48:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": \"![ssti](/img/ssti.webp)\\n<!--more-->\\n#正文\",\n    \"status\": 200\n}"}],"_postman_id":"5e617680-34a3-4877-9ce7-914ce7433801"},{"name":"CreateArticle","id":"2a7194d5-c03a-44fa-a6a2-b922683c3c80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"title\": \"ssti\",\n\t\"content\": \"![ssti](/img/ssti.webp)\\n<!--more-->\\n#正文\",\n\t\"tags\": [\n\t\t\"tag1\",\n\t\t\"tag2\"\n\t],\n\t\"category\": \"category1\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article","description":"<p>创建文章</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"3431a2ba-7869-44e4-89a5-c9523933eeb7","name":"CreateArticle","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"title\": \"ssti\",\n\t\"content\": \"![ssti](/img/ssti.webp)\\n<!--more-->\\n#正文\",\n\t\"tags\": [\n\t],\n\t\"category\": \"CTF\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"56"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:41:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"aid\": 2,\n    \"msg\": \"创建成功\",\n    \"status\": 200\n}"},{"id":"6a9175cd-b531-4998-afb8-f6805a94fd01","name":"创建文章","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"title\": \"ssti\",\n\t\"content\": \"![ssti](/img/ssti.webp)\\n<!--more-->\\n#正文\",\n\t\"tags\": [\n\t\t\"tag1\",\n\t\t\"tag2\"\n\t],\n\t\"category\": \"category1\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"56"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:43:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"aid\": 3,\n    \"msg\": \"创建成功\",\n    \"status\": 200\n}"}],"_postman_id":"2a7194d5-c03a-44fa-a6a2-b922683c3c80"},{"name":"ModifyArticle","id":"0b0d7d09-a758-478f-9872-05c8a1d68c91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"title\": \"ssti\",\n\t\"content\": \"![ssti](/img/ssti.webp)\\n老图镇楼（\\n<!--more-->\\n#正文123\",\n\t\"tags\": [\n\t\t\"tag2\",\n\t\t\"ssti\"\n\t],\n\t\"category\": \"CTFF\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/{{aid}}","description":"<p>修改文章</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","{{aid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"20c004eb-9783-4c33-bd62-a595ea9e31c0","name":"成功","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"title\": \"title\",\n\t\"content\": \"#正文\",\n\t\"tags\": [\n\t\t\"tag2\"\n\t],\n\t\"category\": \"category2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/{{aid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:49:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"修改成功\",\n    \"status\": 200\n}"}],"_postman_id":"0b0d7d09-a758-478f-9872-05c8a1d68c91"},{"name":"DeleteArticle","id":"7d0f5dc0-bd48-43a9-8019-cb003c0a177d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://{{IP}}/api/v1/article/{{aid}}","description":"<p>删除文章</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","{{aid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"40ea96cc-ca15-4cd4-8e06-d6e9c076e221","name":"成功","originalRequest":{"method":"DELETE","header":[],"url":"http://{{IP}}/api/v1/article/{{aid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:44:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"删除成功\",\n    \"status\": 200\n}"}],"_postman_id":"7d0f5dc0-bd48-43a9-8019-cb003c0a177d"}],"id":"a978b1bf-721f-4f58-a2c5-15070c78362c","description":"<p>文章相关接口</p>\n","event":[{"listen":"prerequest","script":{"id":"051ffb5a-ad7e-4a73-97d1-376c8114afed","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"be71bf9d-e09a-4b81-8fbb-45e5d60d3188","type":"text/javascript","exec":[""]}}],"_postman_id":"a978b1bf-721f-4f58-a2c5-15070c78362c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}}},{"name":"Comment","item":[{"name":"GetCommentList","id":"ca4c1f8f-d621-4ee3-bfe4-2f9983939aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/{{aid}}/comment/list/?limit=10&offset=0&sortby=1&order=0","description":"<p>取得指定文章的一级评论列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","{{aid}}","comment","list",""],"host":["{{IP}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"},{"description":{"content":"<p>0表示按点赞排序，1表示按时间排序</p>\n","type":"text/plain"},"key":"sortby","value":"1"},{"description":{"content":"<p>0表示降序，1表示升序</p>\n","type":"text/plain"},"key":"order","value":"0"}],"variable":[]}},"response":[],"_postman_id":"ca4c1f8f-d621-4ee3-bfe4-2f9983939aef"},{"name":"GetCommentReply","id":"4aad4b68-4620-4dfc-80a3-f568a930f981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/reply?limit=10&offset=0","description":"<p>获取评论的回复</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}","reply"],"host":["{{IP}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"a7c9a082-40c0-4513-a1ea-e14bd59f9d28","name":"成功","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://{{IP}}/api/v1/article/comment/{{cid}}/reply?limit=10&offset=0","protocol":"http","host":["{{IP}}"],"path":["api","v1","article","comment","{{cid}}","reply"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"Date","value":"Sat, 16 May 2020 12:24:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"209"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"auth_delete\": true,\n            \"auth_modify\": true,\n            \"cid\": 10,\n            \"content\": \"<h1>test</h1>\",\n            \"create_time\": \"Sat, 16 May 2020 12:23:55 GMT\",\n            \"from_name\": \"admin\",\n            \"praise_num\": 0,\n            \"username\": \"admin\"\n        }\n    ],\n    \"status\": 200,\n    \"total\": 1\n}"}],"_postman_id":"4aad4b68-4620-4dfc-80a3-f568a930f981"},{"name":"GetCommentContent","id":"a739737e-e65f-4d94-9ab9-cb0e0ffddb7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/content","description":"<p>获取评论的markdown</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}","content"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"a4660022-93a5-4f0a-b59a-f8f0760063a3","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/content"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"33"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:53:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": \"#test\",\n    \"status\": 200\n}"}],"_postman_id":"a739737e-e65f-4d94-9ab9-cb0e0ffddb7a"},{"name":"CreateComment","id":"7fddcb7e-09c8-489d-af11-7cb75e8572a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"content\": \"#test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/{{aid}}/comment","description":"<p>创建评论</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","{{aid}}","comment"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"cbe8617c-3eea-4458-b41e-308abc113e54","name":"成功","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"content\": \"#test\",\n\t\"from_cid\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/{{aid}}/comment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"56"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:51:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"cid\": 2,\n    \"msg\": \"创建成功\",\n    \"status\": 200\n}"}],"_postman_id":"7fddcb7e-09c8-489d-af11-7cb75e8572a6"},{"name":"ModifyComment","id":"6c445460-f773-4274-9efc-4536890cc300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"content\": \"##test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}","description":"<p>修改评论</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"cec98567-3fd9-49dd-bea4-bd508f525c00","name":"成功","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"content\": \"##test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:53:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"修改成功\",\n    \"status\": 200\n}"}],"_postman_id":"6c445460-f773-4274-9efc-4536890cc300"},{"name":"DeleteComment","id":"067c5d28-c279-4efc-a1ec-cdf01e2d1e96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://{{IP}}/api/v1/article/comment/{{cid}}","description":"<p>删除评论</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"a170c71b-eb27-4ad3-b4bb-1cb63f14dcd2","name":"成功","originalRequest":{"method":"DELETE","header":[],"url":"http://{{IP}}/api/v1/article/comment/{{cid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:54:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"删除成功\",\n    \"status\": 200\n}"}],"_postman_id":"067c5d28-c279-4efc-a1ec-cdf01e2d1e96"},{"name":"PraiseComment","id":"2a732a9c-f40c-44f6-a18a-5809ac83d6af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODkxODg3MDEsIm5iZiI6MTU4OTE4ODcwMSwianRpIjoiZGQ4NGYzMTYtYjAxZi00ZDdiLTk0NTYtODVjZGZmOTU4ZWYyIiwiZXhwIjoxNTg5MTg5NjAxLCJpZGVudGl0eSI6MywiZnJlc2giOmZhbHNlLCJ0eXBlIjoiYWNjZXNzIiwidXNlcl9jbGFpbXMiOnsiY291bnRyeSI6ImNoaW5hIn19.mB8OAZy5yYDJQF6pEg-rdz98jbCz8lFcVh77uimhEtA","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/praise","description":"<p>评论点赞</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}","praise"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"28be297b-1b17-44be-b459-f7af70814189","name":"成功","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODkxODg3MDEsIm5iZiI6MTU4OTE4ODcwMSwianRpIjoiZGQ4NGYzMTYtYjAxZi00ZDdiLTk0NTYtODVjZGZmOTU4ZWYyIiwiZXhwIjoxNTg5MTg5NjAxLCJpZGVudGl0eSI6MywiZnJlc2giOmZhbHNlLCJ0eXBlIjoiYWNjZXNzIiwidXNlcl9jbGFpbXMiOnsiY291bnRyeSI6ImNoaW5hIn19.mB8OAZy5yYDJQF6pEg-rdz98jbCz8lFcVh77uimhEtA","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/praise"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:55:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"操作成功\",\n    \"status\": 200\n}"}],"_postman_id":"2a732a9c-f40c-44f6-a18a-5809ac83d6af"},{"name":"TopComment","id":"d6909bbc-3e27-405b-ba2a-a595ebb3e0a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODkxODg3MDEsIm5iZiI6MTU4OTE4ODcwMSwianRpIjoiZGQ4NGYzMTYtYjAxZi00ZDdiLTk0NTYtODVjZGZmOTU4ZWYyIiwiZXhwIjoxNTg5MTg5NjAxLCJpZGVudGl0eSI6MywiZnJlc2giOmZhbHNlLCJ0eXBlIjoiYWNjZXNzIiwidXNlcl9jbGFpbXMiOnsiY291bnRyeSI6ImNoaW5hIn19.mB8OAZy5yYDJQF6pEg-rdz98jbCz8lFcVh77uimhEtA","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"testarticle","type":"text"},{"key":"content","value":"testcontent1","type":"text"}]},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/top","description":"<p>评论置顶</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","article","comment","{{cid}}","top"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"d5a5a906-4993-400c-a2a8-1f5f72302164","name":"成功","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1ODkxODg3MDEsIm5iZiI6MTU4OTE4ODcwMSwianRpIjoiZGQ4NGYzMTYtYjAxZi00ZDdiLTk0NTYtODVjZGZmOTU4ZWYyIiwiZXhwIjoxNTg5MTg5NjAxLCJpZGVudGl0eSI6MywiZnJlc2giOmZhbHNlLCJ0eXBlIjoiYWNjZXNzIiwidXNlcl9jbGFpbXMiOnsiY291bnRyeSI6ImNoaW5hIn19.mB8OAZy5yYDJQF6pEg-rdz98jbCz8lFcVh77uimhEtA","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"testarticle","type":"text"},{"key":"content","value":"testcontent1","type":"text"}]},"url":"http://{{IP}}/api/v1/article/comment/{{cid}}/top"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:55:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"操作成功\",\n    \"status\": 200\n}"}],"_postman_id":"d6909bbc-3e27-405b-ba2a-a595ebb3e0a8"}],"id":"b100144f-f306-4332-bd18-185e8b9e7402","description":"<p>评论相关接口</p>\n","event":[{"listen":"prerequest","script":{"id":"06395161-759d-45e3-ba14-0107a087c7ce","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3319a119-c7a8-48ec-ace6-d3ebdf26714e","type":"text/javascript","exec":[""]}}],"_postman_id":"b100144f-f306-4332-bd18-185e8b9e7402","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}}},{"name":"Tag","item":[{"name":"GetTagList","id":"6aee267c-ac76-45fd-9266-2a707451be9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/tag/list/","description":"<p>获取用户的标签列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","tag","list",""],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"c18af092-345c-45b3-aaac-bd69e20615e4","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/tag/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"38"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:57:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ]\n}"}],"_postman_id":"6aee267c-ac76-45fd-9266-2a707451be9c"},{"name":"GetTagArticle","id":"c781b8de-e21e-4b1e-8673-3422f6e9a193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/tag/{{tag}}","description":"<p>获取标签对应的文章列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","tag","{{tag}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"09fe5abf-7ab1-43f9-9e86-d5165cf39cb0","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/tag/{{tag}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:58:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"aid\": 3,\n            \"creat_time\": \"Thu, 14 May 2020 00:43:05 GMT\",\n            \"title\": \"ssti\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"c781b8de-e21e-4b1e-8673-3422f6e9a193"}],"id":"73cb46c8-883a-400a-a21c-9a7cce88f625","description":"<p>标签相关接口</p>\n","event":[{"listen":"prerequest","script":{"id":"12b7a9c6-4ace-4080-a306-c19a9bd5855d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d056b5fd-a810-4e91-ae59-dff56509a4a4","type":"text/javascript","exec":[""]}}],"_postman_id":"73cb46c8-883a-400a-a21c-9a7cce88f625","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}}},{"name":"Category","item":[{"name":"GetCategoryList","id":"3ba31eb7-97a9-4618-8616-ba65393666a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/category/list/","description":"<p>获取用户分类列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","category","list",""],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"8e7e4f1d-167c-4d10-b410-a400d44e4fc3","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/category/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:58:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"tags\": [\n        \"category1\",\n        \"category2\"\n    ]\n}"}],"_postman_id":"3ba31eb7-97a9-4618-8616-ba65393666a1"},{"name":"GetCategoryArticle","id":"8d1c9ecf-c51b-4f0f-980b-55ddbb70da18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/category/{{category}}","description":"<p>获取分类对应的文章列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","category","{{category}}"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"35248610-cbb2-42f3-92f4-c365cbd2030d","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/category/{{category}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"104"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 16:59:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"aid\": 3,\n            \"creat_time\": \"Thu, 14 May 2020 00:43:05 GMT\",\n            \"title\": \"ssti\"\n        }\n    ],\n    \"status\": 200,\n    \"total\": 1\n}"}],"_postman_id":"8d1c9ecf-c51b-4f0f-980b-55ddbb70da18"}],"id":"d6570a54-09bb-48f0-a2fd-d4b6507bb672","description":"<p>分类相关接口</p>\n","event":[{"listen":"prerequest","script":{"id":"b4404772-4385-496d-a260-63ca48829d24","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aaa4ffef-5a34-4a2a-9578-88d6ea39bb4f","type":"text/javascript","exec":[""]}}],"_postman_id":"d6570a54-09bb-48f0-a2fd-d4b6507bb672","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}}},{"name":"User","item":[{"name":"GetUserInfo","id":"87220d7b-6332-4fee-8a8b-72eb802b3893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/info","description":"<p>获取用户信息</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","{{username}}","info"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"de30633e-f8b6-4da2-86d3-15b07e8d1607","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/{{username}}/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/20.0.4"},{"key":"Date","value":"Sat, 16 May 2020 09:04:26 GMT"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"135"}],"cookie":[],"responseTime":null,"body":"{\n    \"avatar\": \"img/avatar.jpg\",\n    \"introduction\": \"<h3>没有填写个人介绍</h3>\",\n    \"status\": 200,\n    \"username\": \"admin\"\n}"}],"_postman_id":"87220d7b-6332-4fee-8a8b-72eb802b3893"},{"name":"GetUserList","id":"5854e63a-90d4-4610-8646-c78d234077f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/list/?limit=10&offset=0","description":"<p>获取用户列表</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","list",""],"host":["{{IP}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"279bca74-5631-4f20-b8fe-0f884cb8ba0e","name":"成功","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://{{IP}}/api/v1/user/list/?limit=10&offset=0","protocol":"http","host":["{{IP}}"],"path":["api","v1","user","list",""],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"279"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:00:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"avatar\": \"img/avatar.jpg\",\n            \"introduction\": \"<h3>没有填写个人介绍</h3>\",\n            \"username\": \"admin\"\n        },\n        {\n            \"avatar\": \"img/avatar.jpg\",\n            \"introduction\": \"<h3>没有填写个人介绍</h3>\",\n            \"username\": \"admin1\"\n        }\n    ],\n    \"status\": 200,\n    \"total\": 2\n}"}],"_postman_id":"5854e63a-90d4-4610-8646-c78d234077f7"},{"name":"GetIntroductionContent","id":"e9b59c7a-caf0-4947-8b3b-4f5f2d1ccd67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/introduction","description":"<p>获取个人介绍的markdown</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","introduction"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"d4d078e5-7619-42ba-a51f-807b9690572b","name":"成功","originalRequest":{"method":"GET","header":[],"url":"http://{{IP}}/api/v1/user/introduction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"79"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:00:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": \"###没有填写个人介绍\",\n    \"status\": 200\n}"}],"_postman_id":"e9b59c7a-caf0-4947-8b3b-4f5f2d1ccd67"},{"name":"ModifyUserAvatar","id":"828daa3a-7237-45ab-9ed3-d099d7521858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"avatar_name\": \"59dfb0d8f82a44f9b832542e99ae4f83c4be00cd.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/user/avatar","description":"<p>修改用户头像</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","avatar"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"27a74fd2-1ef6-4be0-8dba-1c06505937fe","name":"成功","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"avatar_name\": \"59dfb0d8f82a44f9b832542e99ae4f83c4be00cd.jpg\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/user/avatar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:00:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"修改成功\",\n    \"status\": 200\n}"}],"_postman_id":"828daa3a-7237-45ab-9ed3-d099d7521858"},{"name":"ModifyUserIntroduction","id":"cd01aef6-c519-458b-8e2a-bc683d9d29ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"introduction\": \"#个人介绍\\nzer0e\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/user/introduction","description":"<p>修改用户个人介绍</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","introduction"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"d2bbbc99-5f4c-4a39-84fa-3b1c2ae57971","name":"成功","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"introduction\": \"#个人介绍\\nzer0e\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{IP}}/api/v1/user/introduction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:00:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"修改成功\",\n    \"status\": 200\n}"}],"_postman_id":"cd01aef6-c519-458b-8e2a-bc683d9d29ba"}],"id":"4e89cf37-67b8-4659-8702-00693837db7d","description":"<p>用户信息相关接口</p>\n","event":[{"listen":"prerequest","script":{"id":"87434f86-dc12-4571-b4af-13003342f81d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"134118de-349f-44d4-8c17-13520a5e9a9a","type":"text/javascript","exec":[""]}}],"_postman_id":"4e89cf37-67b8-4659-8702-00693837db7d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","name":"v1","type":"folder"}}}],"id":"dd788958-2bdd-466d-80f4-49aa4bd536e3","description":"<p>v1版本api</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"0aa50f77-1c7c-4b1f-8b4d-85427c631a0e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7bc53bc6-6a16-4054-81a4-6cae714f7a21","type":"text/javascript","exec":[""]}}],"_postman_id":"dd788958-2bdd-466d-80f4-49aa4bd536e3"},{"name":"img","item":[{"name":"UploadImg","id":"d83d5c32-73b3-491c-a2ce-b2a2e022787c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Administrator/Pictures/EOS RP/团课/IMG_1337.JPG"}]},"url":"http://{{IP}}/img/upload","description":"<p>上传图片</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6866cdb3-f8c9-4cf3-a3a9-a12899177edd","id":"6866cdb3-f8c9-4cf3-a3a9-a12899177edd","name":"img","type":"folder"}},"urlObject":{"protocol":"http","path":["img","upload"],"host":["{{IP}}"],"query":[],"variable":[]}},"response":[{"id":"26ad049f-4b27-4dc4-a6c9-813dfca782c4","name":"类型错误","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Administrator/Pictures/640.webp"}]},"url":"http://{{IP}}/img/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"62"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:01:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"文件类型非法\",\n    \"status\": 403\n}"},{"id":"78a43d63-705a-4547-bf06-710d18bcfa0b","name":"伪造图片","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Administrator/Pictures/x.jpg"}]},"url":"http://{{IP}}/img/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"50"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:02:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"上传失败\",\n    \"status\": 500\n}"},{"id":"a9ab698b-f241-4444-9888-0e817b067f7c","name":"成功","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Administrator/Pictures/0f437c75-2d38-4570-b781-cfa4b4791f19~01 (2).jpg"}]},"url":"http://{{IP}}/img/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"106"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Wed, 13 May 2020 17:01:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"上传成功\",\n    \"path\": \"img/d8875e6873d276aee2687ade89507e5e66a59195.jpg\",\n    \"status\": 200\n}"}],"_postman_id":"d83d5c32-73b3-491c-a2ce-b2a2e022787c"}],"id":"6866cdb3-f8c9-4cf3-a3a9-a12899177edd","description":"<p>图片相关接口</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"bdabc2d8-2470-4bd4-bc61-aa3419f6ff6f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6f78eddb-6895-4a5a-b8f5-91684cf15f0d","type":"text/javascript","exec":[""]}}],"_postman_id":"6866cdb3-f8c9-4cf3-a3a9-a12899177edd"}]}