{"info":{"_postman_id":"bed55ad8-0cc9-4a5e-a541-3297f2cfd5f0","name":"Online_Judge","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Announcement","item":[{"name":"Announcement","event":[{"listen":"test","script":{"id":"f1574106-0b34-41dd-a03e-4a6cf11de21f","exec":[""],"type":"text/javascript"}}],"id":"a559b181-2b19-41c7-af8b-160455aa4720","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement"},"response":[{"id":"caee9bd7-e558-4cf6-85a2-d892dc94acb8","name":"Announcement","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"108"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"user\": 1,\n            \"author\": \"孙笑川\",\n            \"title\": \"nmsl\",\n            \"content\": 2\n        }\n    ]\n}"}],"_postman_id":"a559b181-2b19-41c7-af8b-160455aa4720"},{"name":"Announcement - id","id":"74466a48-4c3c-410a-a405-e4e72c001eb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement/1231231231"},"response":[{"id":"6096973d-7687-4a9b-88d8-59e312913256","name":"Announcement - id","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement/3"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"6192f0c7-4cc5-4df0-bb58-b6824b4a72a0","name":"Announcement - id","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"62"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 2,\n            \"content_text\": \"ashdhasd\"\n        }\n    ]\n}"}],"_postman_id":"74466a48-4c3c-410a-a405-e4e72c001eb1"}],"id":"e46bb063-88b1-407e-b636-67151f334257","_postman_id":"e46bb063-88b1-407e-b636-67151f334257"},{"name":"Forum","item":[{"name":"Forum post querying","id":"ebfbf2ed-1150-47d0-a638-2322cbc7323d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"47.101.167.9:5000/Forum/1"},"response":[{"id":"1925d731-58b8-478a-80c6-66f9c65d30a4","name":"Forum post querying","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2342"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"upvote\": 21,\n            \"downvote\": 4,\n            \"title\": \"nmsl\",\n            \"post\": \"1212\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-16 04:02:28+00:00\",\n            \"view\": 1313,\n            \"created_time\": \"2019-11-16 04:02:32.704540+00:00\",\n            \"comments\": [\n                {\n                    \"upvote\": 12,\n                    \"downvote\": 125,\n                    \"created_time\": \"2019-11-16 04:03:09.390737+00:00\",\n                    \"author\": \"nmsl\",\n                    \"comment\": \"说你ma呢\",\n                    \"comment_on_comment\": [\n                        {\n                            \"upvote\": 12,\n                            \"downvote\": 3,\n                            \"created_time\": \"2019-11-16 04:03:40.341629+00:00\",\n                            \"author\": \"nmsl\",\n                            \"comment\": \"什么素质啊，gck\",\n                            \"comment_on_comment\": [\n                                {\n                                    \"upvote\": 12,\n                                    \"downvote\": 13,\n                                    \"created_time\": \"2019-11-16 07:54:27.042665+00:00\",\n                                    \"author\": \"admin\",\n                                    \"comment\": \"This is a comment on comment\",\n                                    \"comment_on_comment\": [\n                                        {\n                                            \"upvote\": 12,\n                                            \"downvote\": 12,\n                                            \"created_time\": \"2019-11-16 07:54:45.122421+00:00\",\n                                            \"author\": \"admin\",\n                                            \"comment\": \"This is a comment on post\",\n                                            \"comment_on_comment\": []\n                                        }\n                                    ]\n                                }\n                            ]\n                        },\n                        {\n                            \"upvote\": 0,\n                            \"downvote\": 0,\n                            \"created_time\": \"2019-11-19 02:23:20.680092+00:00\",\n                            \"author\": \"admin\",\n                            \"comment\": \"nmslslslsl\",\n                            \"comment_on_comment\": []\n                        },\n                        {\n                            \"upvote\": 0,\n                            \"downvote\": 0,\n                            \"created_time\": \"2019-11-19 03:24:10.710855+00:00\",\n                            \"author\": \"admin\",\n                            \"comment\": \"nmslslslsl\",\n                            \"comment_on_comment\": []\n                        }\n                    ]\n                },\n                {\n                    \"upvote\": 12,\n                    \"downvote\": 3,\n                    \"created_time\": \"2019-11-16 04:03:40.341629+00:00\",\n                    \"author\": \"nmsl\",\n                    \"comment\": \"什么素质啊，gck\",\n                    \"comment_on_comment\": [\n                        {\n                            \"upvote\": 12,\n                            \"downvote\": 13,\n                            \"created_time\": \"2019-11-16 07:54:27.042665+00:00\",\n                            \"author\": \"admin\",\n                            \"comment\": \"This is a comment on comment\",\n                            \"comment_on_comment\": [\n                                {\n                                    \"upvote\": 12,\n                                    \"downvote\": 12,\n                                    \"created_time\": \"2019-11-16 07:54:45.122421+00:00\",\n                                    \"author\": \"admin\",\n                                    \"comment\": \"This is a comment on post\",\n                                    \"comment_on_comment\": []\n                                }\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"upvote\": 12,\n                    \"downvote\": 12,\n                    \"created_time\": \"2019-11-16 07:54:45.122421+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"This is a comment on post\",\n                    \"comment_on_comment\": []\n                },\n                {\n                    \"upvote\": 0,\n                    \"downvote\": 0,\n                    \"created_time\": \"2019-11-19 02:13:17.373295+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"nmsl\",\n                    \"comment_on_comment\": []\n                },\n                {\n                    \"upvote\": 0,\n                    \"downvote\": 0,\n                    \"created_time\": \"2019-11-19 02:13:32.829718+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"nmsl\",\n                    \"comment_on_comment\": []\n                },\n                {\n                    \"upvote\": 0,\n                    \"downvote\": 0,\n                    \"created_time\": \"2019-11-19 03:24:07.569793+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"nmsl\",\n                    \"comment_on_comment\": []\n                }\n            ]\n        }\n    ]\n}"},{"id":"4b7c677d-d628-41ca-aa82-a17b6e58da0b","name":"Forum post querying","originalRequest":{"method":"GET","header":[],"url":"47.101.167.9:5000/Forum/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"828"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"upvote\": 12,\n            \"downvote\": 31,\n            \"title\": \"post 1\",\n            \"post\": \"头上三尺有神明\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-19 01:46:38+00:00\",\n            \"view\": 12,\n            \"created_time\": \"2019-11-26 01:25:20.513761+00:00\",\n            \"comments\": [\n                {\n                    \"upvote\": 12,\n                    \"downvote\": 12,\n                    \"created_time\": \"2019-11-26 01:45:54.986782+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"错了，倪总看得懂抽象话\",\n                    \"comment_on_comment\": [\n                        {\n                            \"upvote\": 12,\n                            \"downvote\": 32,\n                            \"created_time\": \"2019-11-26 01:46:13.220338+00:00\",\n                            \"author\": \"admin\",\n                            \"comment\": \"什么素质？\",\n                            \"comment_on_comment\": []\n                        }\n                    ]\n                },\n                {\n                    \"upvote\": 12,\n                    \"downvote\": 32,\n                    \"created_time\": \"2019-11-26 01:46:13.220338+00:00\",\n                    \"author\": \"admin\",\n                    \"comment\": \"什么素质？\",\n                    \"comment_on_comment\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"ebfbf2ed-1150-47d0-a638-2322cbc7323d"},{"name":"new post","id":"37d72868-5818-4af4-9b21-76dbfca6fd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"caonima","type":"text"},{"key":"post","value":"wgr sb","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"127.0.0.1:8000/Forum/"},"response":[{"id":"1fa799f3-998d-40b9-99c1-845b7f270f34","name":"new post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"First Post","type":"text"},{"key":"post","value":"Hello, this is my first post","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"127.0.0.1:8000/Forum/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"45"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"success uploading\"\n}"},{"id":"94a62391-564b-4068-929a-85d3f64d75b3","name":"new post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"First post","type":"text"},{"key":"post","value":"Hello world","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"127.0.0.1:8000/Forum/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"45"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"success uploading\"\n}"}],"_postman_id":"37d72868-5818-4af4-9b21-76dbfca6fd76"},{"name":"comment on post","id":"52dc899e-089d-442b-87b7-72b451cc4c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"comment","type":"text"},{"key":"post_id","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/comment/p"},"response":[{"id":"56f7d2ed-ce78-4fa8-9337-7f118f362293","name":"comment on post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"Hello","type":"text"},{"key":"post_id","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/comment/p"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"58"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"Comment nmsl success on post 1\"\n}"}],"_postman_id":"52dc899e-089d-442b-87b7-72b451cc4c2f"},{"name":"comment on comment","id":"387a5783-59e6-4812-805b-b3c23852badf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"nmslslslsl","type":"text"},{"key":"comment_id","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/comment/c"},"response":[{"id":"a472dd0c-c5ec-4b83-bdec-fa0c687ecc6f","name":"comment on comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"nmslslslsl","type":"text"},{"key":"comment_id","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/comment/c"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"67"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"Comment nmslslslsl success on comment 1\"\n}"}],"_postman_id":"387a5783-59e6-4812-805b-b3c23852badf"},{"name":"vote a post","id":"cfb8792c-4d9f-4a38-bfe3-f77fa3441cec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment_id","value":"1","type":"text"},{"key":"isUpvote","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/vote/c"},"response":[{"id":"ac02bbd3-2451-41e3-8aef-d226c44862dd","name":"vote a post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment_id","value":"1","type":"text"},{"key":"isUpvote","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/vote/c"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"Vote success on comment 1\"\n}"}],"_postman_id":"cfb8792c-4d9f-4a38-bfe3-f77fa3441cec"},{"name":"vote a comment","id":"7bd2ee86-c396-4a80-8889-8ad9f0e6e6f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"post_id","value":"1","type":"text"},{"key":"isUpvote","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/vote/p"},"response":[{"id":"5be97ae6-2313-406e-b458-435f16429f01","name":"vote a comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"post_id","value":"1","type":"text"},{"key":"isUpvote","value":"1","type":"text"}]},"url":"127.0.0.1:8000/Forum/vote/p"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"50"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"Vote success on post 1\"\n}"}],"_postman_id":"7bd2ee86-c396-4a80-8889-8ad9f0e6e6f7"},{"name":"follow a user","id":"b87f2ef5-ec42-48d3-aa9d-da94e1959e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"response":[{"id":"ba7b7a59-a2b4-47b2-8140-b27e0844382b","name":"follow a user","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"52"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"follow success on user 1\"\n}"}],"_postman_id":"b87f2ef5-ec42-48d3-aa9d-da94e1959e3e"},{"name":"trending","id":"45f2b5e0-051c-443b-9674-1d9175bfbb7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"47.101.167.9:5000/Forum/trending"},"response":[{"id":"42ecc290-846a-4f4d-b48f-9353ee706e89","name":"trending","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/trending"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1248"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 6,\n            \"upvote\": 0,\n            \"downvote\": 0,\n            \"title\": \"Heck\",\n            \"post\": \"wgrnb\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-26 09:42:28.021839+00:00\",\n            \"view\": 0,\n            \"created_time\": \"2019-11-26 09:42:28.022070+00:00\"\n        },\n        {\n            \"id\": 5,\n            \"upvote\": 0,\n            \"downvote\": 0,\n            \"title\": \"Hi nmsl\",\n            \"post\": \"nmslslslsl\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-26 09:42:17.456842+00:00\",\n            \"view\": 0,\n            \"created_time\": \"2019-11-26 09:42:17.457207+00:00\"\n        },\n        {\n            \"id\": 4,\n            \"upvote\": 0,\n            \"downvote\": 0,\n            \"title\": \"Hi nmsl\",\n            \"post\": \"nmslslslsl\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-19 03:24:01.917296+00:00\",\n            \"view\": 0,\n            \"created_time\": \"2019-11-19 03:24:01.917571+00:00\"\n        },\n        {\n            \"id\": 2,\n            \"upvote\": 0,\n            \"downvote\": 0,\n            \"title\": \"Hi nmsl\",\n            \"post\": \"nmslslslsl\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-19 01:46:38.587573+00:00\",\n            \"view\": 0,\n            \"created_time\": \"2019-11-19 01:46:38.588303+00:00\"\n        },\n        {\n            \"id\": 1,\n            \"upvote\": 21,\n            \"downvote\": 4,\n            \"title\": \"nmsl\",\n            \"post\": \"1212\",\n            \"author\": 1,\n            \"last_modify\": \"2019-11-16 04:02:28+00:00\",\n            \"view\": 1313,\n            \"created_time\": \"2019-11-16 04:02:32.704540+00:00\"\n        },\n        {\n            \"id\": 3,\n            \"upvote\": 12,\n            \"downvote\": 13,\n            \"title\": \"1213\",\n            \"post\": \"NMSL post\",\n            \"author\": 2,\n            \"last_modify\": \"2019-11-19 01:59:46+00:00\",\n            \"view\": 123,\n            \"created_time\": \"2019-11-19 01:59:48.707666+00:00\"\n        }\n    ]\n}"}],"_postman_id":"45f2b5e0-051c-443b-9674-1d9175bfbb7a"},{"name":"follow another user","id":"8ef34d45-e66b-40a9-8273-3bb950c8a4ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"response":[{"id":"18eb7cf4-adff-4d49-9112-ad8c561e5538","name":"follow another user","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"52"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"follow success on user 1\"\n}"}],"_postman_id":"8ef34d45-e66b-40a9-8273-3bb950c8a4ec"}],"id":"a531ada9-5fe8-4c86-85f1-f6cdbdc6ead3","_postman_id":"a531ada9-5fe8-4c86-85f1-f6cdbdc6ead3"},{"name":"Account","item":[{"name":"Login","id":"1d95b0f0-11e8-4d33-a0c3-17ed043c0d08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"127.0.0.1:8000/Account/login"},"response":[{"id":"4bfb91b6-6adf-409e-bdac-ee3a877ac696","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password1","type":"text"}]},"url":"127.0.0.1:8000/Account/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"48"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"You're not logged in\"\n}"},{"id":"877972df-e32e-4cbc-b1ca-a555d7911563","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password1","type":"text"}]},"url":"127.0.0.1:8000/Account/login"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e620f7b8-5ba7-44ea-a199-fb15bb307aa4","name":"Login - success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"127.0.0.1:8000/Account/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Vary","value":"Cookie, Origin"},{"key":"Content-Length","value":"44"},{"key":"Set-Cookie","value":"csrftoken=KSDQHWPA7Up7xwiwMEwS1K5I9dI3Tchfz2qPNGB2dmN4KEogY9De0uBgNf4XhRdK; expires=Mon, 23 Nov 2020 11:37:11 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"sessionid=183g6mxik3rzq166qufg92ol3ap5rqcb; expires=Mon, 09 Dec 2019 11:37:11 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"You're logged in\"\n}"}],"_postman_id":"1d95b0f0-11e8-4d33-a0c3-17ed043c0d08"},{"name":"Logout","id":"c56e5eef-e1de-4b02-8926-303ed72338d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Account/logout"},"response":[{"id":"26f81490-a2e3-4ffe-990b-e47f0d49b452","name":"Logout","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Account/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"34"},{"key":"Vary","value":"Origin"},{"key":"Set-Cookie","value":"sessionid=\"\"; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"logout\"\n}"}],"_postman_id":"c56e5eef-e1de-4b02-8926-303ed72338d8"},{"name":"Register","id":"ce4a1549-3eb9-4116-9657-50335063e706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"email","value":"user2@sina.com","type":"text"}]},"url":"http://127.0.0.1:8000/Account/register","description":"Register a user, with username, password and email"},"response":[{"id":"e7292169-9d66-4a67-a042-eed0a119e79d","name":"Register","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"email","value":"user2@sina.com","type":"text"}]},"url":"http://127.0.0.1:8000/Account/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"55"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"message\": \"Registered successfully\"\n}"}],"_postman_id":"ce4a1549-3eb9-4116-9657-50335063e706"},{"name":"Stat","id":"a4483d78-2f05-4c5d-ad62-6ee3be369929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Account/stat"},"response":[{"id":"b5126c2e-c14c-4269-bbf0-3b739484fa67","name":"Stat","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Account/stat"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"675"},{"key":"Vary","value":"Origin, Cookie"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"recent_submission\": [\n            {\n                \"id\": 3,\n                \"problem_id\": 1,\n                \"language\": \"C\",\n                \"statistic_info\": {\n                    \"result\": 0,\n                    \"status\": \"ok\",\n                    \"errordetails\": {\n                        \"compile\": \"placeholder\",\n                        \"runtime\": \"placeholder\"\n                    },\n                    \"solutionstate\": \"Compiling\",\n                    \"performanceindex\": {\n                        \"time\": \"17\",\n                        \"memory\": \"12836864\"\n                    }\n                }\n            },\n            {\n                \"id\": 2,\n                \"problem_id\": 1,\n                \"language\": \"Java\",\n                \"statistic_info\": {\n                    \"result\": 0,\n                    \"status\": \"ok\",\n                    \"errordetails\": {\n                        \"compile\": \"placeholder\",\n                        \"runtime\": \"placeholder\"\n                    },\n                    \"solutionstate\": \"Compiling\",\n                    \"performanceindex\": {\n                        \"time\": \"17\",\n                        \"memory\": \"12836864\"\n                    }\n                }\n            },\n            {\n                \"id\": 1,\n                \"problem_id\": 1,\n                \"language\": \"python\",\n                \"statistic_info\": {\n                    \"JudgeStatus\": 1\n                }\n            }\n        ],\n        \"accepted\": 37,\n        \"failed\": 78\n    }\n}"}],"_postman_id":"a4483d78-2f05-4c5d-ad62-6ee3be369929"}],"id":"9a296abc-70de-4c7b-9f11-8ad4dfbf1201","_postman_id":"9a296abc-70de-4c7b-9f11-8ad4dfbf1201"},{"name":"Submission","item":[{"name":"query a submission","id":"011e2162-7cb3-44e1-8c3c-ee2464738712","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/1"},"response":[{"id":"da04e403-9797-406d-afd8-fbe6d6d95b6c","name":"query a submission","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ee9a7474-7906-40d8-ab8c-dfb5388f88c6","name":"query a submission","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"492"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 2,\n            \"code\": \"import pdb\\r\\ndef app(environ, start_response):\\r\\n        data = b\\\"Hello, World!\\\\n\\\"\\r\\n        pdb.set_trace()\\r\\n        start_response(\\\"200 OK\\\", [\\r\\n            (\\\"Content-Type\\\", \\\"text/plain\\\"),\\r\\n            (\\\"Content-Length\\\", str(len(data)))\\r\\n        ])\\r\\n        return iter([data])\",\n            \"result\": 6,\n            \"info\": {\n                \"JudgeStatus\": 1\n            },\n            \"language\": \"python\",\n            \"statistic_info\": {\n                \"JudgeStatus\": 1\n            }\n        }\n    ]\n}"}],"_postman_id":"011e2162-7cb3-44e1-8c3c-ee2464738712"},{"name":"query List of submission","id":"fbe639bd-fe53-4ea0-8c8e-d74fa48fafbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/"},"response":[{"id":"760fecb4-2715-488a-98fa-e852ae75bf35","name":"query List of submission","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"6422"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 19,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_19.java:1: 错误: 需要class, interface或enumthis is the code placer^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-12-08 07:01:15.939318+00:00\"\n        },\n        {\n            \"id\": 18,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"4>8\",\n            \"result\": 6,\n            \"info\": {\n                \"age\": \"33\",\n                \"name\": \"ZhangSan\"\n            },\n            \"language\": \"java\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_18.java:1: 错误: 需要class, interface或enum4>8^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-12-06 20:22:18.233000+00:00\"\n        },\n        {\n            \"id\": 16,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_16.java:1: 错误: 需要class, interface或enumthis is the code placer^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-12-05 07:13:14.200326+00:00\"\n        },\n        {\n            \"id\": 15,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_15.java:1: 错误: 需要class, interface或enumthis is the code placer^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-12-05 07:13:12.344817+00:00\"\n        },\n        {\n            \"id\": 14,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_14.java:1: 错误: 需要class, interface或enumthis is the code placer^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-12-05 06:05:07.139768+00:00\"\n        },\n        {\n            \"id\": 13,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 14:47:21.179315+00:00\"\n        },\n        {\n            \"id\": 12,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code plac12er\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:35:08.515874+00:00\"\n        },\n        {\n            \"id\": 11,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code plac221er\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:35:02.389231+00:00\"\n        },\n        {\n            \"id\": 10,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer22\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:34:58.630551+00:00\"\n        },\n        {\n            \"id\": 9,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:25:44.972214+00:00\"\n        },\n        {\n            \"id\": 8,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:25:41.311144+00:00\"\n        },\n        {\n            \"id\": 7,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:23:51.327779+00:00\"\n        },\n        {\n            \"id\": 6,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 04:10:42.700883+00:00\"\n        },\n        {\n            \"id\": 5,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 03:18:07.128613+00:00\"\n        },\n        {\n            \"id\": 4,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"this is the code placer\",\n            \"result\": 6,\n            \"info\": [],\n            \"language\": \"\",\n            \"statistic_info\": [],\n            \"create_time\": \"2019-12-03 03:10:54.629751+00:00\"\n        },\n        {\n            \"id\": 3,\n            \"contest\": null,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"import java.util.Scanner;\\r\\npublic class Main{\\r\\n    public static void main(String[] args){\\r\\n        Scanner in=new Scanner(System.in);\\r\\n        int a=in.nextInt();\\r\\n        int b=in.nextInt();\\r\\n        System.out.println((a+b+1));  \\r\\n    }\\r\\n}\",\n            \"result\": -1,\n            \"info\": {\n                \"12\": 12\n            },\n            \"language\": \"C\",\n            \"statistic_info\": {\n                \"result\": -1,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"\",\n                    \"runtime\": \"Wrong output at index 0, right output should be 12 ....\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 101,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-11-14 01:02:05.249044+00:00\"\n        },\n        {\n            \"id\": 2,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"import java.util.Scanner;\\r\\npublic class Main{\\r\\n    public static void main(String[] args){\\r\\n        Scanner in=new Scanner(System.in);\\r\\n        int a=in.nextInt();\\r\\n        int b=in.nextInt();k\\r\\n        System.out.println((a+b));  \\r\\n    }\\r\\n}\",\n            \"result\": 6,\n            \"info\": [\n                1\n            ],\n            \"language\": \"Java\",\n            \"statistic_info\": {\n                \"result\": 6,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"Submission_2.java:7: 错误: 需要 ;         System.out.println((a+b));                ^1 个错误\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 0,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-11-14 00:40:53.470293+00:00\"\n        },\n        {\n            \"id\": 1,\n            \"contest\": 1,\n            \"problem\": 1,\n            \"username\": 1,\n            \"code\": \"import java.util.Scanner;\\r\\npublic class Submission_1{\\r\\n    public static void main(String[] args){\\r\\n        Scanner in=new Scanner(System.in);\\r\\n        int a=in.nextInt();\\r\\n        int b=in.nextInt();\\r\\n        System.out.println((a+b));  \\r\\n    }\\r\\n}\",\n            \"result\": 0,\n            \"info\": {\n                \"d\": 12\n            },\n            \"language\": \"Java\",\n            \"statistic_info\": {\n                \"result\": 0,\n                \"status\": \"ok\",\n                \"errordetails\": {\n                    \"compile\": \"\",\n                    \"runtime\": \"\"\n                },\n                \"solutionstate\": \"Finished\",\n                \"performanceindex\": {\n                    \"time\": 557,\n                    \"memory\": 0\n                }\n            },\n            \"create_time\": \"2019-11-14 00:32:39.742406+00:00\"\n        }\n    ]\n}"}],"_postman_id":"fbe639bd-fe53-4ea0-8c8e-d74fa48fafbd"}],"id":"530ed97a-8f90-47c8-89ab-7ed8f49ba32e","_postman_id":"530ed97a-8f90-47c8-89ab-7ed8f49ba32e"},{"name":"Problem","item":[{"name":"Problem","id":"34e1ce9b-41d6-433b-8762-fcde471fcd51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://47.101.167.9:5000/Problem/?DataPerPage=10&NumberOfPages=1","protocol":"http","host":["47","101","167","9"],"port":"5000","path":["Problem",""],"query":[{"key":"DataPerPage","value":"10"},{"key":"NumberOfPages","value":"1"}]}},"response":[{"id":"cf198af3-ccc5-4cf0-9999-7940c1239ba8","name":"Problem page","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/Problem?DataPerPage=4&NumberOfPages=2","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["Problem"],"query":[{"key":"DataPerPage","value":"4"},{"key":"NumberOfPages","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"494"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"NumOfProblems\": 12,\n        \"list\": [\n            {\n                \"title\": \"5\",\n                \"difficulty\": \"5\",\n                \"submission_number\": 0,\n                \"accepted_number\": 0,\n                \"tags\": 5,\n                \"problem_id\": 5\n            },\n            {\n                \"title\": \"6\",\n                \"difficulty\": \"6\",\n                \"submission_number\": 0,\n                \"accepted_number\": 0,\n                \"tags\": 6,\n                \"problem_id\": 6\n            },\n            {\n                \"title\": \"7\",\n                \"difficulty\": \"7\",\n                \"submission_number\": 0,\n                \"accepted_number\": 0,\n                \"tags\": 7,\n                \"problem_id\": 7\n            },\n            {\n                \"title\": \"8\",\n                \"difficulty\": \"8\",\n                \"submission_number\": 0,\n                \"accepted_number\": 0,\n                \"tags\": 8,\n                \"problem_id\": 8\n            }\n        ]\n    }\n}"}],"_postman_id":"34e1ce9b-41d6-433b-8762-fcde471fcd51"},{"name":"Problem-id","id":"abeae287-a237-49e2-8b03-4b9ae0516eae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Problem/3"},"response":[{"id":"332ea253-5ffd-4b50-90da-c63003a969f0","name":"Problem-id","originalRequest":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Problem/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1611"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"title\": \"Alphago的难题\",\n        \"description\": \"Alphago最近在玩一个游戏，alphogo给出了一个长度为n的序列，而且它认为，一段好的区间，它的长度是>=k的，且该区间的第k大的那个数，一定大于等于T。那么问题来了，alphogo想知道有多少好的区间。\\r\\n\\r\\n由于alphogo的序列长度实在是太大了，无法在规定时间内读入。\\r\\n\\r\\n于是它想了一个方法来生成数据。\\r\\n\\r\\n读入a[0],b,c,p，即a[i] = ( a[i-1] * b + c ) mod p\\r\\n\\r\\n\\r\\n\\r\\n解释下：\\r\\n\\r\\n对于重复的数字1，2，2 第一大是2，第二大也是2，第三大是1。\",\n        \"input_description\": \"读入一行，7个数字，表n(n<=10000000),k(k<=n),T,a[0],b,c,p。 所有数字均为正整数且小于等于10^9。\",\n        \"output_description\": \"输出一行表示好区间的个数。\",\n        \"input\": \"5 2 100 10 124 7 300\",\n        \"output\": \"7\",\n        \"submission_number\": 2,\n        \"accepted_number\": 1,\n        \"difficulty\": \"困难\",\n        \"tags\": 1,\n        \"hint\": \"1\",\n        \"problem_id\": 5\n    }\n}"},{"id":"74cff61d-b02d-4f17-87f4-8f45a12c97a1","name":"Problem-id","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Problem/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"249"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"title\": \"1\",\n        \"description\": \"1\",\n        \"input_description\": \"1\",\n        \"output_description\": \"1\",\n        \"input\": \"1\",\n        \"output\": \"1\",\n        \"submission_number\": 0,\n        \"accepted_number\": 0,\n        \"difficulty\": \"1\",\n        \"tags\": 1,\n        \"hint\": \"1\",\n        \"problem_id\": 1\n    }\n}"}],"_postman_id":"abeae287-a237-49e2-8b03-4b9ae0516eae"}],"id":"5366ad47-dfa3-4a11-ae0a-d4e78875660c","_postman_id":"5366ad47-dfa3-4a11-ae0a-d4e78875660c"},{"name":"Contest","item":[{"name":"Contest_list","id":"c52a4435-9e6a-4681-a65c-cb1811e1a4f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/Contest/?page_id=1&num_page=3","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["Contest",""],"query":[{"key":"page_id","value":"1"},{"key":"num_page","value":"3"}]}},"response":[{"id":"32302e6a-d50b-41c2-a955-4ee49d0e68ca","name":"Contest_list","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/Contest/?page_id=1&num_page=3","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["Contest",""],"query":[{"key":"page_id","value":"1"},{"key":"num_page","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"387"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"list\": [\n            {\n                \"title\": \"Contest 3\",\n                \"created_time\": \"2019-12-03T07:50:07.909Z\",\n                \"created_by\": 1,\n                \"visible\": true,\n                \"id\": 3\n            },\n            {\n                \"title\": \"Contest 2\",\n                \"created_time\": \"2019-12-03T07:49:20.062Z\",\n                \"created_by\": 1,\n                \"visible\": true,\n                \"id\": 2\n            },\n            {\n                \"title\": \"Contest 1\",\n                \"created_time\": \"2019-12-03T07:43:23.956Z\",\n                \"created_by\": 1,\n                \"visible\": true,\n                \"id\": 1\n            }\n        ],\n        \"total_page\": 1\n    }\n}"}],"_postman_id":"c52a4435-9e6a-4681-a65c-cb1811e1a4f5"},{"name":"Contest","id":"8ee65a8b-edf0-4674-9814-28594f10af81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Contest/1"},"response":[{"id":"52c63cbe-8215-4704-a71b-e00052452318","name":"Contest","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Contest/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"93"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"title\": \"Contest 3\",\n        \"difficulty\": \"Medium\"\n    },\n    \"Problem_list\": []\n}"},{"id":"77d094f4-f378-4c4c-b44b-dcc9997c7c88","name":"Contest","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Contest/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"177"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": 0,\n    \"data\": {\n        \"title\": \"Contest1\",\n        \"difficulty\": \"Easy\"\n    },\n    \"Problem_list\": [\n        {\n            \"id\": 1,\n            \"title\": \"Problem 1\",\n            \"description\": \"this is the description for Problem 1\"\n        }\n    ]\n}"}],"_postman_id":"8ee65a8b-edf0-4674-9814-28594f10af81"}],"id":"a62eab4b-95dd-4d52-92f0-ff851bc93d7e","_postman_id":"a62eab4b-95dd-4d52-92f0-ff851bc93d7e"},{"name":"server test","item":[{"name":"post Contest Announ","id":"18a503f0-4ccf-4015-9a90-a56c7ffdee6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/admin/Contest/contestannouncement/add/"},"response":[],"_postman_id":"18a503f0-4ccf-4015-9a90-a56c7ffdee6f"},{"name":"server : Announcement","id":"c879d803-038a-41c6-95bc-cc1c1d9c6e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Announcement/3"},"response":[{"id":"5f4e17c1-7740-48b3-83fc-c4f49daa9a23","name":"server : Announcement","originalRequest":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Announcement/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"377"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"data\": [\n        {\n            \"id\": 3,\n            \"content_text\": \"OnlineJudge公告页面会不定期公布本系统的升级时间、新模块发布时间以及各个模块的介绍说明，欢迎用户注册并开启编程之旅。\"\n        }\n    ]\n}"}],"_postman_id":"c879d803-038a-41c6-95bc-cc1c1d9c6e3b"},{"name":"server login","id":"1f53fad2-8269-4636-9cd7-94800060c0fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","type":"text","value":"admin"},{"key":"password","type":"text","value":"password"}]},"url":"http://47.101.167.9:5000/Account/login"},"response":[{"id":"73ca9c9d-8e85-480d-bafe-b8f7c4bee7a4","name":"server login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"http://47.101.167.9:5000/Account/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 04 Dec 2019 02:06:57 GMT"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Vary","value":"Cookie, Origin"},{"key":"Content-Length","value":"44"},{"key":"Set-Cookie","value":"csrftoken=YnwTd2nQTWmMcV6h3v5GoraiueUHVQs85FEWw5Yz7DhZEz2g2ZKbGzZHbsLrcgj6; expires=Wed, 02 Dec 2020 02:06:57 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"sessionid=dhr5g92kvf003irobcgxsnt93sopjjab; expires=Wed, 18 Dec 2019 02:06:57 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"You're logged in\"\n}"}],"_postman_id":"1f53fad2-8269-4636-9cd7-94800060c0fb"},{"name":"server logout","id":"897bc376-3a4a-4750-90d2-029069ce4e32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/logout"},"response":[{"id":"7bd04941-c43a-4fa1-a001-9552089344c3","name":"server logout","originalRequest":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/logout"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a7cc7237-1a75-49a2-8ebd-2d5eda6eb0fd","name":"server logout","originalRequest":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"34"},{"key":"Vary","value":"Origin"},{"key":"Set-Cookie","value":"sessionid=\"\"; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"message\": \"logout\"\n}"}],"_postman_id":"897bc376-3a4a-4750-90d2-029069ce4e32"},{"name":"server stat","id":"f0a26b11-9cf4-4cb1-a8c1-3decac0b5e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/stat"},"response":[],"_postman_id":"f0a26b11-9cf4-4cb1-a8c1-3decac0b5e9e"},{"name":"server register","id":"f5e6ef2d-0095-439c-af2f-ef5fb2ed4854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"TEST","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"email","value":"178@163.com","type":"text"}]},"url":"http://47.101.167.9:5000/Account/register"},"response":[],"_postman_id":"f5e6ef2d-0095-439c-af2f-ef5fb2ed4854"},{"name":"nginx","id":"789592bd-4329-4ac3-aaff-fd541cda4d70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":""},"response":[],"_postman_id":"789592bd-4329-4ac3-aaff-fd541cda4d70"}],"id":"5b3cbee7-dc0c-4f1f-9f0c-3ed1c308232a","_postman_id":"5b3cbee7-dc0c-4f1f-9f0c-3ed1c308232a"}]}