Created
July 15, 2020 13:48
-
-
Save jodinathan/0bfdaee3d2ce47e59e90462108d2cbcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "79c9c0a7-a552-4cef-85f9-9a7d4f3bf343", | |
| "name": "Nutror", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "courses", | |
| "item": [ | |
| { | |
| "name": "view", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "value": "{{token}}", | |
| "type": "text" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "banners", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/banners", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "banners" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "progress", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/progress", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "progress" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "search lessons", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/search", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "search" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "latest lesson", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/lessons/latest", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "lessons", | |
| "latest" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "news", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/news", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "news" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "upsell", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/upsell", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "upsell" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "register", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/register", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "register" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "list", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "value": "{{token}}", | |
| "type": "text" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "protocolProfileBehavior": {} | |
| }, | |
| { | |
| "name": "modules", | |
| "item": [ | |
| { | |
| "name": "modules of a course", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/courses/COURSE_HASH/modules", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "courses", | |
| "COURSE_HASH", | |
| "modules" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "lessons", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/modules/MODULE_ID/lessons", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "modules", | |
| "MODULE_ID", | |
| "lessons" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "protocolProfileBehavior": {} | |
| }, | |
| { | |
| "name": "lessons", | |
| "item": [ | |
| { | |
| "name": "comments", | |
| "item": [ | |
| { | |
| "name": "list", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/comments/(PARENT_COMMENT_ID)", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "comments", | |
| "(PARENT_COMMENT_ID)" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "insert", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "text", | |
| "value": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/comments/(PARENT_COMMENT_ID)", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "comments", | |
| "(PARENT_COMMENT_ID)" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "delete", | |
| "request": { | |
| "method": "DELETE", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/comments/COMMENT_ID", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "comments", | |
| "COMMENT_ID" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "protocolProfileBehavior": {}, | |
| "_postman_isSubFolder": true | |
| }, | |
| { | |
| "name": "ratings", | |
| "item": [ | |
| { | |
| "name": "avg", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/ratings", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "ratings" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "insert", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "rating", | |
| "value": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/ratings", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "ratings" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "update", | |
| "request": { | |
| "method": "PUT", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "text", | |
| "value": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/ratings", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "ratings" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "protocolProfileBehavior": {}, | |
| "_postman_isSubFolder": true | |
| }, | |
| { | |
| "name": "view", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "start", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/start", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "start" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "watch", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/watch", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "watch" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "finish", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/finish", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "finish" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "upsell", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "type": "text", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}api/v1/lessons/LESSON_ID/upsell", | |
| "host": [ | |
| "{{uri}}api" | |
| ], | |
| "path": [ | |
| "v1", | |
| "lessons", | |
| "LESSON_ID", | |
| "upsell" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "protocolProfileBehavior": {} | |
| }, | |
| { | |
| "name": "profile", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "value": "{{token}}", | |
| "type": "text" | |
| } | |
| ], | |
| "url": { | |
| "raw": "{{uri}}user/profile", | |
| "host": [ | |
| "{{uri}}user" | |
| ], | |
| "path": [ | |
| "profile" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "event": [ | |
| { | |
| "listen": "prerequest", | |
| "script": { | |
| "id": "856daaf5-67fa-471c-855e-a208adb15a00", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| }, | |
| { | |
| "listen": "test", | |
| "script": { | |
| "id": "4cbd19df-0f6c-4bbe-b9da-815cfd4e17fb", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| } | |
| ], | |
| "variable": [ | |
| { | |
| "id": "1d3adbba-04a2-4ca8-93af-af47ad34d596", | |
| "key": "token", | |
| "value": "", | |
| "type": "string" | |
| }, | |
| { | |
| "id": "1e03943d-7797-4ca6-93c5-dab095781982", | |
| "key": "uri", | |
| "value": "https://api-eduzz.com/nutror/", | |
| "type": "string" | |
| } | |
| ], | |
| "protocolProfileBehavior": {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment