{"info":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"12951618","collectionId":"3fda3133-8801-4364-b024-4c4bfb9bc847","publishedId":"TzseJRds","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-30T11:31:14.000Z"},"item":[{"name":"Authorization","item":[{"name":"Get token","id":"bf64df90-a40a-4d17-bc19-2b5e2bdf64e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"\",\n    \"password\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://platforma.test/wp-json/jwt-auth/v1/token","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}},"urlObject":{"protocol":"http","path":["wp-json","jwt-auth","v1","token"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"a410a752-ec90-49f4-b2b4-e7faea4f1827","name":"Get token success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"password\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://platforma.test/wp-json/jwt-auth/v1/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9qd3QuZGV2IiwiaWF0IjoxNDM4NTcxMDUwLCJuYmYiOjE0Mzg1NzEwNTAsImV4cCI6MTQzOTE3NTg1MCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.YNe6AyWW4B7ZwfFE5wJ0O6qQ8QFcYizimDmBy6hCH_8\",\n    \"user_display_name\": \"admin\",\n    \"user_email\": \"admin@localhost.dev\",\n    \"user_nicename\": \"admin\"\n}"},{"id":"61341753-2b53-4ebb-a721-0801ab233b9c","name":"Get token error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"password\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://platforma.test/wp-json/jwt-auth/v1/token"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"jwt_auth_failed\",\n    \"data\": {\n        \"status\": 403\n    },\n    \"message\": \"Invalid Credentials.\"\n}"}],"_postman_id":"bf64df90-a40a-4d17-bc19-2b5e2bdf64e0"},{"name":"Validate token","id":"6eaf3772-e31d-4e19-aedc-b19e5d0211b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"POST","header":[],"url":"http://platforma.test/wp-json/jwt-auth/v1/token/validate","urlObject":{"protocol":"http","path":["wp-json","jwt-auth","v1","token","validate"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"4da8fa7a-dd20-41ab-936f-46ac04ea7229","name":"Validate token","originalRequest":{"method":"POST","header":[],"url":"http://platforma.test/wp-json/jwt-auth/v1/token/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"jwt_auth_valid_token\",\n    \"data\": {\n        \"status\": 200\n    }\n}"}],"_postman_id":"6eaf3772-e31d-4e19-aedc-b19e5d0211b3"}],"id":"6670a720-17ed-4c19-bfeb-22e92cf7d8b1","_postman_id":"6670a720-17ed-4c19-bfeb-22e92cf7d8b1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"Users","item":[{"name":"All users","id":"48f3fb46-4fd1-457d-a997-34c9f814bdec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/users","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n<li><code>role</code> - specific user role</li>\n</ul>\n<h3 id=\"allowed-roles\">Allowed roles</h3>\n<ul>\n<li><code>administrator</code></li>\n<li><code>subscriber</code></li>\n<li><code>customer</code></li>\n<li><code>author</code></li>\n<li><code>group_leader</code></li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by user id.</li>\n<li><code>display_name</code> – Order by user display name.</li>\n<li><code>name</code> / <code>user_name</code> – Order by user name.</li>\n<li><code>login</code> / <code>user_login</code> – Order by user login.</li>\n<li><code>nicename</code> / <code>user_nicename</code> – Order by user nicename.</li>\n<li><code>email</code> / <code>user_email</code> – Order by user email.</li>\n<li><code>url</code> / <code>user_url</code> – Order by user url.</li>\n<li><code>registered</code> / <code>user_registered</code> – Order by user registered date.</li>\n<li><code>post_count</code> – Order by user post count.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","users"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"e47e3a70-b7e0-41b1-92c2-adba614b42ae","name":"Get all users","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n            {\n                \"id\": 259,\n                \"display_name\": \"Watson\",\n                \"user_login\": \"gleichner.kellen@example.com\",\n                \"last_login\": null,\n                \"user_registered\": \"2021-07-27 09:09:11\",\n                \"roles\": [\n                    \"subscriber\"\n                ]\n            },\n            {\n                \"id\": 70,\n                \"display_name\": \"Marjory\",\n                \"user_login\": \"snolan@example.com\",\n                \"last_login\": null,\n                \"user_registered\": \"2021-07-27 05:33:54\",\n                \"roles\": [\n                    \"subscriber\"\n                ]\n            },\n            {\n                \"id\": 129,\n                \"display_name\": \"Genesis\",\n                \"user_login\": \"hermann.rolando@example.org\",\n                \"last_login\": null,\n                \"user_registered\": \"2021-07-26 00:57:50\",\n                \"roles\": [\n                    \"subscriber\"\n                ]\n            },\n            {\n                \"id\": 271,\n                \"display_name\": \"Valerie\",\n                \"user_login\": \"jackie.wehner@example.org\",\n                \"last_login\": null,\n                \"user_registered\": \"2021-07-27 09:29:21\",\n                \"roles\": [\n                    \"subscriber\"\n                ]\n            },\n            {\n                \"id\": 250,\n                \"display_name\": \"Winona\",\n                \"user_login\": \"jgreenholt@example.com\",\n                \"last_login\": null,\n                \"user_registered\": \"2021-07-26 01:25:01\",\n                \"roles\": [\n                    \"subscriber\"\n                ]\n            }\n    ]\n}"}],"_postman_id":"48f3fb46-4fd1-457d-a997-34c9f814bdec"},{"name":"Single user","id":"55df5a0a-7c27-45c3-9138-b4b7d6068a33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/user/:user_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","user",":user_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1","key":"user_id"}]}},"response":[{"id":"54def094-e4ee-4cba-adf7-9dc5181d1d8b","name":"Get user with ID 1","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/user/:user_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","user",":user_id"],"variable":[{"key":"user_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"id\": 259,\n    \"display_name\": \"Watson\",\n    \"user_login\": \"gleichner.kellen@example.com\",\n    \"last_login\": null,\n    \"user_registered\": \"2021-07-27 09:09:11\",\n    \"groups\": [\n      1220\n    ],\n    \"roles\": [\n        \"subscriber\"\n    ]\n  }\n}"}],"_postman_id":"55df5a0a-7c27-45c3-9138-b4b7d6068a33"},{"name":"Create user","id":"d5f811de-1126-489d-9d4d-be512eed21a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"name\": \"\",\n    \"firstname\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"test@gmail.com\",\n    \"url\": \"\",\n    \"description\": \"\",\n    \"locale\": \"\",\n    \"nickname\": \"\",\n    \"slug\": \"\",\n    \"roles\": \"\",\n    \"password\": \"test\",\n    \"meta\": {}\n}","options":{"raw":{"language":"json"}}},"url":"http://platforma.test/wp-json/wp/v2/users","description":"<h2 id=\"arguments\">Arguments</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>username</th>\n<th>Login name for the user.  Required: 1</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Display name for the user.</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>First name for the user.</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>Last name for the user.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email address for the user.  Required: 1</td>\n</tr>\n<tr>\n<td>url</td>\n<td>URL of the user.</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Description of the user.</td>\n</tr>\n<tr>\n<td>locale</td>\n<td>Locale for the user.  One of:en_US</td>\n</tr>\n<tr>\n<td>nickname</td>\n<td>The nickname for the user.</td>\n</tr>\n<tr>\n<td>slug</td>\n<td>An alphanumeric identifier for the user.</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>Roles assigned to the user.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Password for the user (never included).  Required: 1</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>Meta fields.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","path":["wp-json","wp","v2","users"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"bf32d703-010c-445c-85ee-52ccd35f479d","name":"Create example user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"name\": \"\",\n    \"firstname\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"test@gmail.com\",\n    \"url\": \"\",\n    \"description\": \"\",\n    \"locale\": \"\",\n    \"nickname\": \"\",\n    \"slug\": \"\",\n    \"roles\": \"\",\n    \"password\": \"test\",\n    \"meta\": {}\n}","options":{"raw":{"language":"json"}}},"url":"http://platforma.test/wp-json/wp/v2/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 288,\n    \"username\": \"test\",\n    \"name\": \"test\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"test@gmail.com\",\n    \"url\": \"\",\n    \"description\": \"\",\n    \"link\": \"http://platforma.test/author/test/\",\n    \"locale\": \"pl_PL\",\n    \"nickname\": \"test\",\n    \"slug\": \"test\",\n    \"roles\": [],\n    \"registered_date\": \"2021-07-30T11:59:59+00:00\",\n    \"capabilities\": {},\n    \"extra_capabilities\": {},\n    \"avatar_urls\": {\n        \"24\": \"http://platforma.test/wp-content/plugins/buddyboss-platform/bp-core/images/mystery-man-50.jpg\",\n        \"48\": \"http://platforma.test/wp-content/plugins/buddyboss-platform/bp-core/images/mystery-man-50.jpg\",\n        \"96\": \"http://platforma.test/wp-content/plugins/buddyboss-platform/bp-core/images/mystery-man.jpg\"\n    },\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://platforma.test/wp-json/wp/v2/users/288\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://platforma.test/wp-json/wp/v2/users\"\n            }\n        ],\n        \"courses\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/users/288/courses\"\n            }\n        ],\n        \"groups\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/users/288/groups\"\n            }\n        ],\n        \"course-progress\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/users/288/course-progress\"\n            }\n        ],\n        \"quiz_progress\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/users/288/quiz-progress\"\n            },\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/groups/288/quiz-progress\"\n            },\n            {\n                \"embeddable\": true,\n                \"href\": \"http://platforma.test/wp-json/ldlms/v2/groups/288/quiz-progress\"\n            }\n        ]\n    }\n}"}],"_postman_id":"d5f811de-1126-489d-9d4d-be512eed21a6"}],"id":"9d48ecf0-47e2-42bb-ba41-6e5b783184fd","_postman_id":"9d48ecf0-47e2-42bb-ba41-6e5b783184fd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"E-Learning","item":[{"name":"Course","item":[{"name":"Single course","id":"cce55f43-be22-439b-a01e-191ead761981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/course/:course_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","course",":course_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1231","key":"course_id"}]}},"response":[{"id":"6ba38d58-f894-4109-90a9-c6a21a7ce81b","name":"Get course with ID 1159","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/course/:course_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","course",":course_id"],"variable":[{"key":"course_id","value":"1159"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cce55f43-be22-439b-a01e-191ead761981"},{"name":"All courses","id":"0ccffc8d-27e2-407c-bd32-5af6c2269fb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/courses","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by post id. Note the capitalization.</li>\n<li><code>author</code> – Order by author.</li>\n<li><code>title</code> – Order by title.</li>\n<li><code>name</code> – Order by post name (post slug).</li>\n<li><code>type</code> – Order by post type (available since version 4.0).</li>\n<li><code>date</code> – Order by date.</li>\n<li><code>modified</code> – Order by last modified date.</li>\n<li><code>parent</code> – Order by post/page parent id.</li>\n<li><code>rand</code> – Random order.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","courses"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"7b53d0f6-3502-433b-9726-f4b74bf91dd2","name":"All courses","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/courses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1231,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"guid\": \"http://platforma.test/?post_type=sfwd-courses&#038;p=1231\",\n            \"certificate\": 0,\n            \"access_type\": \"open\",\n            \"course_steps_count\": 2\n        }\n    ]\n}"}],"_postman_id":"0ccffc8d-27e2-407c-bd32-5af6c2269fb1"},{"name":"User courses","id":"1ec6ed7a-892e-4b95-929b-e814f2bd7020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/user/:user_id/courses","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","user",":user_id","courses"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1","key":"user_id"}]}},"response":[{"id":"2947ad53-6751-4992-a01f-9ff1e72d4cd4","name":"Get user courses","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/user/:user_id/courses","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","user",":user_id","courses"],"variable":[{"key":"user_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"ID\": 250,\n    \"courses\": {\n      \"not_started\": [\n        1159,\n        1161,\n        1143,\n        1171,\n        1152,\n        1163,\n        1148,\n        1162,\n        1141,\n        1150,\n        1154,\n        1156\n      ],\n      \"completed\": [\n        1168,\n        1166\n      ]\n    }\n  }\n}"}],"_postman_id":"1ec6ed7a-892e-4b95-929b-e814f2bd7020"},{"name":"User course progress for specific course","id":"a7226709-9c33-438d-b681-5126b3ef0720","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/user/:user_id/course/:course_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","user",":user_id","course",":course_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"250","key":"user_id"},{"type":"any","value":"1159","key":"course_id"}]}},"response":[{"id":"5b13843c-a30e-4ffb-818d-77e18a4f7910","name":"User course progress for specific course","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/user/:user_id/course/:course_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","user",":user_id","course",":course_id"],"variable":[{"key":"user_id","value":"250","description":"ID of the user"},{"key":"course_id","value":"1159","description":"ID of the course"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"user_id\": 259,\n        \"progress\": {\n            \"lessons\": {\n                \"1187\": 0,\n                \"1208\": 0\n            },\n            \"topics\": {\n                \"1187\": {\n                    \"1204\": 0,\n                    \"1206\": 0\n                },\n                \"1208\": {\n                    \"1210\": 0,\n                    \"1218\": 0\n                }\n            },\n            \"completed\": 0,\n            \"total\": 7,\n            \"last_id\": 0,\n            \"status\": \"not_started\"\n        }\n    }\n}"}],"_postman_id":"a7226709-9c33-438d-b681-5126b3ef0720"}],"id":"fe237a59-c4c8-4a22-bcd7-7573c9fc03a2","_postman_id":"fe237a59-c4c8-4a22-bcd7-7573c9fc03a2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"Lesson","item":[{"name":"Lessons","id":"dd0d8ec2-d444-45bb-8ec5-90f975232341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/lessons","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by post id. Note the capitalization.</li>\n<li><code>author</code> – Order by author.</li>\n<li><code>title</code> – Order by title.</li>\n<li><code>name</code> – Order by post name (post slug).</li>\n<li><code>type</code> – Order by post type (available since version 4.0).</li>\n<li><code>date</code> – Order by date.</li>\n<li><code>modified</code> – Order by last modified date.</li>\n<li><code>parent</code> – Order by post/page parent id.</li>\n<li><code>rand</code> – Random order.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","lessons"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"70fa7d8c-7bb7-4b3a-8e0d-712c58e9d18d","name":"Lessons","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/lessons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1175,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1168\"\n        },\n        {\n            \"ID\": 1180,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1166\"\n        },\n        {\n            \"ID\": 1187,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1208,\n            \"title\": \"Zagadnienie 2\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1232,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1231\"\n        }\n    ]\n}"}],"_postman_id":"dd0d8ec2-d444-45bb-8ec5-90f975232341"},{"name":"Single lesson","id":"f30dcc4d-6a6c-4e92-a65e-8ab7611d0a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/lesson/:lesson_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","lesson",":lesson_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1175","key":"lesson_id"}]}},"response":[{"id":"fba41abc-c8da-4371-8035-9380c750b0ba","name":"Single lesson","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/lesson/:lesson_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","lesson",":lesson_id"],"variable":[{"key":"lesson_id","value":"1175"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1175,\n        \"title\": \"Test\",\n        \"author\": 1,\n        \"status\": \"publish\",\n        \"created_at\": \"2021-07-20 16:04:17\",\n        \"categories\": [\n            1,\n            47\n        ],\n        \"date\": \"2021-07-20 16:04:17\",\n        \"tags\": [],\n        \"course_id\": \"1231\"\n    }\n}"}],"_postman_id":"f30dcc4d-6a6c-4e92-a65e-8ab7611d0a24"}],"id":"92598734-18bc-4718-a42a-8479b4a74d6f","_postman_id":"92598734-18bc-4718-a42a-8479b4a74d6f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"Topic","item":[{"name":"Topics","id":"95b3c457-7e8f-45ea-a90b-c21dfb8e41c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/topics","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by post id. Note the capitalization.</li>\n<li><code>author</code> – Order by author.</li>\n<li><code>title</code> – Order by title.</li>\n<li><code>name</code> – Order by post name (post slug).</li>\n<li><code>type</code> – Order by post type (available since version 4.0).</li>\n<li><code>date</code> – Order by date.</li>\n<li><code>modified</code> – Order by last modified date.</li>\n<li><code>parent</code> – Order by post/page parent id.</li>\n<li><code>rand</code> – Random order.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","topics"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"7a2ac950-d467-40db-b1ac-2ca2d72716ff","name":"Get all topics","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/topics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1204,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1206,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1210,\n            \"title\": \"zag2- temat\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1218,\n            \"title\": \"fff\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1159\"\n        },\n        {\n            \"ID\": 1234,\n            \"title\": \"Test\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1231\"\n        },\n        {\n            \"ID\": 1237,\n            \"title\": \"Nowa lekcja\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"course_id\": \"1231\"\n        }\n    ]\n}"}],"_postman_id":"95b3c457-7e8f-45ea-a90b-c21dfb8e41c0"},{"name":"Single topic","id":"fd9300cd-b719-44f9-96b0-c449c6dd3477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/topic/:topic_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","topic",":topic_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1204","key":"topic_id"}]}},"response":[{"id":"7d474c42-1e5a-49fa-b9f7-158783d0c786","name":"Topic","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/topic/:topic_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","topic",":topic_id"],"variable":[{"key":"topic_id","value":"1204"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1204,\n        \"title\": \"Test\",\n        \"author\": 1,\n        \"status\": \"publish\",\n        \"created_at\": \"2021-07-28 16:29:42\",\n        \"categories\": [],\n        \"date\": \"2021-07-28 16:29:42\",\n        \"tags\": [],\n        \"course_id\": \"1159\"\n    }\n}"}],"_postman_id":"fd9300cd-b719-44f9-96b0-c449c6dd3477"}],"id":"8f27b765-880b-4d06-8d89-aba62c284cf0","_postman_id":"8f27b765-880b-4d06-8d89-aba62c284cf0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"Quiz","item":[{"name":"Single quiz","id":"0a154ffa-e751-4be9-a956-3e9d50dcee6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/quiz/:quiz_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","quiz",":quiz_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1212","key":"quiz_id"}]}},"response":[{"id":"36d7f8ea-5fa6-4483-8cfa-18ac39758ceb","name":"Single quiz","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/quiz/:quiz_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","quiz",":quiz_id"],"variable":[{"key":"quiz_id","value":"1212"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.1"},{"key":"Date","value":"Thu, 02 Sep 2021 14:04:49 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://platforma.test/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0"},{"key":"X-QM-overview-time_taken","value":"0,4131"},{"key":"X-QM-overview-time_usage","value":"1,4% of 30s limit"},{"key":"X-QM-overview-memory","value":"53&nbsp;962 kB"},{"key":"X-QM-overview-memory_usage","value":"10,3% of 524&nbsp;288 kB limit"},{"key":"Allow","value":"GET"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1212,\n        \"title\": \"zag2 - quiz\",\n        \"author\": 1,\n        \"status\": \"publish\",\n        \"created_at\": \"2021-07-28 16:30:42\",\n        \"categories\": [],\n        \"date\": \"2021-07-28 16:30:42\",\n        \"tags\": [],\n        \"questions\": [\n            {\n                \"ID\": 1222,\n                \"title\": \"Test\",\n                \"content\": \"Jak sie nazywasz?\",\n                \"question_type\": [\n                    \"single\"\n                ],\n                \"question_points\": [\n                    \"1\"\n                ],\n                \"answer\": \"imie\"\n            },\n            {\n                \"ID\": 1225,\n                \"title\": \"Ile to 2+2\",\n                \"content\": \"Ile to 2+2\",\n                \"question_type\": [\n                    \"single\"\n                ],\n                \"question_points\": [\n                    \"1\"\n                ],\n                \"answer\": \"4\"\n            },\n        ],\n        \"course_id\": \"1159\"\n    }\n}"}],"_postman_id":"0a154ffa-e751-4be9-a956-3e9d50dcee6d"},{"name":"Quiz stats for user","id":"ca8ef322-a539-4868-a45c-9f6b351f2de3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/user/:user_id/course/:course_id/quiz/:quiz_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","user",":user_id","course",":course_id","quiz",":quiz_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1","key":"user_id"},{"type":"any","value":"1159","key":"course_id"},{"type":"any","value":"1212","key":"quiz_id"}]}},"response":[{"id":"2fb0cc44-82c8-40e7-a743-9adc90542e24","name":"Quiz stats for user","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/user/:user_id/course/:course_id/quiz/:quiz_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","user",":user_id","course",":course_id","quiz",":quiz_id"],"variable":[{"key":"user_id","value":"1"},{"key":"course_id","value":"1159"},{"key":"quiz_id","value":"1212"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"progress\": {\n      \"1627634238\": {\n        \"quiz\": 1212,\n        \"score\": 2,\n        \"count\": 3,\n        \"question_show_count\": 3,\n        \"pass\": 0,\n        \"rank\": \"-\",\n        \"time\": 1627634238,\n        \"pro_quizid\": 1,\n        \"course\": 1159,\n        \"lesson\": 1208,\n        \"topic\": 0,\n        \"points\": 2,\n        \"total_points\": 3,\n        \"percentage\": 66.67,\n        \"timespent\": 7.248,\n        \"has_graded\": false,\n        \"statistic_ref_id\": 1,\n        \"started\": 1627634230,\n        \"completed\": 1627634238\n      },\n      \"1627634260\": {\n        \"quiz\": 1212,\n        \"score\": 0,\n        \"count\": 3,\n        \"question_show_count\": 3,\n        \"pass\": 0,\n        \"rank\": \"-\",\n        \"time\": 1627634260,\n        \"pro_quizid\": 1,\n        \"course\": 1159,\n        \"lesson\": 1208,\n        \"topic\": 0,\n        \"points\": 0,\n        \"total_points\": 3,\n        \"percentage\": 0,\n        \"timespent\": 6.442,\n        \"has_graded\": false,\n        \"statistic_ref_id\": 2,\n        \"started\": 1627634254,\n        \"completed\": 1627634260\n      }\n    },\n    \"attempts\": [\n      {\n        \"activity_id\": \"25\",\n        \"activity_started\": \"1627634230\",\n        \"activity_completed\": \"1627634238\"\n      },\n      {\n        \"activity_id\": \"26\",\n        \"activity_started\": \"1627634254\",\n        \"activity_completed\": \"1627634260\"\n      }\n    ],\n    \"time_spent\": 14,\n    \"attempt_count\": 2\n  }\n}"}],"_postman_id":"ca8ef322-a539-4868-a45c-9f6b351f2de3"},{"name":"Quizzes","id":"ea1a5086-bbd7-4a29-b022-637f0e73dd0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/quizzes","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by post id. Note the capitalization.</li>\n<li><code>author</code> – Order by author.</li>\n<li><code>title</code> – Order by title.</li>\n<li><code>name</code> – Order by post name (post slug).</li>\n<li><code>type</code> – Order by post type (available since version 4.0).</li>\n<li><code>date</code> – Order by date.</li>\n<li><code>modified</code> – Order by last modified date.</li>\n<li><code>parent</code> – Order by post/page parent id.</li>\n<li><code>rand</code> – Random order.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","quizzes"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"8ed61ed0-9452-46df-8e8c-b3821bd02caf","name":"Quizzes","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/quizzes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1212,\n            \"title\": \"zag2 - quiz\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"passing_precentage\": 80,\n            \"certificate\": \"\",\n            \"autostart\": false,\n            \"course_id\": 1159,\n            \"lesson_id\": 1208\n        },\n        {\n            \"ID\": 1214,\n            \"title\": \"Final quiz\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"passing_precentage\": null,\n            \"certificate\": null,\n            \"autostart\": null,\n            \"course_id\": 1159,\n            \"lesson_id\": null\n        },\n        {\n            \"ID\": 1216,\n            \"title\": \"Teee\",\n            \"author\": 1,\n            \"status\": \"publish\",\n            \"passing_precentage\": null,\n            \"certificate\": null,\n            \"autostart\": null,\n            \"course_id\": 1159,\n            \"lesson_id\": null\n        }\n    ]\n}"}],"_postman_id":"ea1a5086-bbd7-4a29-b022-637f0e73dd0f"}],"id":"cfbec287-aa88-447a-8110-f7319dd69674","_postman_id":"cfbec287-aa88-447a-8110-f7319dd69674","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}},{"name":"Group","item":[{"name":"Single group","id":"6995dd72-be42-4229-b548-d28e22d96316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/group/:group_id","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","group",":group_id"],"host":["platforma","test"],"query":[],"variable":[{"type":"any","value":"1220","key":"group_id"}]}},"response":[{"id":"95537c6c-a832-4dce-8cb7-e504ba75d908","name":"Single group","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://platforma.test/wp-json/spoti/v1/group/:group_id","protocol":"http","host":["platforma","test"],"path":["wp-json","spoti","v1","group",":group_id"],"variable":[{"key":"group_id","value":"1220"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.1"},{"key":"Date","value":"Thu, 02 Sep 2021 13:55:27 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://platforma.test/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0"},{"key":"X-QM-overview-time_taken","value":"0,3801"},{"key":"X-QM-overview-time_usage","value":"1,3% of 30s limit"},{"key":"X-QM-overview-memory","value":"53&nbsp;933 kB"},{"key":"X-QM-overview-memory_usage","value":"10,3% of 524&nbsp;288 kB limit"},{"key":"Allow","value":"GET"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1220,\n        \"title\": \"Testowa grupa\",\n        \"slug\": \"testowa-grupa\",\n        \"members\": [\n            327,\n            328,\n            297,\n            296,\n            295,\n            294\n        ],\n        \"group_courses\": [\n            1231\n        ],\n        \"group_leaders\": [\n            1\n        ]\n    }\n}"}],"_postman_id":"6995dd72-be42-4229-b548-d28e22d96316"},{"name":"Groups","id":"90c20fc3-0938-4152-81cc-217efb2d211a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/groups","description":"<h2 id=\"additional-url-parameters\">Additional URL Parameters</h2>\n<ul>\n<li><code>per_page</code> - How many courses per page (default: 20)</li>\n<li><code>page</code> - number of currently viewed page (default: 1)</li>\n<li><code>order</code> - 'ASC' or 'DESC' (default: ASC)</li>\n<li><code>orderby</code> - order by specific column</li>\n</ul>\n<h3 id=\"orderby-allowed-parameters\"><code>orderby</code> allowed parameters</h3>\n<ul>\n<li><code>ID</code> – Order by post id. Note the capitalization.</li>\n<li><code>author</code> – Order by author.</li>\n<li><code>title</code> – Order by title.</li>\n<li><code>name</code> – Order by post name (post slug).</li>\n<li><code>type</code> – Order by post type (available since version 4.0).</li>\n<li><code>date</code> – Order by date.</li>\n<li><code>modified</code> – Order by last modified date.</li>\n<li><code>parent</code> – Order by post/page parent id.</li>\n<li><code>rand</code> – Random order.</li>\n</ul>\n","urlObject":{"protocol":"http","path":["wp-json","spoti","v1","groups"],"host":["platforma","test"],"query":[],"variable":[]}},"response":[{"id":"d0a3b678-0d9e-41c7-8b91-4c8a2ce5b1c7","name":"Groups","originalRequest":{"method":"GET","header":[],"url":"http://platforma.test/wp-json/spoti/v1/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.21.1"},{"key":"Date","value":"Thu, 02 Sep 2021 13:54:42 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://platforma.test/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0"},{"key":"X-QM-overview-time_taken","value":"0,3793"},{"key":"X-QM-overview-time_usage","value":"1,3% of 30s limit"},{"key":"X-QM-overview-memory","value":"53&nbsp;745 kB"},{"key":"X-QM-overview-memory_usage","value":"10,3% of 524&nbsp;288 kB limit"},{"key":"Allow","value":"GET"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1220,\n            \"title\": \"Testowa grupa\",\n            \"slug\": \"testowa-grupa\"\n        },\n        {\n            \"ID\": 1492,\n            \"title\": \"Grupa szkoleniowa\",\n            \"slug\": \"grupa-szkoleniowa\"\n        }\n    ]\n}"}],"_postman_id":"90c20fc3-0938-4152-81cc-217efb2d211a"}],"id":"cc432d03-03bd-403d-b6d7-9943f71b1ce7","_postman_id":"cc432d03-03bd-403d-b6d7-9943f71b1ce7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}}],"id":"98bb81cd-a242-415c-a9bc-ce37f9e9953c","_postman_id":"98bb81cd-a242-415c-a9bc-ce37f9e9953c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"3fda3133-8801-4364-b024-4c4bfb9bc847","id":"3fda3133-8801-4364-b024-4c4bfb9bc847","name":"Spoti API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"22226db0-e1f9-4996-b2b6-04ef79725f12","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f802f136-6856-477a-b172-856f320c9dac","type":"text/javascript","exec":[""]}}],"variable":[{"key":"spoti_token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wbGF0Zm9ybWEudGVzdCIsImlhdCI6MTYyNzY0MzI1MSwibmJmIjoxNjI3NjQzMjUxLCJleHAiOjE2MjgyNDgwNTEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.2gLA-uoteXUtMm4osSnKR1joGcAoDhmf-Az9QM4xNpY"}]}