{"info":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","description":"<html><head></head><body><p>An Open Source API for creating surveys and polls to assist in university research.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19614303","collectionId":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","publishedId":"2s9YR6ZDRA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-15T07:01:13.000Z"},"item":[{"name":"workspaces","item":[{"name":"permissions","item":[{"name":"Get Workspace Permissions","id":"c980d724-84e7-454f-bdb5-d48ffbbd0468","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/permissions","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","permissions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"610e4c20-467e-4320-ae63-f58c539feeec","name":"List of all workspace permissions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//workspaces/permissions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}"}],"_postman_id":"c980d724-84e7-454f-bdb5-d48ffbbd0468"}],"id":"6e2e61d3-7f7b-4709-93f1-0d90293ad28b","_postman_id":"6e2e61d3-7f7b-4709-93f1-0d90293ad28b","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"{workspace_id}","item":[{"name":"groups","item":[{"name":"Get Groups","id":"66cb09f5-708f-4494-bea9-1219d54e171d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}/groups","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","groups"],"host":["/"],"query":[],"variable":[{"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"3d8e6f16-2a2e-462e-8ffe-51365342a5db","name":"List of all groups","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/groups","host":["/"],"path":["workspaces","{{workspace_id}}","groups"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"groups\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"},{"id":"b15e8404-79f1-4372-b106-63e76e7f5ab3","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/groups","host":["/"],"path":["workspaces","{{workspace_id}}","groups"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"66cb09f5-708f-4494-bea9-1219d54e171d"},{"name":"Create Group","event":[{"listen":"test","script":{"id":"9061136f-9d58-4f9d-a5a2-0ba90d952d04","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","    pm.environment.set(\"group_id\", pm.response.json().id);","});"],"type":"text/javascript"}}],"id":"2df48514-e5fa-45f7-90a9-31ad066121f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces/{{workspace_id}}/groups","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","groups"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"9961dd3b-172b-4079-8e8d-af8d2d572a6b","name":"Created Group","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/groups","host":["/"],"path":["workspaces","{{workspace_id}}","groups"],"variable":[{"key":"workspace_id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"56c4c51e-6846-41ca-89ce-420922d919f9","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/groups","host":["/"],"path":["workspaces","{{workspace_id}}","groups"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"2df48514-e5fa-45f7-90a9-31ad066121f8"}],"id":"c1df99a2-f847-482d-84ab-20d33836df5b","_postman_id":"c1df99a2-f847-482d-84ab-20d33836df5b","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"members","item":[{"name":"{account_id}","item":[{"name":"Remove Workspace Member","id":"b3471254-8870-4848-a9d9-62de0d338937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}/members/{{client_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","members","{{client_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"},{"description":{"content":"<p>(Required) Account ID of the member to remove</p>\n","type":"text/plain"},"type":"any","value":"{{member_id}}","key":"account_id"}]}},"response":[{"id":"01a2cb62-03b0-4b1f-9553-72df67e30188","name":"Updated list removed members","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/members/{{client_id}}","host":["/"],"path":["workspaces","{{workspace_id}}","members","{{client_id}}"],"variable":[{"key":"workspace_id"},{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"6774ba95-58fa-443d-8644-fe132eab57a0","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/members/{{client_id}}","host":["/"],"path":["workspaces","{{workspace_id}}","members","{{client_id}}"],"variable":[{"key":"workspace_id"},{"key":"account_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"b3471254-8870-4848-a9d9-62de0d338937"}],"id":"1a1907f5-d114-48e0-8043-ab4d052ee988","_postman_id":"1a1907f5-d114-48e0-8043-ab4d052ee988","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Workspace Members","id":"c71c6bb5-1b65-4a33-b839-e4b618e21a1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}/members","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","members"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"23d52dc6-ac22-439d-a1bc-dad18e747791","name":"List of all groups","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/members","host":["/"],"path":["workspaces","{{workspace_id}}","members"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"members\": [\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"},{"id":"0845dd77-3cde-4ee7-911f-a33c2b44e107","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/members","host":["/"],"path":["workspaces","{{workspace_id}}","members"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"c71c6bb5-1b65-4a33-b839-e4b618e21a1a"},{"name":"Add Workspace Members","id":"c6ce6e8a-4afe-4d34-b9be-0464b2f03520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces/{{workspace_id}}/members","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","members"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"5deb7dc4-e84d-4396-984f-0d0847fed17c","name":"List added members","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/members","host":["/"],"path":["workspaces","{{workspace_id}}","members"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"members\": [\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"},{"id":"2b435f28-13a1-4263-a5ef-5903bf234c5b","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/members","host":["/"],"path":["workspaces","{{workspace_id}}","members"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"c6ce6e8a-4afe-4d34-b9be-0464b2f03520"}],"id":"ed92b71e-d504-4523-8bc2-601659d826d8","_postman_id":"ed92b71e-d504-4523-8bc2-601659d826d8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"policies","item":[{"name":"Get Workspace Policies","event":[{"listen":"test","script":{"id":"ffd0b16e-c8e5-4d50-9802-fbf8ff55efc2","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","","    for (i in pm.response.json().policies) {","        if (i.policy_holder.id == pm.environment.get(\"client_id\")) {","            pm.environment.set(\"policy_id\", pm.response.json().id);","        }","    }","});"],"type":"text/javascript"}}],"id":"93dada1d-001d-487f-97b8-1c220b1d5c4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}/policies?account_id={{client_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","policies"],"host":["/"],"query":[{"key":"account_id","value":"{{client_id}}"},{"disabled":true,"key":"member_id","value":"{{member_id}}"}],"variable":[{"id":"266ab659-f735-4257-9e52-77c640cbbbc0","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"workspace_id"}]}},"response":[{"id":"4cd2766b-48e9-4429-8efa-05642c82c514","name":"List of all policies","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/policies","host":["/"],"path":["workspaces","{{workspace_id}}","policies"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"policies\": [\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    }\n  ]\n}"},{"id":"905c400c-cfab-48d5-8ad1-b2bf0015a209","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/policies","host":["/"],"path":["workspaces","{{workspace_id}}","policies"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"variable":[{"id":"266ab659-f735-4257-9e52-77c640cbbbc0","key":"workspace_id","value":"<string>","description":"(Required) "}],"_postman_id":"93dada1d-001d-487f-97b8-1c220b1d5c4a"},{"name":"Set Workspace Policy","id":"14099649-3adc-47b0-a83e-de37236c7dd6","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [\n        \"get_workspace\",\n        \"update_workspace\",\n        \"delete_workspace\",\n        \"get_members\",\n        \"add_members\",\n        \"remove_members\",\n        \"get_groups\",\n        \"add_groups\",\n        \"update_groups\",\n        \"delete_groups\",\n        \"get_policies\",\n        \"add_policies\",\n        \"update_policies\",\n        \"delete_policies\",\n        \"get_polls\",\n        \"create_polls\",\n        \"delete_polls\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces/{{workspace_id}}/policies/{{policy_id}}","description":"<p>Sets the permissions for a user in a workspace.\nQuery parameters:\n    @param workspace_id: id of the workspace to update\nBody parameters:</p>\n<ul>\n<li><strong>user_id</strong> (str): id of the user to update</li>\n<li><strong>permissions</strong> (int): new permissions for the user</li>\n</ul>\n<p>Returns the updated workspace.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","policies","{{policy_id}}"],"host":["/"],"query":[],"variable":[{"type":"any","value":"{{workspace_id}}","key":"workspace_id"},{"type":"any","value":"{{policy_id}}","key":"policy_id"}]}},"response":[{"id":"358a6911-aa37-4c97-a309-49f7e9141ff1","name":"Updated permissions","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"group_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/policies/{{policy_id}}","host":["/"],"path":["workspaces","{{workspace_id}}","policies","{{policy_id}}"],"variable":[{"key":"workspace_id"},{"key":"policy_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_holder\": {\n    \"title\": \"Policy Holder\"\n  }\n}"},{"id":"36ceaeaf-2298-485a-861b-3436416e1cac","name":"Validation Error","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"group_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/policies/{{policy_id}}","host":["/"],"path":["workspaces","{{workspace_id}}","policies","{{policy_id}}"],"variable":[{"key":"workspace_id"},{"key":"policy_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"14099649-3adc-47b0-a83e-de37236c7dd6"}],"id":"7dd56684-7097-4c43-8eb0-a91937055a49","_postman_id":"7dd56684-7097-4c43-8eb0-a91937055a49","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"polls","item":[{"name":"Get Polls","id":"5dd303ca-115f-41bd-bfc7-426b6088c76a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}/polls","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","polls"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"ef7de899-25c6-4a68-86c1-13144a2df9a5","name":"List of all polls in the workspace","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/polls","host":["/"],"path":["workspaces","{{workspace_id}}","polls"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"polls\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"public\": \"<boolean>\",\n      \"published\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"public\": \"<boolean>\",\n      \"published\": \"<boolean>\"\n    }\n  ]\n}"},{"id":"eaaba122-7bd5-480e-8d1b-d0ef1153ba10","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}/polls","host":["/"],"path":["workspaces","{{workspace_id}}","polls"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"5dd303ca-115f-41bd-bfc7-426b6088c76a"},{"name":"Create Poll","event":[{"listen":"test","script":{"id":"48b28f08-64d8-42a2-ad0a-feaaa725b305","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","    pm.environment.set(\"poll_id\", pm.response.json().id);","});"],"type":"text/javascript"}}],"id":"34bfc9d6-56d4-40c8-a756-1d9d9997ca07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces/{{workspace_id}}/polls","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}","polls"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"710858f6-e0d6-407f-a2a0-91d878b13888","name":"Created poll","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/polls","host":["/"],"path":["workspaces","{{workspace_id}}","polls"],"variable":[{"key":"workspace_id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"id\": \"<string>\",\n  \"workspace\": {},\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}"},{"id":"48c2d40d-c711-4909-ba9a-4ec261cc4420","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}/polls","host":["/"],"path":["workspaces","{{workspace_id}}","polls"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"34bfc9d6-56d4-40c8-a756-1d9d9997ca07"}],"id":"8af983ee-5536-4422-9f1e-cf97e5a80766","_postman_id":"8af983ee-5536-4422-9f1e-cf97e5a80766","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Workspace","id":"936083c3-6c12-428f-99cd-a09eeedf78b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/:workspace_id?include=all","description":"<h3 id=\"description\">Description:</h3>\n<p>Endpoint to get a workspace with the given id.\nBy default, it returns the basic information of the workspace such as id, name, and description.\nThe user can specify other resources to include in the response using the query parameters.</p>\n<p>For example, to include groups and members in the response, the user can send the following GET request:</p>\n<blockquote>\n<p><code>/workspaces/6497fdbafe12e8ff9017f253?include=groups&amp;include=members</code></p>\n</blockquote>\n<p>To include all resources, the user can send the following GET request:</p>\n<blockquote>\n<p><code>/workspaces/6497fdbafe12e8ff9017f253?include=all</code></p>\n</blockquote>\n<p>To get basic information of the workspace, the user can send the following GET request:</p>\n<blockquote>\n<p><code>/workspaces/6497fdbafe12e8ff9017f253</code></p>\n</blockquote>\n<h3 id=\"path-parameters\">Path parameters:</h3>\n<ul>\n<li><strong>workspace_id</strong> (str): id of the workspace</li>\n</ul>\n<h3 id=\"query-parameters\">Query parameters:</h3>\n<ul>\n<li><p><strong>include</strong> (str): resources to include in the response</p>\n<h4 id=\"possible-values\">Possible values:</h4>\n<ul>\n<li><strong>groups</strong>: include groups in the response</li>\n<li><strong>members</strong>: include members in the response</li>\n<li><strong>policies</strong>: include policies in the response</li>\n<li><strong>all</strong>: include all resources in the response</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response:</h3>\n<p>Returns a workspace with the given id.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces",":workspace_id"],"host":["/"],"query":[{"description":{"content":"<p>Include all the resources (members, groups, policies, polls)</p>\n","type":"text/plain"},"key":"include","value":"all"},{"disabled":true,"description":{"content":"<p>Include Members</p>\n","type":"text/plain"},"key":"include","value":"members"},{"disabled":true,"description":{"content":"<p>Include Policies</p>\n","type":"text/plain"},"key":"include","value":"policies"},{"disabled":true,"description":{"content":"<p>Include Groups</p>\n","type":"text/plain"},"key":"include","value":"groups"},{"disabled":true,"description":{"content":"<p>Include Polls</p>\n","type":"text/plain"},"key":"include","value":"polls"}],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"3a353893-1eae-4597-9fdc-af10a9faf901","name":"Workspace data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}?include=members","host":["/"],"path":["workspaces","{{workspace_id}}"],"query":[{"key":"include","value":"members"}],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"e872f5ae-db2c-4102-9335-1268f30956ac","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}?include=members","host":["/"],"path":["workspaces","{{workspace_id}}"],"query":[{"key":"include","value":"members"}],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"936083c3-6c12-428f-99cd-a09eeedf78b9"},{"name":"Update Workspace","id":"065c6b09-c7b9-4364-8225-7bc526372933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces/{{workspace_id}}","description":"<p>Updates the workspace with the given id.\nQuery parameters:\n    @param workspace_id: id of the workspace to update\nBody parameters:</p>\n<ul>\n<li><strong>name</strong> (str): name of the workspace, must be unique</li>\n<li><strong>description</strong> (str): description of the workspace</li>\n</ul>\n<p>Returns the updated workspace.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}"],"host":["/"],"query":[],"variable":[{"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"54b83c82-f250-4e1d-ab15-4b22a927687d","name":"Updated workspace","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}","host":["/"],"path":["workspaces","{{workspace_id}}"],"variable":[{"key":"workspace_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"353a3209-2720-4f6b-895f-611b2fb1bcfb","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//workspaces/{{workspace_id}}","host":["/"],"path":["workspaces","{{workspace_id}}"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"065c6b09-c7b9-4364-8225-7bc526372933"},{"name":"Delete Workspace","id":"9ddb471e-bde1-4ce1-ae51-4d3bd568e227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces/{{workspace_id}}","description":"<p>Deletes the workspace with the given id.\nQuery parameters:\n    @param workspace_id: id of the workspace to delete</p>\n<p>Returns status code 204 if the workspace is deleted successfully.\nResponse has no detail.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces","{{workspace_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{workspace_id}}","key":"workspace_id"}]}},"response":[{"id":"189fa188-15d5-49e6-a9b7-e7a4046e5ec1","name":"Deleted workspace","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}","host":["/"],"path":["workspaces","{{workspace_id}}"],"variable":[{"key":"workspace_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d3988772-0db0-4fb2-a36d-193a6c54fa99","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//workspaces/{{workspace_id}}","host":["/"],"path":["workspaces","{{workspace_id}}"],"variable":[{"key":"workspace_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"9ddb471e-bde1-4ce1-ae51-4d3bd568e227"}],"id":"b25a5ef3-5ac7-4922-b901-2a069cdf38c8","_postman_id":"b25a5ef3-5ac7-4922-b901-2a069cdf38c8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Workspaces","id":"467d6f60-893f-4db4-8b6d-fca00d986a39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//workspaces","description":"<p>Returns all workspaces where the current user is a member.\nThe request does not accept any query parameters.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cc7b5917-05af-4d02-8d70-241007a0cd45","name":"List of all workspaces","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//workspaces"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"workspaces\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"467d6f60-893f-4db4-8b6d-fca00d986a39"},{"name":"Create Workspace","event":[{"listen":"test","script":{"id":"a3baab4b-b7a2-4707-8c12-8ecc9f2d678c","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","    pm.environment.set(\"workspace_id\", pm.response.json().id);","});"],"type":"text/javascript"}}],"id":"c1d3f7a2-49c4-460e-8869-7564722d11da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces","description":"<p>Creates a new workspace for the current user.\nBody parameters:</p>\n<ul>\n<li><strong>name</strong> (str): name of the workspace, must be unique</li>\n<li><strong>description</strong> (str): description of the workspace</li>\n</ul>\n<p>Returns the created workspace information.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["workspaces"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"7c049530-b343-4ef1-966b-5b35967fe816","name":"Created workspaces","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"ef1a698d-9863-44f5-be70-59d2aa992093","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//workspaces"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"c1d3f7a2-49c4-460e-8869-7564722d11da"}],"id":"be3c5acd-f6f0-4ee3-9ad1-b33e86b11be8","_postman_id":"be3c5acd-f6f0-4ee3-9ad1-b33e86b11be8","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"groups","item":[{"name":"permissions","item":[{"name":"Get Group Permissions","id":"0dc103b4-2eb8-4744-99ac-fd66c8c4837c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/permissions","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","permissions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c3a8b6b4-3fb4-4ca0-a4c1-362efe2f19ee","name":"List of all Group permissions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//groups/permissions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}"}],"_postman_id":"0dc103b4-2eb8-4744-99ac-fd66c8c4837c"}],"id":"0bdcd994-0dc7-447c-a942-ba267acc4cf9","_postman_id":"0bdcd994-0dc7-447c-a942-ba267acc4cf9","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"{group_id}","item":[{"name":"members","item":[{"name":"{account_id}","item":[{"name":"Remove Group Member","id":"8d2fc311-d710-4436-a832-4faf29a417fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/{{group_id}}/members/{{client_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}","members","{{client_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"},{"description":{"content":"<p>(Required) Account ID of the member to remove</p>\n","type":"text/plain"},"type":"any","value":"{{client_id}}","key":"account_id"}]}},"response":[{"id":"daef793e-5ad7-4f4b-a757-aa0795df37cd","name":"Updated list removed members","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/members/{{client_id}}","host":["/"],"path":["groups","{{group_id}}","members","{{client_id}}"],"variable":[{"key":"group_id"},{"key":"account_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1af33dbf-fe9b-41c1-bbcb-096b96e57720","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/members/{{client_id}}","host":["/"],"path":["groups","{{group_id}}","members","{{client_id}}"],"variable":[{"key":"group_id"},{"key":"account_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"8d2fc311-d710-4436-a832-4faf29a417fe"}],"id":"1e911d8a-85e7-4ba1-8e3a-3301830311d9","_postman_id":"1e911d8a-85e7-4ba1-8e3a-3301830311d9","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Group Members","id":"98adba1a-4f14-4ac9-ab23-b1ed5f3968b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/{{group_id}}/members","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}","members"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"}]}},"response":[{"id":"e5c55fb0-63df-4579-9ced-c7d8cb36ab27","name":"List of group members","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/members","host":["/"],"path":["groups","{{group_id}}","members"],"variable":[{"key":"group_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"members\": [\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"},{"id":"3e20badc-0233-4bb9-accf-2f39d7e62318","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/members","host":["/"],"path":["groups","{{group_id}}","members"],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"98adba1a-4f14-4ac9-ab23-b1ed5f3968b6"},{"name":"Add Group Members","id":"b4ac87dc-aa13-4c3d-ae0b-ad0ddf45a8f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/{{group_id}}/members","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}","members"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"}]}},"response":[{"id":"1ee95c42-5107-43e8-af83-18e8aa69c9af","name":"List of group members","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}/members","host":["/"],"path":["groups","{{group_id}}","members"],"variable":[{"key":"group_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"members\": [\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  ]\n}"},{"id":"b2e7d852-1105-4e82-9196-df0fc7f65dcf","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"accounts\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}/members","host":["/"],"path":["groups","{{group_id}}","members"],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"b4ac87dc-aa13-4c3d-ae0b-ad0ddf45a8f8"}],"id":"d892508c-6b6e-4d10-8014-894fc69f653e","_postman_id":"d892508c-6b6e-4d10-8014-894fc69f653e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"policies","item":[{"name":"Get Group Policies","event":[{"listen":"test","script":{"id":"44103654-5dc8-4a80-ab01-cda3e72376b9","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","","    for (i in pm.response.json().policies) {","        if (i.policy_holder.id == pm.environment.get(\"client_id\")) {","            pm.environment.set(\"policy_id\", pm.response.json().id);","        }","    }","});"],"type":"text/javascript"}}],"id":"ec1a9bf6-96be-4e7d-85fd-809bab78880c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/{{group_id}}/policies?account_id={{client_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}","policies"],"host":["/"],"query":[{"key":"account_id","value":"{{client_id}}"},{"disabled":true,"key":"member_id","value":"{{member_id}}"}],"variable":[{"id":"be0757fc-5df4-484e-a35c-ff6b7f2ab8a1","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"group_id"}]}},"response":[{"id":"520235a8-d85a-4d36-b21f-2f7eef1919a4","name":"List of all policies","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/policies","host":["/"],"path":["groups","{{group_id}}","policies"],"variable":[{"key":"group_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"policies\": [\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    }\n  ]\n}"},{"id":"926f88a9-e037-460c-91fa-edc8bc612637","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}/policies","host":["/"],"path":["groups","{{group_id}}","policies"],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"variable":[{"id":"be0757fc-5df4-484e-a35c-ff6b7f2ab8a1","key":"group_id","value":"<string>","description":"(Required) "}],"_postman_id":"ec1a9bf6-96be-4e7d-85fd-809bab78880c"},{"name":"Set Group Policy","id":"09d66632-481f-4446-9c6c-efa7a0a2872e","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"group_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/{{group_id}}/policies/{{policy_id}}","description":"<p>Sets the permissions for a user in a workspace.\nQuery parameters:\n    @param workspace_id: id of the workspace to update\nBody parameters:</p>\n<ul>\n<li><strong>user_id</strong> (str): id of the user to update</li>\n<li><strong>permissions</strong> (int): new permissions for the user</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}","policies","{{policy_id}}"],"host":["/"],"query":[],"variable":[{"type":"any","value":"{{group_id}}","key":"group_id"},{"type":"any","value":"{{policy_id}}","key":"policy_id"}]}},"response":[{"id":"96fcf599-3aab-4534-a7a8-fa992c667a5a","name":"Updated policy","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"group_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}/policies/{{policy_id}}","host":["/"],"path":["groups","{{group_id}}","policies","{{policy_id}}"],"variable":[{"key":"group_id"},{"key":"policy_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_holder\": {\n    \"title\": \"Policy Holder\"\n  }\n}"},{"id":"e77f533c-8ba7-49b9-a7c4-2fe3a3a426fd","name":"Validation Error","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"permissions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"policy_id\": \"<string>\",\n  \"account_id\": \"<string>\",\n  \"group_id\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}/policies/{{policy_id}}","host":["/"],"path":["groups","{{group_id}}","policies","{{policy_id}}"],"variable":[{"key":"group_id"},{"key":"policy_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"09d66632-481f-4446-9c6c-efa7a0a2872e"}],"id":"b1aec335-390c-4408-a56b-a5e4c127b2c6","_postman_id":"b1aec335-390c-4408-a56b-a5e4c127b2c6","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Group","id":"310330a5-5633-41b0-9e9a-7c598f305c27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/{{group_id}}?include=all&include=policies&include=members","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}"],"host":["/"],"query":[{"key":"include","value":"all"},{"key":"include","value":"policies"},{"key":"include","value":"members"}],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"}]}},"response":[{"id":"973ff853-4d8e-450a-aae7-b19dd107e4b8","name":"Get a group","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}?include=policies","host":["/"],"path":["groups","{{group_id}}"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"group_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"workspace\": {}\n}"},{"id":"42242103-af0f-4d51-927c-4e2deaae279d","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}?include=policies","host":["/"],"path":["groups","{{group_id}}"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"310330a5-5633-41b0-9e9a-7c598f305c27"},{"name":"Update Group","id":"b7bf9d02-c205-4327-ac3f-fccc9db20c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/{{group_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"}]}},"response":[{"id":"3022d5ba-82d7-4630-b8bd-2a21e08f811d","name":"Update a group","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}","host":["/"],"path":["groups","{{group_id}}"],"variable":[{"key":"group_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"3a632dd3-d86f-4ce2-9366-aaac5316cf37","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//groups/{{group_id}}","host":["/"],"path":["groups","{{group_id}}"],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"b7bf9d02-c205-4327-ac3f-fccc9db20c7e"},{"name":"Delete Group","id":"36add7ee-b6b3-41ba-8547-b274d844a730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/{{group_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups","{{group_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{group_id}}","key":"group_id"}]}},"response":[{"id":"248c7024-1b9e-439a-a780-0b08f2f56d0f","name":"Delete a group","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}","host":["/"],"path":["groups","{{group_id}}"],"variable":[{"key":"group_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5618ebc1-e2fd-413f-ba21-572505445405","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/{{group_id}}","host":["/"],"path":["groups","{{group_id}}"],"variable":[{"key":"group_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"36add7ee-b6b3-41ba-8547-b274d844a730"}],"id":"d4ee0ebb-b8dd-4874-b4fa-f8cfbf050490","_postman_id":"d4ee0ebb-b8dd-4874-b4fa-f8cfbf050490","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get All Groups","id":"bb4a7355-ce70-4bd2-a0ba-9dbaaa4b4f0c","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//groups/?workspace={{workspace_id}}&account={{client_id}}&name=Group Name","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups",""],"host":["/"],"query":[{"key":"workspace","value":"{{workspace_id}}"},{"key":"account","value":"{{client_id}}"},{"key":"name","value":"Group Name"}],"variable":[]}},"response":[{"id":"a245ef59-be8d-4b0f-b1ff-d9e100e8534a","name":"List of groups","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/?workspace=<string>&account=<string>&name=<string>","host":["/"],"path":["groups",""],"query":[{"key":"workspace","value":"<string>"},{"key":"account","value":"<string>"},{"key":"name","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"groups\": [\n    {\n      \"id\": \"irure exercitation ut ea\",\n      \"name\": \"dolor adipisicing dolore ut sit\",\n      \"description\": null,\n      \"workspace\": null\n    },\n    {\n      \"id\": \"quis veniam\",\n      \"name\": null,\n      \"description\": null,\n      \"workspace\": null\n    }\n  ]\n}"},{"id":"73190ea3-8def-4939-ae73-f11befaa3e18","name":"Validation Error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//groups/?workspace=<string>&account=<string>&name=<string>","host":["/"],"path":["groups",""],"query":[{"key":"workspace","value":"<string>"},{"key":"account","value":"<string>"},{"key":"name","value":"<string>"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"bb4a7355-ce70-4bd2-a0ba-9dbaaa4b4f0c"},{"name":"Create Group","event":[{"listen":"test","script":{"id":"d71c00c3-446e-4ce1-8033-6743756b2c3a","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","    pm.environment.set(\"group_id\", pm.response.json().id);","});"],"type":"text/javascript"}}],"id":"3054cd78-6fc1-479c-a9df-f3b67ed92582","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"workspace\": \"<string>\",\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["groups",""],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"19c4d8d0-464d-49e2-8d72-ff21eb9f5008","name":"Created Group","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"workspace\": \"<string>\",\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"qui non cillum in esse\",\n  \"name\": \"velit sunt laborum occaecat\",\n  \"description\": \"eu dolor\"\n}"},{"id":"4fa1bd14-447f-49e5-bdb4-d1a55568c138","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"workspace\": \"<string>\",\n  \"name\": \"\",\n  \"description\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//groups/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"3054cd78-6fc1-479c-a9df-f3b67ed92582"}],"id":"cdb45302-c06c-467e-b184-6d50fdee214c","_postman_id":"cdb45302-c06c-467e-b184-6d50fdee214c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"polls","item":[{"name":"{poll_id}","item":[{"name":"questions","item":[{"name":"Get Questions","id":"df884988-f134-43ef-b1fd-40df5c3e59cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//polls/{{poll_id}}/questions?include=all&include=policies","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["polls","{{poll_id}}","questions"],"host":["/"],"query":[{"key":"include","value":"all"},{"key":"include","value":"policies"}],"variable":[{"id":"910db672-cb3b-4d51-86b6-535cbaec64e9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"poll_id"}]}},"response":[{"id":"71aa71e5-942b-42fc-a592-e4e14e24934a","name":"Questions in a poll","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}/questions?include=policies","host":["/"],"path":["polls","{{poll_id}}","questions"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}"},{"id":"116700c2-dab1-418f-8b62-81b20db85eb4","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}/questions?include=policies","host":["/"],"path":["polls","{{poll_id}}","questions"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"df884988-f134-43ef-b1fd-40df5c3e59cb"}],"id":"a4972f06-7f54-4c32-aaa5-fc28a75ada45","_postman_id":"a4972f06-7f54-4c32-aaa5-fc28a75ada45","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"policies","item":[{"name":"Get Policies","id":"489fba68-30be-4c5f-a344-e25791f89c9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//polls/{{poll_id}}/policies?include=all&include=policies","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["polls","{{poll_id}}","policies"],"host":["/"],"query":[{"key":"include","value":"all"},{"key":"include","value":"policies"}],"variable":[{"id":"2b0d4eed-d29b-4ddf-8de2-40fe87869284","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"poll_id"}]}},"response":[{"id":"c7071426-fb11-4acf-b0ef-99a91bce48e6","name":"Policy list of a poll","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}/policies?include=policies","host":["/"],"path":["polls","{{poll_id}}","policies"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"policies\": [\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"policy_holder_type\": \"group\",\n      \"policy_holder\": {\n        \"title\": \"Policy Holder\"\n      },\n      \"permissions\": {}\n    }\n  ]\n}"},{"id":"17e2cf4d-80df-4a3b-898f-08f41d453926","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}/policies?include=policies","host":["/"],"path":["polls","{{poll_id}}","policies"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"489fba68-30be-4c5f-a344-e25791f89c9f"}],"id":"ddd1b7ee-0d04-4ab8-86e1-596ae4eaaeba","_postman_id":"ddd1b7ee-0d04-4ab8-86e1-596ae4eaaeba","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get Poll","id":"0099c9b7-d9a3-46bb-b83e-5a52adf28f06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//polls/{{poll_id}}?include=all&include=policies&include=questions","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["polls","{{poll_id}}"],"host":["/"],"query":[{"key":"include","value":"all"},{"key":"include","value":"policies"},{"key":"include","value":"questions"}],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{poll_id}}","key":"poll_id"}]}},"response":[{"id":"c7515ec3-c335-44f5-93ab-9ce73c198c37","name":"Poll details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}?include=policies","host":["/"],"path":["polls","{{poll_id}}"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"id\": \"<string>\",\n  \"workspace\": {},\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}"},{"id":"d88e1cdd-e62b-41c1-80e9-8983d83c6a41","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}?include=policies","host":["/"],"path":["polls","{{poll_id}}"],"query":[{"key":"include","value":"policies"}],"variable":[{"key":"poll_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"0099c9b7-d9a3-46bb-b83e-5a52adf28f06"},{"name":"Update Poll","id":"0f48d070-1e79-4ed7-8161-098efa8e90f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//polls/{{poll_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["polls","{{poll_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{poll_id}}","key":"poll_id"}]}},"response":[{"id":"672dc7f9-3391-4007-9cef-4ca671691ec0","name":"Update Poll detail","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//polls/{{poll_id}}","host":["/"],"path":["polls","{{poll_id}}"],"variable":[{"key":"poll_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"id\": \"<string>\",\n  \"workspace\": {},\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}"},{"id":"821849ea-50d7-45e4-89b8-b3e6319cf998","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"public\": \"<boolean>\",\n  \"published\": \"<boolean>\",\n  \"questions\": [\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    },\n    {\n      \"id\": \"<integer>\",\n      \"question\": \"<string>\",\n      \"question_type\": \"<string>\",\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"correct_answer\": [\n        \"<integer>\",\n        \"<integer>\"\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//polls/{{poll_id}}","host":["/"],"path":["polls","{{poll_id}}"],"variable":[{"key":"poll_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"0f48d070-1e79-4ed7-8161-098efa8e90f4"},{"name":"Delete Poll","id":"144f6d73-ff9e-4641-a557-28e0ed4720b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//polls/{{poll_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["polls","{{poll_id}}"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{poll_id}}","key":"poll_id"}]}},"response":[{"id":"61c5537e-1d99-449a-830f-d301f8dca819","name":"Result of delete operation","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}","host":["/"],"path":["polls","{{poll_id}}"],"variable":[{"key":"poll_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"4321ced6-97ad-41e1-ae53-7e4713b1ddc1","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//polls/{{poll_id}}","host":["/"],"path":["polls","{{poll_id}}"],"variable":[{"key":"poll_id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"144f6d73-ff9e-4641-a557-28e0ed4720b2"}],"id":"17cd0b27-cf30-49b3-aaf5-a9e9bdf1f209","_postman_id":"17cd0b27-cf30-49b3-aaf5-a9e9bdf1f209","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}}],"id":"77cb15f9-9012-4117-82c5-3ebcc8c1c5da","_postman_id":"77cb15f9-9012-4117-82c5-3ebcc8c1c5da","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"accounts","item":[{"name":"me","item":[{"name":"Users:Current User","id":"cf7e13a4-9900-4a7f-8efa-9f26d78cbbd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//accounts/me","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts","me"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"82f255a3-c58c-4924-bd3b-1eb1dde5d80e","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//accounts/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Hwgclq\"\n}"},{"id":"89b3e6a7-c6b7-4da3-a90b-bf2fd2aa6386","name":"Missing token or inactive user.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//accounts/me"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cf7e13a4-9900-4a7f-8efa-9f26d78cbbd2"},{"name":"Delete My Account","id":"aae1e40a-fb05-40b0-b3ea-56eea105b9f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"//accounts/me","description":"<h2 id=\"delete-current-user-account\">Delete current user account</h2>\n<p>This route deletes the account of the currently logged in user.</p>\n<h3 id=\"request-body\">Request body</h3>\n<ul>\n<li><strong>user</strong> - User object</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p><strong>204</strong> - <em>The account has been deleted</em></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts","me"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"78d98f90-1db2-4143-8b1c-d7cae3c33eba","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//accounts/me"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"aae1e40a-fb05-40b0-b3ea-56eea105b9f9"},{"name":"Users:Patch Current User","id":"ea4da559-1223-48e8-9b0e-ce2ac7dabf7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"Lsxmd\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/me","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts","me"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"00addde5-27d1-44dc-b104-6b9968e1d816","name":"Successful Response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Eofauvxx\"\n}"},{"id":"589dfe60-bf72-446c-b1bb-8fe041f0a0c5","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/me"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"947e7eee-2e33-437f-8980-09fef640b0fd","name":"Missing token or inactive user.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/me"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b8d7a014-ccc4-4a0d-8ae5-9d1e8790017f","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/me"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"ea4da559-1223-48e8-9b0e-ce2ac7dabf7e"}],"id":"f74d1e5c-cf51-4dda-bfab-55b99c23b313","_postman_id":"f74d1e5c-cf51-4dda-bfab-55b99c23b313","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"{id}","item":[{"name":"Users:Delete User","id":"cc2a0c76-8c12-45c0-af9e-6fc74a920dac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//accounts/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{client_id}}","key":"id"}]}},"response":[{"id":"7b2298ae-b173-4a1a-bbe3-337bc12c807c","name":"Successful Response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"da83c1eb-6a2a-4a6a-84b1-e032cbabba8c","name":"Missing token or inactive user.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ce4b3294-d306-47c2-9fd4-7fb91368c4d5","name":"Not a superuser.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a798e6d3-93b3-4659-9fef-6cf6d48ea2c6","name":"The user does not exist.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"9968e51d-eb48-4e36-a96a-bd30ee1c9710","name":"Validation Error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"cc2a0c76-8c12-45c0-af9e-6fc74a920dac"},{"name":"Users:User","id":"0f090d2d-0f0e-414f-a843-621a43c28268","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//accounts/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"{{client_id}}","key":"id"}]}},"response":[{"id":"00bc91f2-0451-4915-b283-21fcd941c3df","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Epbzdqbw\"\n}"},{"id":"31d215ab-5b5f-4b4e-85df-c770372ba456","name":"Missing token or inactive user.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"06eee8ce-67ed-44d7-a743-6af42b123b98","name":"Not a superuser.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d4512d77-ff7e-4484-ae2d-04d56ad7cb1e","name":"The user does not exist.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fd348e0c-017a-42f8-a27e-de94af3584d5","name":"Validation Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"0f090d2d-0f0e-414f-a843-621a43c28268"},{"name":"Users:Patch User","id":"01d52b67-fb4b-4a38-b95d-56380a4962a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"Reix\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//accounts/:id","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts",":id"],"host":["/"],"query":[],"variable":[{"id":"d99d7cae-1d58-4895-bda4-ab59e84627b8","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"66546b23-b2ae-485c-8da1-c46ffd5a7366","name":"Successful Response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Gc\"\n}"},{"id":"2fa1f0c4-97b1-4c28-b0f9-b871a7c137a8","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"97c9e0f8-1f28-40a8-8bd4-115b7e072718","name":"Missing token or inactive user.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b74f765d-4fe9-499a-af78-46f1eb1e8594","name":"Not a superuser.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5804f082-2dd8-40ac-bfb5-2e7892df6e91","name":"The user does not exist.","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"1d7969f8-9b44-41e2-9f70-e8fc75b020dd","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Ybvhuksp\",\n  \"last_name\": \"MM\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//accounts/:id","host":["/"],"path":["accounts",":id"],"variable":[{"key":"id"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"variable":[{"id":"d99d7cae-1d58-4895-bda4-ab59e84627b8","key":"id","value":"<string>","description":"(Required) "}],"_postman_id":"01d52b67-fb4b-4a38-b95d-56380a4962a3"}],"id":"1379e46b-22cb-43e8-bc60-58e58bb69a2e","_postman_id":"1379e46b-22cb-43e8-bc60-58e58bb69a2e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"Get All Accounts","id":"cf38c6f7-90e5-4083-b5b3-41b963e87bb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//accounts","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["accounts"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5a0cbbb6-5e17-4ffb-98b3-58d5e2599d2e","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"//accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"accounts\": [\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"email\": \"<email>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"cf38c6f7-90e5-4083-b5b3-41b963e87bb6"}],"id":"ac031f3e-b935-4e39-8ebd-5e1c5d24a707","_postman_id":"ac031f3e-b935-4e39-8ebd-5e1c5d24a707","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"auth","item":[{"name":"jwt","item":[{"name":"login","item":[{"name":"Auth:Token.Login","event":[{"listen":"test","script":{"id":"70aac190-0c09-4efe-9f7e-5969089b6134","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200]);","    pm.environment.set(\"access_token\", pm.response.json().access_token);","    pm.environment.set(\"refresh_token\", pm.response.json().refresh_token);","});"],"type":"text/javascript"}}],"id":"b05b434e-e566-4884-b25e-342ca0c2a6b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>(Required) </p>\n","key":"username","value":"{{email}}"},{"description":"<p>(Required) </p>\n","key":"password","value":"{{password}}"},{"key":"grant_type","value":"password"},{"key":"scope","value":""},{"key":"client_id","value":"{{client_id}}"},{"key":"client_secret","value":""}]},"url":"//auth/jwt/login","urlObject":{"path":["auth","jwt","login"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3459d332-8412-4e86-9c36-830cb5b01c77","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) ","key":"username","value":"<string>"},{"description":"(Required) ","key":"password","value":"<string>"},{"key":"grant_type","value":"password"},{"key":"scope","value":""},{"key":"client_id","value":"<string>"},{"key":"client_secret","value":"<string>"}]},"url":"//auth/jwt/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"access_token\": \"<string>\",\n  \"refresh_token\": \"<string>\",\n  \"token_type\": \"Bearer\",\n  \"scope\": \"<string>\",\n  \"client_id\": \"<string>\",\n  \"expires_in\": 3600\n}"},{"id":"2e46b66b-e139-44fc-bc11-90c5aea40ff3","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) ","key":"username","value":"<string>"},{"description":"(Required) ","key":"password","value":"<string>"},{"key":"grant_type","value":"password"},{"key":"scope","value":""},{"key":"client_id","value":"<string>"},{"key":"client_secret","value":"<string>"}]},"url":"//auth/jwt/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"8d5b129c-2c4b-434a-851b-19040f04f3de","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) ","key":"username","value":"<string>"},{"description":"(Required) ","key":"password","value":"<string>"},{"key":"grant_type","value":"password"},{"key":"scope","value":""},{"key":"client_id","value":"<string>"},{"key":"client_secret","value":"<string>"}]},"url":"//auth/jwt/login"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"b05b434e-e566-4884-b25e-342ca0c2a6b8"}],"id":"10de7a28-b9a3-4f18-b9f1-24ccc846a6aa","_postman_id":"10de7a28-b9a3-4f18-b9f1-24ccc846a6aa","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"08c95586-2949-4518-884d-7f2714f9ba19","id":"08c95586-2949-4518-884d-7f2714f9ba19","name":"jwt","type":"folder"}}},{"name":"refresh","item":[{"name":"Refresh Jwt","event":[{"listen":"test","script":{"id":"052d2fd8-a312-4692-b8c1-15b498866dd4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200]);","    pm.environment.set(\"access_token\", pm.response.json().access_token);","    pm.environment.set(\"refresh_token\", pm.response.json().refresh_token);","});"],"type":"text/javascript"}}],"id":"7acca02f-86b2-4923-95e9-a81874d84f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"refresh-token","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"//auth/jwt/refresh","description":"<p>Refresh the access token using the refresh token.</p>\n<p>Headers:\n    authorization: <code>Authorization</code> header with the access token\n    refresh_token: <code>Refresh-Token</code> header with the refresh token</p>\n","urlObject":{"path":["auth","jwt","refresh"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"039f9cdb-51a2-45ee-acc5-ca16b57819fa","name":"Successful Response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"refresh-token","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"//auth/jwt/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"access_token\": \"<string>\",\n  \"refresh_token\": \"<string>\",\n  \"token_type\": \"Bearer\",\n  \"scope\": \"<string>\",\n  \"client_id\": \"<string>\",\n  \"expires_in\": 3600\n}"},{"id":"59b591c6-2979-4b28-b6a7-c987b4472ea8","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"refresh-token","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"//auth/jwt/refresh"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"e88d1edb-74a0-4eae-90e1-87115b4eae90","name":"Validation Error","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"refresh-token","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"//auth/jwt/refresh"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"7acca02f-86b2-4923-95e9-a81874d84f4b"}],"id":"8b6376bb-7e06-4e8f-a557-07e976dcbafe","_postman_id":"8b6376bb-7e06-4e8f-a557-07e976dcbafe","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"08c95586-2949-4518-884d-7f2714f9ba19","id":"08c95586-2949-4518-884d-7f2714f9ba19","name":"jwt","type":"folder"}}},{"name":"postman_refresh","item":[{"name":"Refresh Jwt With Client Id","event":[{"listen":"test","script":{"id":"adc72329-3258-4e67-87bd-048d967beedb","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200]);","    pm.environment.set(\"access_token\", pm.response.json().access_token);","    pm.environment.set(\"refresh_token\", pm.response.json().refresh_token);","});"],"type":"text/javascript"}}],"id":"bf7978cc-735c-4926-ab47-bba080c241a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<string>","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/jwt/postman_refresh","description":"<p>Refresh the access token using the refresh token.</p>\n<p>Headers:\n    authorization: <code>Authorization</code> header with the access token\nBody:\n    refresh_token: <code>Refresh-Token</code> header with the refresh token</p>\n","urlObject":{"path":["auth","jwt","postman_refresh"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"524bf864-2467-43b9-9c45-8ab336abe24c","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<string>","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/jwt/postman_refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"access_token\": \"<string>\",\n  \"refresh_token\": \"<string>\",\n  \"token_type\": \"Bearer\",\n  \"scope\": \"<string>\",\n  \"client_id\": \"<string>\",\n  \"expires_in\": 3600\n}"},{"id":"654010d2-8a70-45eb-9343-1cb8262e606b","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<string>","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/jwt/postman_refresh"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"e24370f5-c6e5-4eea-a394-0ec24f9363f5","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<string>","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/jwt/postman_refresh"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"bf7978cc-735c-4926-ab47-bba080c241a5"}],"id":"9de97eb1-403f-4337-8551-bd7cc0f62c40","_postman_id":"9de97eb1-403f-4337-8551-bd7cc0f62c40","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"08c95586-2949-4518-884d-7f2714f9ba19","id":"08c95586-2949-4518-884d-7f2714f9ba19","name":"jwt","type":"folder"}}}],"id":"08c95586-2949-4518-884d-7f2714f9ba19","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"f280b18f-044f-4625-8709-46f547d0f0fd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2ae0781e-04a4-4d56-b7aa-3f64c561a146","type":"text/javascript","exec":[""]}}],"_postman_id":"08c95586-2949-4518-884d-7f2714f9ba19","description":""},{"name":"register","item":[{"name":"Register:Register","event":[{"listen":"test","script":{"id":"4cdb8817-cefb-49f6-8301-c80633522f8f","exec":["","pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([201]);","    pm.environment.set(\"client_id\", pm.response.json().id);","});"],"type":"text/javascript"}}],"id":"4cd6861d-2bbd-49d5-a06f-681179208b1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"{{email}}\",\n  \"password\": \"{{password}}>\",\n  \"first_name\": \"{{first_name}}\",\n  \"last_name\": \"{{last_name}}\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/register","urlObject":{"path":["auth","register"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"dfec6d79-45c7-4700-9806-4c3d95081c27","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Kf\",\n  \"last_name\": \"Qsiftbql\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Ov\"\n}"},{"id":"bf87b1dc-0693-4ad4-8381-b123153e80e9","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Kf\",\n  \"last_name\": \"Qsiftbql\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"2a6add7f-6500-4e7b-9aa9-63005b24f02a","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"is_superuser\": \"<boolean>\",\n  \"is_verified\": \"<boolean>\",\n  \"first_name\": \"Kf\",\n  \"last_name\": \"Qsiftbql\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/register"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"4cd6861d-2bbd-49d5-a06f-681179208b1a"}],"id":"37518d24-bd80-41ef-9d49-623dea67ed2d","auth":{"type":"noauth","isInherited":false},"_postman_id":"37518d24-bd80-41ef-9d49-623dea67ed2d","description":""},{"name":"forgot-password","item":[{"name":"Reset:Forgot Password","id":"976c3e7a-a629-48b0-b070-80f3fbf281a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/forgot-password","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["auth","forgot-password"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"8655ce15-46d1-4856-b253-a896be9b8271","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/forgot-password"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"65c7fe8d-9b10-4eab-87b9-718198fce9ea","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/forgot-password"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"976c3e7a-a629-48b0-b070-80f3fbf281a6"}],"id":"42913214-2773-42a1-8583-4b064bf98852","_postman_id":"42913214-2773-42a1-8583-4b064bf98852","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"reset-password","item":[{"name":"Reset:Reset Password","id":"4e81502c-95b3-4062-b493-9ea724993749","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\",\n  \"password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/reset-password","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["auth","reset-password"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"04fbbed1-552c-49ec-a7d9-a5c3cdf67dcc","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\",\n  \"password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/reset-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"4c9da737-bc40-4243-bf39-5f17eaf90deb","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\",\n  \"password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/reset-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"6d51a181-6f23-4c62-b783-f397335ddb49","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\",\n  \"password\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/reset-password"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"4e81502c-95b3-4062-b493-9ea724993749"}],"id":"18e889e4-0b48-4401-9015-faed2f9dfbac","_postman_id":"18e889e4-0b48-4401-9015-faed2f9dfbac","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"request-verify-token","item":[{"name":"Verify:Request-Token","id":"51dbe77a-2ab1-48b7-993f-507a90929599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/request-verify-token","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["auth","request-verify-token"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3903905e-98ab-4c30-9a25-cfe4594957eb","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/request-verify-token"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"5acb04cc-02d8-4fcf-afbb-bb1be04c4520","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<email>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/request-verify-token"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"51dbe77a-2ab1-48b7-993f-507a90929599"}],"id":"dbac06c0-3ff2-4f4b-b5d3-9a0f92502368","_postman_id":"dbac06c0-3ff2-4f4b-b5d3-9a0f92502368","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}},{"name":"verify","item":[{"name":"Verify:Verify","id":"1f581023-f17f-4e37-b92e-7518a7c5d444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/verify","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}},"urlObject":{"path":["auth","verify"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2cb2dcaf-65f7-4b0b-a59a-89bbb866242a","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"email\": \"<email>\",\n  \"is_active\": true,\n  \"is_superuser\": false,\n  \"is_verified\": false,\n  \"first_name\": \"Fgv\",\n  \"last_name\": \"Zewxqyk\"\n}"},{"id":"5de22052-2192-46a4-a2ed-4a330f37c156","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/verify"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"<string>\"\n}"},{"id":"673e256b-2235-4410-88fa-1d05d7e608f3","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//auth/verify"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"1f581023-f17f-4e37-b92e-7518a7c5d444"}],"id":"1860c027-a6bf-41c6-b21a-198d86e21110","_postman_id":"1860c027-a6bf-41c6-b21a-198d86e21110","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}}],"id":"a19edfc2-fd1e-43d7-b4d7-0bfe7df29083","_postman_id":"a19edfc2-fd1e-43d7-b4d7-0bfe7df29083","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]},"isInherited":true,"source":{"_postman_id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","id":"30b6f0f8-3311-4b0a-9810-cd0d1dbf333d","name":"University Polling API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"client_authentication","value":"<client_authentication>"},{"key":"refreshTokenUrl","value":"<refresh-token-url>"},{"key":"password","value":"{{password}}"},{"key":"username","value":"{{email}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenName","value":"<token-name>"}]}},"event":[{"listen":"prerequest","script":{"id":"ef78ab0a-13d2-4c85-b960-093ec856e2a8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8946b389-cb91-4736-8e06-743c8f9cb878","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"/"}]}