{"info":{"_postman_id":"5498bb5e-0990-49ae-87b1-5b825d33bf3a","name":"Watch And Earn","description":"<html><head></head><body><p>This collection for the The EarnX project has 5 sub folders each with a different set of APIS. These APIs interact with the 3 major models that deal with the data and 1 model that deals with user registration and login in this project. Detailes about the models.</p>\n<p><strong>0.User Model:</strong></p>\n<ul>\n<li>This model comes into action when a new user is registering or a user is logging in.</li>\n<li>It has 5 fields 'email', 'username', 'password', 'is_staff', 'wallet_address'.</li>\n<li>The 'email' and 'wallet_address' fields must be unique for all users.</li>\n<li>The 'is_staff' field is used to define admins, by default it will be False.</li>\n<li>The 'token' is a self generated property field created from combination of 'username' and 'wallet_address' and encrypted using HS256. It is required to access all the APIs.</li>\n</ul>\n<p><strong>1.UserProfile Model:</strong></p>\n<ul>\n<li>This model is used to store data related to a particular user.</li>\n<li>It contains 3 fields 'display_name', 'wallet_address', 'watch_history'.</li>\n<li>Here <em>'wallet_address'</em> is the primary key.</li>\n</ul>\n<p><strong>2. ProjectForm Model</strong></p>\n<ul>\n<li>This model is used to store data related to a particular project created by a user.</li>\n<li>It contains 17 fields 'wallet_address','project_name','description','project_category','token_name',<br>'token_symbol','project_url','project_address','tokenomics','soft_cap','hard_cap','total_token_supply','total_market_cap','taxes','liquidity_percentage','lockup_time','project_to_launch','project_launch_platform'.</li>\n<li>Here <em>'project_name'</em> is the primary key and <em>'wallet_name'</em> is the foreign key referencing to <em>UserProfile</em>.</li>\n</ul>\n<p><strong>3. Video Model</strong></p>\n<ul>\n<li>This model contains all the data related to a particular video in a project.</li>\n<li>It contains 7 fields 'display_video_name', 'video_name', 'project_name', 'likes', 'views', 'votes', 'video'.</li>\n<li>Here <em>'video_name'</em> is the primary key and <em>'project_name'</em> is the foreign key referencing to <em>ProjectForm</em>.</li>\n</ul>\n<p><strong>Note</strong></p>\n<ul>\n<li>The API end points listed in this collection were tested on local host, so replace the local host address with the hosted address.</li>\n<li>The APIs have been written in Django Rest Framework.</li>\n<li>APIs return the created/updated record on successful execution and a detailed error message on failure.</li>\n<li>DELETE API endpoints do not return anything.</li>\n<li>While inputting values do not use _(underscore) in primary key as it may cause errors while calling the APIs.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21828511","collectionId":"5498bb5e-0990-49ae-87b1-5b825d33bf3a","publishedId":"UzJLPwov","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-07T20:34:51.000Z"},"item":[{"name":"User Registration & Login","item":[{"name":"Create User","id":"14d7c508-5d5d-4adc-aae0-d2704e954428","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"wallet_address\":\"wallet-address-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Host URL}}/register/","description":"<p>This is used to create a user here all the fields are necessary . To create a admin make sure to set is_staff as True.</p>\n","urlObject":{"path":["register",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[{"id":"d5e21b36-5bc1-460b-acfb-0d21aedf02ce","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"Ahmed\",\r\n    \"email\":\"ahmedmulla1910@gmail.com\",\r\n    \"password\":\"pass@123\",\r\n    \"is_staff\":\"True\",\r\n    \"wallet_address\":\"wallet_address_1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/register/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Jul 2022 19:49:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.9"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"107"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"username\": \"Ahmed\",\n    \"email\": \"ahmedmulla1910@gmail.com\",\n    \"is_staff\": true,\n    \"wallet_address\": \"wallet_address_1\"\n}"}],"_postman_id":"14d7c508-5d5d-4adc-aae0-d2704e954428"},{"name":"Login User","id":"8ded1527-3cea-41a5-b448-7960cebdf1cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"wallet_address\":\"wallet-address-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Host URL}}/login/","description":"<p>To login anyone, using username and password. this API generates the aforementioned token that is required to access res of the APIs</p>\n","urlObject":{"path":["login",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ded1527-3cea-41a5-b448-7960cebdf1cc"},{"name":"Authenticate User","id":"299aacd1-b1d9-4cf7-ada5-5ad961f232bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{Host URL}}/user/","description":"<p>This can be used to check if the token is valid or not and if it is valid then return user details.</p>\n","urlObject":{"path":["user",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"299aacd1-b1d9-4cf7-ada5-5ad961f232bf"}],"id":"82994c64-3f4c-40da-a083-5145e612f13d","description":"<p>This collection deals with user registration and login.</p>\n<ul>\n<li>It has 3 APIs 2 of which are POST and 1 is GET</li>\n</ul>\n","_postman_id":"82994c64-3f4c-40da-a083-5145e612f13d"},{"name":"User Profile","item":[{"name":"Create User Profile","id":"81c8619d-7276-4132-aef0-2e0690f05ab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"wallet_address\":\"wallet-address-1\",\r\n    \"display_name\":\"Nikhil\",\r\n    \"watch_history\":[],\r\n    \"like_history\":[],\r\n    \"vote_history\":[],\r\n    \"battery\":70,    \r\n    \"package\":\"Platinium\",\r\n    \"reward\":0\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Host URL}}/userprofile/","description":"<p>Use to create User Profile</p>\n","urlObject":{"path":["userprofile",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"81c8619d-7276-4132-aef0-2e0690f05ab3"},{"name":"Edit User Profile","id":"8dda9df5-db67-4c67-bbb9-ad17e5a07b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"wallet_address\":\"wallet_address_1\",\r\n    \"display_name\":\"Ahmed Mulla\",\r\n    \"watch_history\":[\r\n            \"project_1_video_1\",\r\n            \"project_2_video_1\",\r\n            \"project_2_video_2\",\r\n            \"added_in_put\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{Host URL}}/userprofile/wallet-address-2/","description":"<p>Use to edit user profile.</p>\n<ul>\n<li><em>{hosted_url}/userprofile/{wallet_address}/</em>\nHere the <em>{hosted_url}</em> will be the hosted URL and <em>{wallet_address}</em> will be of the person whose profile we want to edit.</li>\n</ul>\n","urlObject":{"path":["userprofile","wallet-address-2",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dda9df5-db67-4c67-bbb9-ad17e5a07b17"},{"name":"Get single User Profile","id":"946007ce-84d9-4943-8c25-1f8a6d357d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"wallet_address","value":"a01","type":"text"},{"key":"project_name","value":"a01","type":"text"},{"key":"description","value":"aaa.","type":"text"},{"key":"project_category","value":"a0","type":"text"},{"key":"token_name","value":"a0","type":"text"},{"key":"token_symbol","value":"aa","type":"text"},{"key":"project_url","value":"a0","type":"text"},{"key":"project_address","value":"a0","type":"text"},{"key":"tokenomics","value":"a0","type":"text"},{"key":"soft_cap","value":"a0","type":"text"},{"key":"hard_cap","value":"a0","type":"text"},{"key":"total_token_supply","value":"100","type":"text"},{"key":"total_market_cap","value":"100","type":"text"},{"key":"taxes","value":"100","type":"text"},{"key":"liquidity_percentage","value":"12","type":"text"},{"key":"lockup_time","value":"a0","type":"text"},{"key":"project_to_launch","value":"a0","type":"text"},{"key":"project_launch_platform","value":"https://www.youtube.com/watch?v=V2zaeqFSSTE","type":"text"},{"key":"video","type":"file","value":null}]},"url":"{{Host URL}}/userprofile/wallet-address-1/","description":"<p>Use to get user profile.</p>\n<ul>\n<li><em>{hosted_url}/userprofile/{wallet_address}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{wallet_address}</em> will be of the person whose profile we want to get.</li>\n</ul>\n","urlObject":{"path":["userprofile","wallet-address-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"946007ce-84d9-4943-8c25-1f8a6d357d4c"},{"name":"Delete Single User Profile","id":"43eefd46-d12b-45ac-88f8-a10e970b8e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[{"key":"wallet_address","value":"a01","type":"text"},{"key":"project_name","value":"a01","type":"text"},{"key":"description","value":"aaa.","type":"text"},{"key":"project_category","value":"a0","type":"text"},{"key":"token_name","value":"a0","type":"text"},{"key":"token_symbol","value":"aa","type":"text"},{"key":"project_url","value":"a0","type":"text"},{"key":"project_address","value":"a0","type":"text"},{"key":"tokenomics","value":"a0","type":"text"},{"key":"soft_cap","value":"a0","type":"text"},{"key":"hard_cap","value":"a0","type":"text"},{"key":"total_token_supply","value":"100","type":"text"},{"key":"total_market_cap","value":"100","type":"text"},{"key":"taxes","value":"100","type":"text"},{"key":"liquidity_percentage","value":"12","type":"text"},{"key":"lockup_time","value":"a0","type":"text"},{"key":"project_to_launch","value":"a0","type":"text"},{"key":"project_launch_platform","value":"https://www.youtube.com/watch?v=V2zaeqFSSTE","type":"text"},{"key":"video","type":"file","value":null}]},"url":"{{Host URL}}/userprofile/wallet_address_1/","description":"<p>Use to delete user profile.</p>\n<ul>\n<li><em>{hosted_url}/userprofile/{wallet_address}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{wallet_address}</em> will be of the person whose profile we want to delete.</li>\n</ul>\n","urlObject":{"path":["userprofile","wallet_address_1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43eefd46-d12b-45ac-88f8-a10e970b8e1a"}],"id":"3969c859-b831-42fb-bcee-986f0adf1cee","description":"<p>This collection deals with User Profile.</p>\n<ul>\n<li>It has 4 APIs one POST, one GET, one PUT and one DELETE</li>\n</ul>\n","_postman_id":"3969c859-b831-42fb-bcee-986f0adf1cee"},{"name":"Project form","item":[{"name":"Create Project Form","id":"c9d8075b-1156-4954-a58f-b34dd87191d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"wallet_address","value":"wallet-address-1","type":"text"},{"key":"project_name","value":"project-name-1","type":"text"},{"key":"description","value":"Description","type":"text"},{"key":"project_category","value":"test","type":"text"},{"key":"token_name","value":"Test Token","type":"text"},{"key":"token_symbol","value":"TT","type":"text"},{"key":"project_url","value":"test/","type":"text"},{"key":"project_address","value":"test","type":"text"},{"key":"tokenomics","value":"TE","type":"text"},{"key":"soft_cap","value":"SC Test","type":"text"},{"key":"hard_cap","value":"HC Test","type":"text"},{"key":"total_token_supply","value":"100","type":"text"},{"key":"total_market_cap","value":"100","type":"text"},{"key":"taxes","value":"100","type":"text"},{"key":"liquidity_percentage","value":"12","type":"text"},{"key":"lockup_time","value":"12 Weeks","type":"text"},{"key":"project_to_launch","value":"To Launch","type":"text"},{"key":"project_launch_platform","value":"https://www.youtube.com/watch?v=V2zaeqFSSTEtemp_","type":"text"}]},"url":"{{Host URL}}/projectform/","description":"<p>Use this to create a Project</p>\n","urlObject":{"path":["projectform",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9d8075b-1156-4954-a58f-b34dd87191d6"},{"name":"Edit Project Form","id":"b5ef7053-1a7f-44d4-a919-f67d479a19b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"wallet_address","value":"wallet_address_1","type":"text"},{"key":"project_name","value":"project_name_2","type":"text"},{"key":"description","value":"Changed Description","type":"text"},{"key":"project_category","value":"test","type":"text"},{"key":"token_name","value":"Test Token","type":"text"},{"key":"token_symbol","value":"TT","type":"text"},{"key":"project_url","value":"test/","type":"text"},{"key":"project_address","value":"test","type":"text"},{"key":"tokenomics","value":"TE","type":"text"},{"key":"soft_cap","value":"SC Test","type":"text"},{"key":"hard_cap","value":"HC Test","type":"text"},{"key":"total_token_supply","value":"100","type":"text"},{"key":"total_market_cap","value":"100","type":"text"},{"key":"taxes","value":"100","type":"text"},{"key":"liquidity_percentage","value":"12","type":"text"},{"key":"lockup_time","value":"!2 Weeks","type":"text"},{"key":"project_to_launch","value":"To Launch","type":"text"},{"key":"project_launch_platform","value":"https://www.youtube.com/watch?v=V2zaeqFSSTEtemp_","type":"text"}]},"url":"{{Host URL}}/project_name_2/","description":"<p>Use to edit project details.</p>\n<ul>\n<li><em>{hosted_url}/projectform/{project_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{project_name}</em> will be of the project whose details we want to edit.</li>\n</ul>\n","urlObject":{"path":["project_name_2",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5ef7053-1a7f-44d4-a919-f67d479a19b5"},{"name":"Get All Project Form","id":"7338cd47-522c-455e-ad60-bfa9764f9715","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/listprojectform/wallet_address_1/","description":"<p>Use to get details of all project of a user.</p>\n<ul>\n<li><em>{hosted_url}/listprojectform/{wallet_address}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{wallet_address}</em> will be of the person whose all projects we want to get.</li>\n</ul>\n","urlObject":{"path":["listprojectform","wallet_address_1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7338cd47-522c-455e-ad60-bfa9764f9715"},{"name":"Get Project Form","id":"43d3b2f5-081f-468f-955e-b9254c0287d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/projectform/project-name-1/","description":"<p>Use to get a single project's details.</p>\n<ul>\n<li><em>{hosted_url}/projectform/{project_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{project_name}</em> will be of the project whose details we want to get.</li>\n</ul>\n","urlObject":{"path":["projectform","project-name-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43d3b2f5-081f-468f-955e-b9254c0287d1"},{"name":"Delete Project Form","id":"c130e586-819f-4e79-949b-5e1d85ff8454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/projectform/project-name-1/","description":"<p>Use to delete a single project's details.</p>\n<ul>\n<li><em>{hosted_url}/projectform/{project_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{project_name}</em> will be of the project whose details we want to detete.</li>\n</ul>\n","urlObject":{"path":["projectform","project-name-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c130e586-819f-4e79-949b-5e1d85ff8454"}],"id":"08297969-9d55-43b0-b29a-7b66d45a670f","description":"<p>This collection deals with Project Details.</p>\n<ul>\n<li>It has 5 APIs one POST, two GET, one PUT and one DELETE</li>\n</ul>\n","_postman_id":"08297969-9d55-43b0-b29a-7b66d45a670f"},{"name":"Videos","item":[{"name":"Create Video","id":"0ec976f2-a421-4e0a-a5d2-c44f10a98e70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_name","value":"project-1-video-1","type":"text"},{"key":"project_name","value":"project-name-1","type":"text"},{"key":"display_video_name","value":"Third Video","type":"text"},{"key":"video","type":"file","src":"/C:/Users/91869/Downloads/video.mp4"},{"key":"likes","value":"0","type":"text"},{"key":"votes","value":"0","type":"text"},{"key":"views","value":"0","type":"text"},{"key":"video_thumbnail","type":"file","src":"/C:/Users/91869/Downloads/Header.png"}]},"url":"{{Host URL}}/video/","description":"<p>Use this to save a video and its details.</p>\n<ul>\n<li>video here is a file field which will get the file using upload from frontend.</li>\n</ul>\n","urlObject":{"path":["video",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ec976f2-a421-4e0a-a5d2-c44f10a98e70"},{"name":"Edit a Video","id":"974e8221-8c4d-4c44-ac0d-7a10c17bd8be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_name","value":"project-1-video-1","type":"text"},{"key":"project_name","value":"project-name-1","type":"text"},{"key":"display_video_name","value":"Third Video","type":"text"},{"key":"video","type":"file","src":"/C:/Users/91869/Downloads/video.mp4"},{"key":"likes","value":"0","type":"text"},{"key":"votes","value":"0","type":"text"},{"key":"views","value":"0","type":"text"},{"key":"video_thumbnail","type":"file","src":"/C:/Users/91869/Downloads/logos (1).png"}]},"url":"http://127.0.0.1:8000/video/project-1-video-2/","description":"<p>Use this to save a video and its details.</p>\n<ul>\n<li>video here is a file field which will get the file using upload from frontend.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["video","project-1-video-2",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"974e8221-8c4d-4c44-ac0d-7a10c17bd8be"},{"name":"Get all project videos","id":"1b559046-5ce8-4c9a-9f3d-ee9d880160a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/listvideos/project-name-1/","description":"<p>Use to get all videos and details fora single project.</p>\n<ul>\n<li><em>{hosted_url}/listvideos/{project_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{project_name}</em> will be of the project whose all videos we want to get.</li>\n</ul>\n","urlObject":{"path":["listvideos","project-name-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b559046-5ce8-4c9a-9f3d-ee9d880160a2"},{"name":"Delete single video","id":"3457fc9f-f8f0-4f7d-be7d-d79fdf14ec68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/video/project_2_video_1/","description":"<p>Use to delete video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to delete.</li>\n</ul>\n","urlObject":{"path":["video","project_2_video_1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3457fc9f-f8f0-4f7d-be7d-d79fdf14ec68"},{"name":"Get all videos","id":"8c885d6d-b47d-4140-ae67-f98654d24ffe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/listallvideos/","description":"<p>Use to get all videos and details fora single project.</p>\n<ul>\n<li><em>{hosted_url}/listvideos/{project_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{project_name}</em> will be of the project whose all videos we want to get.</li>\n</ul>\n","urlObject":{"path":["listallvideos",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c885d6d-b47d-4140-ae67-f98654d24ffe"},{"name":"Get single video","id":"06d3b4c0-e691-4347-8d35-df7600407cac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/video/project-1-video-1/","description":"<p>Use to get a video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to get.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["video","project-1-video-1",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06d3b4c0-e691-4347-8d35-df7600407cac"},{"name":"Get single video and Project","id":"03ca1305-79ff-498b-89ba-68b120d77ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/videoandproject/project-1-video-1/","description":"<p>Use to get a video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to get.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["videoandproject","project-1-video-1",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"03ca1305-79ff-498b-89ba-68b120d77ef4"}],"id":"73bbbd09-9656-4c5b-9845-83ae3581d8a9","description":"<p>This collection deals with Video Details.</p>\n<ul>\n<li>It has 5 APIs one POST, two GET, one PUT and one DELETE</li>\n</ul>\n","_postman_id":"73bbbd09-9656-4c5b-9845-83ae3581d8a9"},{"name":"Video Operations","item":[{"name":"Video Like","id":"9789245d-59ba-4ff6-95f7-1c69971c7391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/video/like/project-1-video-5/","description":"<p>Use to like video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/like/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to like.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["video","like","project-1-video-5",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9789245d-59ba-4ff6-95f7-1c69971c7391"},{"name":"Video Dislike","id":"104c6074-3c01-495c-aa61-82a0ff960a0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/video/dislike/project-1-video-1/","description":"<p>Use to like video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/dislike/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to dislike.</li>\n</ul>\n","urlObject":{"path":["video","dislike","project-1-video-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"104c6074-3c01-495c-aa61-82a0ff960a0f"},{"name":"Video Vote","id":"7b3fb625-8e1e-46f9-a4d9-a1bd8b0385fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/video/vote/project-1-video-1/","description":"<p>Use to vote video or it's details.</p>\n<ul>\n<li><em>{hosted_url}/video/vote/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to vote.</li>\n</ul>\n","urlObject":{"path":["video","vote","project-1-video-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b3fb625-8e1e-46f9-a4d9-a1bd8b0385fc"},{"name":"Video Views","id":"b831d382-f45e-4a93-a045-1060585db059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/video/views/project-1-video-2/","description":"<p>Use to register a view on a video.</p>\n<ul>\n<li><em>{hosted_url}/video/views/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to add a view to.</li>\n</ul>\n","urlObject":{"path":["video","views","project-1-video-2",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b831d382-f45e-4a93-a045-1060585db059"},{"name":"Video Check","id":"ac3c8f9a-1bd9-40c0-88e8-8c5d341db9a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/video/check/project-1-video-1/","description":"<p>Use to register a view on a video.</p>\n<ul>\n<li><em>{hosted_url}/video/check/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to add a view to.</li>\n</ul>\n","urlObject":{"path":["video","check","project-1-video-1",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac3c8f9a-1bd9-40c0-88e8-8c5d341db9a1"}],"id":"f414c961-f112-4155-a7a3-29ced4b1c81a","description":"<p>This collection deals with Video Operations i.e. 'like', 'dislike', 'vote', 'views'.</p>\n<ul>\n<li>It has 4 APIs all are GET.</li>\n</ul>\n","_postman_id":"f414c961-f112-4155-a7a3-29ced4b1c81a"},{"name":"Attempt","id":"dd47b776-6fcb-4cbd-ac5a-9c3ada001086","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{Host URL}}/attempt/","description":"<p>Use to register a view on a video.</p>\n<ul>\n<li><em>{hosted_url}/video/views/{video_name}/</em><br />Here the <em>{hosted_url}</em> will be the hosted URL and <em>{video_name}</em> will be of the video whose details we want to add a view to.</li>\n</ul>\n","urlObject":{"path":["attempt",""],"host":["{{Host URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd47b776-6fcb-4cbd-ac5a-9c3ada001086"}]}