{"info":{"_postman_id":"069dafa1-220b-fbec-635a-d531ff74dc76","name":"Online_Judge","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Announcement","item":[{"name":"Announcement","id":"16de1aca-9ed1-4b08-2e4d-f1502f232fa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement"},"response":[{"id":"9782a8c8-5282-4c7d-baf3-dbbb3af2e025","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":"16de1aca-9ed1-4b08-2e4d-f1502f232fa9"},{"name":"Announcement - id","id":"2de9e181-4fd3-46ed-a8e1-a48229c32eaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Announcement/2"},"response":[{"id":"6a1e92c4-7f00-4cf3-8d1f-c7a17349c13a","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":"2de9e181-4fd3-46ed-a8e1-a48229c32eaa"}],"id":"7e18690b-7984-bbcc-03b6-6795848dbb1a","_postman_id":"7e18690b-7984-bbcc-03b6-6795848dbb1a"},{"name":"Forum","item":[{"name":"Forum post querying","id":"d9bd3794-cd1f-4dea-b91c-ce451293f1e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/1"},"response":[{"id":"2d03d603-5b8d-475e-89c2-56703215dc5f","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}"}],"_postman_id":"d9bd3794-cd1f-4dea-b91c-ce451293f1e0"},{"name":"new post","id":"8e46dfc7-ebd7-4461-9ee1-8c7df5d1c121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"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/"},"response":[{"id":"8d5ee649-a76a-4458-800a-e75badf70142","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}"},{"id":"e51da851-7b53-4523-bf98-0ec7efa1ff0d","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}"}],"_postman_id":"8e46dfc7-ebd7-4461-9ee1-8c7df5d1c121"},{"name":"comment on post","id":"7106dd08-bd75-47be-af5f-53a4f13e55f6","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":"b8afc868-5f28-416c-84eb-cffb1b36c407","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":"7106dd08-bd75-47be-af5f-53a4f13e55f6"},{"name":"comment on comment","id":"550ce457-290a-467e-981d-f85b4fcf4ed2","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":"0e21ee84-c1f7-48f7-aed9-180828c5fecd","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":"550ce457-290a-467e-981d-f85b4fcf4ed2"},{"name":"vote a post","id":"cb45647b-2139-4f5b-94ed-ecb418dd0f97","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":"96852af3-85f2-4aaa-af60-6e09ab5f9309","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":"cb45647b-2139-4f5b-94ed-ecb418dd0f97"},{"name":"vote a comment","id":"70fa65f6-bf4d-4f02-90c4-2f1ec36dbba3","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":"c8215481-e408-4e36-a59a-840d65dca83a","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":"70fa65f6-bf4d-4f02-90c4-2f1ec36dbba3"},{"name":"follow a user","id":"ad6a7e12-713f-4478-8f63-2d14543130ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"response":[{"id":"4394cc02-9c7f-490d-b266-66e07f205d4d","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":"ad6a7e12-713f-4478-8f63-2d14543130ce"},{"name":"trending","id":"0aa21970-e051-4af0-8902-06e54e69cf56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/trending"},"response":[{"id":"4e368ceb-14e5-459f-817c-739d06b115f1","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":"0aa21970-e051-4af0-8902-06e54e69cf56"},{"name":"follow another user","id":"4d376c8e-c606-4f0e-a594-ff6784845e43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Forum/follow/1"},"response":[{"id":"af7c7ba1-38a5-4ed0-9491-21bf8fc81054","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":"4d376c8e-c606-4f0e-a594-ff6784845e43"}],"id":"115ea12b-a5cf-4c9c-b90e-19d4f3d301a2","_postman_id":"115ea12b-a5cf-4c9c-b90e-19d4f3d301a2"},{"name":"Account","item":[{"name":"Login","id":"fddea70c-c8dd-4dce-b514-f15d4c340ca9","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":"44bc55c8-dc60-4106-9672-20b29d497ad6","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":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"845e7321-87b1-4618-b468-d31910cf1b08","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}"},{"id":"e0c916b9-6021-490f-bef8-2412c4818458","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}"}],"_postman_id":"fddea70c-c8dd-4dce-b514-f15d4c340ca9"},{"name":"Logout","id":"ff3f8bbd-d2db-46b3-a628-7d6a1b1c8174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Account/logout"},"response":[{"id":"5aae9f07-3105-4f1a-b7fc-b1fc7666e814","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":"ff3f8bbd-d2db-46b3-a628-7d6a1b1c8174"},{"name":"Register","id":"206224bf-aa2b-41f2-899e-419e75ac2813","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":"bae46fc3-1d14-4d0b-8c73-622b627dd636","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":"206224bf-aa2b-41f2-899e-419e75ac2813"},{"name":"Stat","id":"b57bf3cc-ee91-4a9a-adcf-3064cf419743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Account/stat"},"response":[{"id":"9e8de64b-242f-4c5c-9e74-86f8719880df","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":"b57bf3cc-ee91-4a9a-adcf-3064cf419743"}],"id":"87f7c0f7-9f94-44c1-b226-c94949110c35","_postman_id":"87f7c0f7-9f94-44c1-b226-c94949110c35"},{"name":"Submission","item":[{"name":"query a submission","id":"522c3dc8-c455-4491-a462-cc2d4228f620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/1"},"response":[{"id":"c34d8aa7-986d-4cff-a8ae-2feb5247ed01","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}"},{"id":"f2b4fc59-3111-4cde-86fa-e06dd7aa30d6","name":"query a submission","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/1"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"522c3dc8-c455-4491-a462-cc2d4228f620"},{"name":"query List of submission","id":"5c9a7c30-4c9d-4baa-b1a8-030f5e487cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:8000/Submission/"},"response":[{"id":"dc3b232d-26b5-493e-9155-e142e85f7a51","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":"5c9a7c30-4c9d-4baa-b1a8-030f5e487cb4"}],"id":"2b74b43a-04d3-43dc-9ebe-fcb1075647eb","_postman_id":"2b74b43a-04d3-43dc-9ebe-fcb1075647eb"},{"name":"Problem","item":[{"name":"Problem","id":"ebc3f3f1-59f4-4227-a382-d19d4c3b1d91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"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"}]}},"response":[{"id":"7b1cf0a9-f511-478e-8301-d8da367ef1bd","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":"ebc3f3f1-59f4-4227-a382-d19d4c3b1d91"},{"name":"Problem-id","id":"19ea2a61-7288-484e-9548-32def2fbb8ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Problem/1"},"response":[{"id":"871e6644-a442-47b7-bcab-a6ba9448bcea","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":"19ea2a61-7288-484e-9548-32def2fbb8ea"}],"id":"36c30103-8f37-405d-a052-39a544ca48ea","_postman_id":"36c30103-8f37-405d-a052-39a544ca48ea"},{"name":"Contest","item":[{"name":"Contest_list","id":"6d018613-4810-4c46-bb50-c54038ccccac","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":"cd6751b4-6330-491e-a8f6-aa125c8d57f1","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":"6d018613-4810-4c46-bb50-c54038ccccac"},{"name":"Contest","id":"75c04f8a-41a7-4d2b-9a79-6446e7244464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/Contest/1"},"response":[{"id":"9862a4a4-5789-477d-a93a-bd3f92d3151b","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}"},{"id":"b9aecdfd-a9e8-447a-a22e-966b2b6cec1a","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}"}],"_postman_id":"75c04f8a-41a7-4d2b-9a79-6446e7244464"}],"id":"367a0a76-3b9a-4fd2-abcc-b4774ab12040","_postman_id":"367a0a76-3b9a-4fd2-abcc-b4774ab12040"},{"name":"server test","item":[{"name":"post Contest Announ","id":"cbeb9eef-786c-4f7e-8934-44ffdbf58fd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/admin/Contest/contestannouncement/add/"},"response":[],"_postman_id":"cbeb9eef-786c-4f7e-8934-44ffdbf58fd6"},{"name":"server : Announcement","id":"901c8ae2-80de-4b7f-af27-91921e031d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Announcement/3"},"response":[{"id":"d16ef918-de3d-461c-af4a-592878201561","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":"901c8ae2-80de-4b7f-af27-91921e031d97"},{"name":"server login","id":"2f7fb99c-3734-457d-8a7b-c5f6efedc6af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","type":"text","value":"user8"},{"key":"password","type":"text","value":"password"}]},"url":"http://47.101.167.9:5000/Account/login"},"response":[{"id":"783a55e8-44fc-4ad5-a302-707916c1aaa6","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":"2f7fb99c-3734-457d-8a7b-c5f6efedc6af"},{"name":"server logout","id":"da9ef530-64d5-42b1-988b-da36ee389c3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/logout"},"response":[{"id":"4dc9c7ac-ffd5-481e-9b77-55fc140d959c","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}"},{"id":"e3286eb3-86c8-4936-809d-1bcefca3fa86","name":"server logout","originalRequest":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/logout"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"da9ef530-64d5-42b1-988b-da36ee389c3a"},{"name":"server stat","id":"d335bac7-362d-4fd5-8629-b1d087b594b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:5000/Account/stat"},"response":[],"_postman_id":"d335bac7-362d-4fd5-8629-b1d087b594b7"},{"name":"server register","id":"23cadeeb-fd3a-4be7-96f5-9d6cdd3c1d5a","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":"23cadeeb-fd3a-4be7-96f5-9d6cdd3c1d5a"},{"name":"nginx","id":"506cf812-692e-4069-8e34-dd079f8d3125","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://47.101.167.9:8080/api/Announcement/"},"response":[],"_postman_id":"506cf812-692e-4069-8e34-dd079f8d3125"}],"id":"01213309-10f0-4f7f-a670-a57c56f587e9","_postman_id":"01213309-10f0-4f7f-a670-a57c56f587e9"}]}