{"info":{"_postman_id":"4bc5a51c-8b9d-4dd2-87dc-e36592252c38","name":"Postman Hack 2021","description":"<html><head></head><body><h1 id=\"spacecubes-api\">SpaceCubes API</h1>\n<p>An API that helps developers keep up with their schedules, track dependencies, protect their data, generate testing data and keep themselves updated with the current industry standards.</p>\n<p>Each individual route documentation has been attached with the API requests itself.All routes take in and give out data in <code>json</code> format only and in some cases using <code>URL Parameters</code>. Depending on the outcome each response send an appropriate status code and relevant messages and errors.</p>\n<p><code>Base URL: https://spacecubes.herokuapp.com/api/</code></p>\n<p><em><strong>A Successful Request Will Look Like:</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"success\": true,\n    \"message\": \"Relevant Message\"\n}\n</code></pre><p><em><strong>An Unsuccessful Request Will Look Like:</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"success\": false,\n    \"error\": \"Relevant Error Message\"\n}\n</code></pre><ol>\n<li><p><em><strong>Reminders:</strong></em> This module lets the users set reminders based on <code>date</code>, <code>time</code> and <code>purpose</code> . All the reminders are triggered based on <code>Indian Standard Time (IST)</code> Whenever a reminder is triggered an email is sent to the user notifying them about the event. This route also integrates seamlessly with the newsletter route to send the pending tasks on the newsletter everyday. When the user creates a reminder for the first time using the API, a code is sent to the email, this code must then be passed everytime the user creates a reminder, gets reminders to ensure only the creator is able to read the reminders.</p>\n</li>\n<li><p><em><strong>Dependency Trackers:</strong></em> This module lets developers track changes in the npm packages which their applications rely on. All the user needs is the name of the package, email to be notified and the secret code given to the user, once the tracker is set, it checks for changes and version updates within the package every <code>5 mins</code> and as soon as a change is detected, an email is sent to the user notifying them about the ocurred change with the change in version number, and the link to the package. This route also offers info fetching for a particular npm package where the developer can easily retrieve all the historic info connected to that package, including latest version, version history, dependencies, files and maintainers.</p>\n</li>\n<li><p><em><strong>Data Vault:</strong></em> This module lets users store their very important and sensitive data in the most efficient and secure way with multiple layers of security implemented. Each user is assigned a node, and each node can have <code>n</code> number of vaults under it, for example:</p>\n</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>📦 User Node\n ┣ 📂 vault1\n ┣ 📂 vault2\n ┣ 📂 vault3\n</code></pre><p> Each Node has a <code>password</code> which remains same for all vaults under it and each vault has an unique <code>code</code> associated with it, which is unique to that particular vault. When a new vault is created an email is sent to the user with the <code>vaultid</code> which is needed to insert/get data.All the data is cryptographically hashed using <code>AES 256-bit Encryption</code> before being stored in the Database and the password and secret code is hashed using <code>bcrypt</code>, this data then can only be decrypted with the correct node and vault credentials. This module also allows the users to delete the entire node or delete one particular vault within the node.</p>\n<p> <code>Note: Node owners are notfied by email whenever an unauthorized request tries to access their vaults,delete the vault or insert data into it. When data is inserted into a vault which already has data into it, the data is overwritten.</code></p>\n<ol>\n<li><em><strong>Data Generator:</strong></em> This module lets developers generate random fake data for their varous testing needs. Its incredibly powerful and fast and can generate 1000s of profiles in a few milliseconds. This route can generate full length profiles of people based on the gender specified, for example:</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n           \"firstName\": \"Tony\",\n           \"lastName\": \"Bernier\",\n           \"userName\": \"tony.bernier\",\n           \"password\": \"nonuxazufi\",\n           \"email\": \"tony.bernier14@hotmail.com\",\n           \"phone\": \"271.713.7192\",\n           \"dob\": \"1976-11-16T20:55:45.215Z\",\n           \"website\": \"https://www.jean.biz\",\n           \"ip\": \"81.52.182.125\",\n           \"avatar\": \"https://s3.amazonaws.com/uifaces/faces/twitter/edhenderson/128.jpg\",\n           \"gravatar\": \"https://www.gravatar.com/avatar/1868462a4df8068aeec99d4f64ba098c\",\n           \"address\": {\n               \"country\": \"Egypt\",\n               \"countryCode\": \"EG\",\n               \"state\": \"Georgia\",\n               \"city\": \"Carolynton\",\n               \"street\": \"727 Garrett Island\",\n               \"zip\": \"96301-2926\",\n               \"geo\": {\n                   \"latitude\": -76.8663,\n                   \"longitude\": -112.6337\n               }\n           },\n           \"status\": true\n       }\n</code></pre><p>This module is not limited to just people profiles, it can also generate full length company profiles, array of emails, uuids, full-length addresses and much more. This module also offers a custom data route which can generate dynamic random data based on a template, for example <code>Hi, my name is #{names.name}. I was born in #{address.city}, #{address.country}. I am #{date.age} years old.</code> will generate: <code>Hi, my name is Mrs. Marta Powlowski. I was born in West Laura, Wallis &amp; Futuna. I am 41 years old.</code></p>\n<p><code>Note: All requests are capped to 5000 to reduce sercer load issues</code></p>\n<ol>\n<li><em><strong>Daily Newsletter:</strong></em> This route helps the user subscribe to the API's daily newletter which is sent out at ```6pm Indian Standard Time`` everyday. This newsletter aims to keep the suscriber up-to-date with current industry news and standards, Both dependency tracker and reminder modules integrate with this module and all pending reminders and tracked dependencies are attached to the same email.</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"SpaceCubes API","slug":"spacecubes-api"}],"owner":"4263319","collectionId":"4bc5a51c-8b9d-4dd2-87dc-e36592252c38","publishedId":"TW6up9Ej","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-25T19:49:57.000Z"},"item":[{"name":"https://spacecubes.herokuapp.com/api/reminder/","id":"614b1b94-686e-435b-85cf-1b5466afb7c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"monishb@techstax.co\",\n    \"purpose\": \"Drink Some Coffee\",\n    \"date\": \"24/01/2021\",\n    \"time\": \"22:50\",\n    \"code\": \"1gdf54kkbdtdkh\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/reminder/","description":"<h3 id=\"get-reminders\">Get Reminders</h3>\n<p>Gets all the reminders associated with an email irrespective of if they have already been triggered or not</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be notified <br />\n<code>code</code>: The secret code sent by email, if not already set the API automatically sends one<br /></p>\n","urlObject":{"protocol":"https","path":["api","reminder",""],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"614b1b94-686e-435b-85cf-1b5466afb7c4"},{"name":"https://spacecubes.herokuapp.com/api/reminder/","id":"bb06ba64-151f-4c14-b116-0b2942c005b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"monishb@techstax.co\",\n    \"purpose\": \"Drink Some Coffee Part-2\",\n    \"date\": \"24/01/2021\",\n    \"time\": \"23:00\",\n    \"code\": \"1gdf54kkbdtdkh\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/reminder/","description":"<h3 id=\"set-reminder\">Set Reminder</h3>\n<p>This route sets a reminder based on the given inputs (All times are considered in IST). When the reminder is triggered an email is sent immediately.</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be notified <br />\n<code>code</code>: The secret code sent by email, if not already set the API automatically sends one<br />\n<code>date</code>: The date for the reminder in the format \"dd/mm/yyyy\"<br />\n<code>time</code>: The time for the reminder in the format \"hh:mm\"<br /></p>\n<p><em><strong>Optional Parameters</strong></em><br /><br />\n<code>purpose</code>: The description for the reminder</p>\n","urlObject":{"protocol":"https","path":["api","reminder",""],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb06ba64-151f-4c14-b116-0b2942c005b8"},{"name":"https://spacecubes.herokuapp.com/api/dependency/info","id":"cfaf1e86-72a8-4ef4-84c5-a3e2e2fb2a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"monishs.19.beis@acharya.ac.in\",\n    \"pkgName\": \"nodemon\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/dependency/info","description":"<h3 id=\"get-dependency-info\">Get Dependency Info</h3>\n<p>Gets all the available information about a npm package from the NPM Registry, inlcuding all version information, contributors, maintainers,dependencies etc.</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be notified <br /><br />\n<code>pkgName</code>: The name of the npm package as it appears on the npm website<br />Gets Dependency Info</p>\n","urlObject":{"protocol":"https","path":["api","dependency","info"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfaf1e86-72a8-4ef4-84c5-a3e2e2fb2a52"},{"name":"https://spacecubes.herokuapp.com/api/dependency/track","id":"e59a7d0d-8fe0-4f8b-888e-77ae1e635c92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"monishs.19.beis@acharya.ac.in\",\n    \"code\": \"co3jjn1fmkkkaqzza9\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/dependency/track","description":"<h3 id=\"get-all-dependency-trackers\">Get All Dependency Trackers</h3>\n<p>Gets all the dependency trackers associated with the provided email address</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be notified <br />\n<code>code</code>: The secret code sent by email, if not already set the API automatically sends one<br />Gets all dependency trackers</p>\n","urlObject":{"protocol":"https","path":["api","dependency","track"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e59a7d0d-8fe0-4f8b-888e-77ae1e635c92"},{"name":"https://spacecubes.herokuapp.com/api/dependency/track","id":"691ecce0-4f22-4ca7-9e2b-ba0bd13fe9fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"monishs.19.beis@acharya.ac.in\",\n    \"code\": \"co3jjn1fmkkkaqzza9\",\n    \"pkgName\": \"nodemon\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/dependency/track","description":"<h3 id=\"set-a-dependency-tracker\">Set A Dependency Tracker</h3>\n<p>Sets a dependency tracker based on the provided input, then it checks for updates on the said npm package every <code>5 mins</code> and if any new changes are detected, sends an email notifiying about the update in version</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be notified <br />\n<code>code</code>: The secret code sent by email, if not already set the API automatically sends one<br />\n<code>pkgName</code>: The name of the npm package<br />Set a dependency tracker</p>\n","urlObject":{"protocol":"https","path":["api","dependency","track"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"691ecce0-4f22-4ca7-9e2b-ba0bd13fe9fb"},{"name":"https://spacecubes.herokuapp.com/api/generator/people/:gender/:qty","id":"63920b6a-17ec-4df7-b316-0d7396a50458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/people/male/5","description":"<h3 id=\"people-profile-generator\">People Profile Generator</h3>\n<p>Ever wanted random fake profiles to test your UI, or to test that DB? This route takes in two <code>URL Params</code> one being <code>gender</code> which should one of [male/female/mixed] and second parameter being <code>qty</code> specifying the amount of profiles to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/people/:gender/:qty</code></p>\n<p>Male Profile Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n            \"firstName\": \"Terry\",\n            \"lastName\": \"Volkman\",\n            \"userName\": \"terry.volkman98\",\n            \"password\": \"zuxamegopo\",\n            \"email\": \"terry.volkman95@hotmail.com\",\n            \"phone\": \"(742) 614-7032 x5063\",\n            \"dob\": \"1980-07-19T09:23:21.497Z\",\n            \"website\": \"http://www.vicky-price.org\",\n            \"ip\": \"193.103.211.83\",\n            \"avatar\": \"https://s3.amazonaws.com/uifaces/faces/twitter/adhiardana/128.jpg\",\n            \"gravatar\": \"https://www.gravatar.com/avatar/eef50ebd172a6aaf9acfe243f08564eb\",\n            \"address\": {\n                \"country\": \"Kiribati\",\n                \"countryCode\": \"KI\",\n                \"state\": \"Nevada\",\n                \"city\": \"Mablebury\",\n                \"street\": \"67275 Myron Mountain Suite 940\",\n                \"zip\": \"98000-5145\",\n                \"geo\": {\n                    \"latitude\": -38.7591,\n                    \"longitude\": 168.90949999999998\n                }\n            },\n            \"status\": true\n        }\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","people","male","5"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"63920b6a-17ec-4df7-b316-0d7396a50458"},{"name":"https://spacecubes.herokuapp.com/api/generator/address/:qty","id":"2fdacaae-2da8-4792-bedf-8a16bb8ade1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/address/5","description":"<h3 id=\"address-generator\">Address Generator</h3>\n<p>A route to generate random fake addresses.This route takes in one <code>URL Params</code>,  <code>qty</code> specifying the amount of addresses to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/address/:qty</code></p>\n<p>Sample Data:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n            \"country\": \"France\",\n            \"countryCode\": \"FR\",\n            \"state\": \"North Carolina\",\n            \"city\": \"Port Carmen\",\n            \"street\": \"457 Durgan Camp Suite 722\",\n            \"zip\": \"11416\",\n            \"geo\": {\n                \"latitude\": 75.6138,\n                \"longitude\": 16.535799999999995\n            }\n        }\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","address","5"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fdacaae-2da8-4792-bedf-8a16bb8ade1b"},{"name":"https://spacecubes.herokuapp.com/api/generator/company/:qty","id":"45148599-c477-4ac9-b4c6-3b14fc61a87f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/company/5","description":"<h3 id=\"company-generator\">Company Generator</h3>\n<p>A route to generate random fake company profiles.This route takes in one <code>URL Params</code>,  <code>qty</code> specifying the amount of companies to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/company/:qty</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n            \"name\": \"Fritsch LLC\",\n            \"email\": \"fritsch-llc.cartwright71@gmail.com\",\n            \"phone\": \"461-119-1327\",\n            \"website\": \"https://www.clyde.eu\",\n            \"ip\": \"7.27.105.62\",\n            \"address\": {\n                \"country\": \"Macau SAR China\",\n                \"countryCode\": \"MO\",\n                \"state\": \"South Carolina\",\n                \"city\": \"North Bettyview\",\n                \"street\": \"7627 Upton Landing\",\n                \"zip\": \"28277\",\n                \"geo\": {\n                    \"latitude\": 55.0343,\n                    \"longitude\": 7.519200000000012\n                }\n            }\n        }\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","company","5"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"45148599-c477-4ac9-b4c6-3b14fc61a87f"},{"name":"https://spacecubes.herokuapp.com/api/generator/blog/:qty","id":"f204a7b6-9c8b-4c13-90fd-f5cfbf2c026b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/blog/5","description":"<h3 id=\"blog-generator\">Blog Generator</h3>\n<p>A route to generate random fake blog posts.This route takes in one <code>URL Params</code>,  <code>qty</code> specifying the amount of blog posts to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/blogs/:qty</code></p>\n<p>Sample Data: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n            \"title\": \"Exercitationem sint earum est cupiditate tempora qui amet fugiat.\",\n            \"keywords\": [\n                \"sed\",\n                \"ipsum\",\n                \"et\"\n            ],\n            \"created\": \"2021-01-21T17:06:50.840Z\",\n            \"content\": \"Molestias temporibus architecto necessitatibus cupiditate quidem perferendis nulla nesciunt velit. Voluptas ut nemo omnis. Reiciendis vel sit aspernatur adipisci fugit. Voluptatem voluptatem id ut et quia magni molestiae aut. Cum necessitatibus animi aut ex. Repudiandae et similique.\\r\\nNulla aliquid in totam fugiat ut eaque tenetur. Tenetur eos nemo. Non iusto recusandae et dolore perferendis assumenda qui minus minus. Cum et reiciendis nemo dignissimos nemo dolorem.\\r\\nPariatur cupiditate possimus. Omnis sit est asperiores a. Est illo velit facere optio delectus nam. Natus iure alias magni tenetur aut. Dignissimos non sint voluptate porro ut voluptates.\"\n        }\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","blog","5"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f204a7b6-9c8b-4c13-90fd-f5cfbf2c026b"},{"name":"https://spacecubes.herokuapp.com/api/generator/uuid/:qty","id":"3b8756b0-12dc-4518-8253-40bde5a01160","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/uuid/10","description":"<h3 id=\"uuid-generator\">UUID Generator</h3>\n<p>A route to generate random UUIDs.This route takes in one <code>URL Params</code>,  <code>qty</code> specifying the amount of UUIDs to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/uuid/:qty</code></p>\n<p>Sample Data: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n        \"fa00420b-df65-42a9-a8a3-37166951950b\",\n        \"74bdcba7-9d42-43e2-ae53-23f295e07c5a\",\n        \"413cc388-f29a-47ab-87f2-8b00a829627f\",\n        \"ccb18499-1fb0-4ae9-9fcc-3c1f04815074\",\n        \"d9878d87-0cf2-44f5-b2d1-5febd856ed72\",\n        \"5ccd9e37-5a90-4168-8715-6cdc7fcaf98b\",\n        \"1a1bb7da-115d-45d9-8d0e-c325373cb9e7\",\n        \"e6b34f31-ae4a-4f81-a1c8-1bc00c3decc7\",\n        \"070e7a04-5fa8-4411-b3a8-ccbcfe50b7d2\",\n        \"1a564263-fe4a-42ce-8fcd-0b2a1e7e8beb\"\n    ]\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","uuid","10"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b8756b0-12dc-4518-8253-40bde5a01160"},{"name":"https://spacecubes.herokuapp.com/api/generator/email/:qty","id":"adea0584-4dde-414f-acbe-86af9c8dab9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/email/10","description":"<h3 id=\"email-generator\">Email Generator</h3>\n<p>A route to generate random fake emails.This route takes in one <code>URL Params</code>,  <code>qty</code> specifying the amount of emals to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/email/:qty</code></p>\n<p>Sample Data: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n        \"matt56@gmail.com\",\n        \"rosemarie93@yahoo.com\",\n        \"monicabruen38@gmail.com\",\n        \"lela63@yahoo.com\",\n        \"pennyjerde74@gmail.com\",\n        \"justin.botsford@hotmail.com\",\n        \"rodolfo.lowe28@yahoo.com\",\n        \"loretta.abshire83@yahoo.com\",\n        \"brendan.pacocha@yahoo.com\",\n        \"catherine.doyle@yahoo.com\"\n    ]\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","email","10"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"adea0584-4dde-414f-acbe-86af9c8dab9c"},{"name":"https://spacecubes.herokuapp.com/api/generator/lorem/:entity/:qty","id":"7fdee27e-d914-41cd-9950-a547a2168698","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://spacecubes.herokuapp.com/api/generator/lorem/sentence/10","description":"<h3 id=\"lorem-generator\">Lorem Generator</h3>\n<p>Generates Lorem sentences, words or entire paragraphs.This route takes in two <code>URL Params</code> one being <code>entity</code> which should one of [word/sentence/paragraph] and second parameter being <code>qty</code> specifying the amount of lorems to be generated and is capped at <code>5000</code></p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/lorem/:entity/:qty</code></p>\n<p>Sample \"Sentence\" Data:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n        \"Ipsum alias sit ea alias.\",\n        \"Eius iure voluptatibus.\",\n        \"Maiores ipsa esse quia quia magni.\",\n        \"Ut corporis et quaerat iure quia illo natus.\",\n        \"Consequatur aliquid minima rem rem modi officia modi.\",\n        \"Est dolore et magni ipsam eum.\",\n        \"Repellendus est laboriosam quo sequi necessitatibus.\",\n        \"Quo hic tenetur voluptas accusamus sequi ex omnis sed.\",\n        \"Et sequi alias non.\",\n        \"Sapiente dolorum voluptatem nulla eveniet illo excepturi.\"\n    ]\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","lorem","sentence","10"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fdee27e-d914-41cd-9950-a547a2168698"},{"name":"https://spacecubes.herokuapp.com/api/generator/custom/:qty","id":"97519957-0bee-418d-8157-d4e2718460b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"template\": \"Hi, my name is #{names.name}. I was born in #{address.city}, #{address.country}. I am #{date.age} years old.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/generator/custom/10","description":"<h3 id=\"custom-generator\">Custom Generator</h3>\n<p>Generates custom sentences.</p>\n<p><code>https://spacecubes.herokuapp.com/api/generator/custom/:qty</code></p>\n<p>Sample Data:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n        \"Hi, my name is Billy Keeling. I was born in West Jackshire, Palau. I am 54 years old.\",\n        \"Hi, my name is Dustin Jacobs. I was born in Veumtown, Burundi. I am 73 years old.\",\n        \"Hi, my name is Mary Langworth. I was born in Samfurt, Madagascar. I am 80 years old.\",\n        \"Hi, my name is Dawn Pfannerstill. I was born in Bartonland, Belarus. I am 47 years old.\",\n        \"Hi, my name is Darrin Rath. I was born in Faheymouth, Taiwan. I am 33 years old.\",\n        \"Hi, my name is Marsha Conn. I was born in Gregmouth, Caribbean Netherlands. I am 25 years old.\",\n        \"Hi, my name is Dr. Gary Hilpert. I was born in South Vanbury, Madagascar. I am 23 years old.\",\n        \"Hi, my name is Bryant Wolf. I was born in Strosinburgh, Laos. I am 39 years old.\",\n        \"Hi, my name is Melissa O'Kon. I was born in Roweborough, Spain. I am 58 years old.\",\n        \"Hi, my name is Leo Labadie. I was born in Abshireport, Saudi Arabia. I am 26 years old.\"\n    ]\n</code></pre>","urlObject":{"protocol":"https","path":["api","generator","custom","10"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"97519957-0bee-418d-8157-d4e2718460b2"},{"name":"https://spacecubes.herokuapp.com/api/vault/myvault/create","id":"b5ce590e-0180-44a7-94df-b79aa0339a1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\",\n   \"password\": \"mynodepassword\",\n   \"code\": \"secretvaultcode\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/vault/myvault/create","description":"<h3 id=\"create-a-vault\">Create a Vault</h3>\n<p>This route creates a vault under the node associated with that user. If no node exists, a new node is created and a vault is added.After this an email is sent to that email with the <code>vaultid</code> for the new vault created</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email associated/to be connected to the vault<br />\n<code>password</code>: The secret password associated with your node, this remains same for all vaults under this user<br />\n<code>code</code>: The secret code for this particular vault and is unique to this vault only<br /></p>\n","urlObject":{"protocol":"https","path":["api","vault","myvault","create"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5ce590e-0180-44a7-94df-b79aa0339a1f"},{"name":"https://spacecubes.herokuapp.com/api/vault/myvault/","id":"6b957d94-0892-4003-8c91-29b6737ef5be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\",\n   \"password\": \"mynodepassword\",\n   \"code\": \"secretvaultcode\",\n   \"vaultid\": \"1sqc4kkcvbvmv\",\n   \"data\": \"Super Super Secret Info To Be Stored\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/vault/myvault/","description":"<h3 id=\"insert-data-to-vault\">Insert Data To Vault</h3>\n<p>This route lets the vault owner insert data into one of their vaults under their node. This data is then encrypted and stored and can be decrypted with the right request and credentials</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email associated to the node in which this vault resides<br />\n<code>password</code>: The secret password associated with your node, this remains same for all vaults under this user<br />\n<code>code</code>: The secret code for the vault trying to be accessed<br />\n<code>vaultid</code>: The ID for the vault trying to be accessed sent by email<br />\n<code>data</code>: The data to be stored in this vault<br /></p>\n","urlObject":{"protocol":"https","path":["api","vault","myvault",""],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b957d94-0892-4003-8c91-29b6737ef5be"},{"name":"https://spacecubes.herokuapp.com/api/vault/myvault/","id":"cf962014-cb86-4082-8517-2f9f0c9b8916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\",\n   \"password\": \"mynodepassword\",\n   \"code\": \"secretvaultcode\",\n   \"vaultid\": \"1sqc4kkcvbvmv\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/vault/myvault/","description":"<h3 id=\"get-data-from-a-vault\">get data from a vault</h3>\n<p>This route lets the vault owner get all the data previously stored from one of the vaults under their node.After the data is retrieved and decrypted an email is sent to the user with all the accessed data.</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email associated to the node in which this vault resides<br />\n<code>password</code>: The secret password associated with your node, this remains same for all vaults under this user<br />\n<code>code</code>: The secret code for the vault trying to be accessed<br />\n<code>vaultid</code>: The ID for the vault trying to be accessed sent by email<br /></p>\n","urlObject":{"protocol":"https","path":["api","vault","myvault",""],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf962014-cb86-4082-8517-2f9f0c9b8916"},{"name":"https://spacecubes.herokuapp.com/api/vault/myvault/delete","id":"5cfa95ca-4216-4c2b-9289-cb117e3677b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\",\n   \"password\": \"mynodepassword\",\n   \"code\": \"secretvaultcode\",\n   \"vaultid\": \"1sqc4kkcvbvmv\",\n   \"option\": \"vault\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/vault/myvault/delete","description":"<h3 id=\"delete-entire-nodevault\">delete entire node/vault</h3>\n<p>This route lets the node owner delete the entire node assocated to them which in turn deletes all the vaults created within the node, or just delete one specific vault without affecting any other vault</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email associated to the node in which this vault resides<br />\n<code>password</code>: The secret password associated with your node, this remains same for all vaults under this user<br />\n<code>code</code>: The secret code for the vault trying to be accessed<br />\n<code>vaultid</code>: The ID for the vault trying to be accessed sent by email (Required only if 'option' parameter is set to \"vault\"<br />\n<code>option</code>: The operation to be performed, must be one of <code>vault`` or </code>node```<br /></p>\n","urlObject":{"protocol":"https","path":["api","vault","myvault","delete"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cfa95ca-4216-4c2b-9289-cb117e3677b7"},{"name":"https://spacecubes.herokuapp.com/api/news/check","id":"3583147c-144d-42e0-ae4f-7ecc48037706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/news/check","description":"<h3 id=\"check-newsletter-subscription\">Check Newsletter Subscription</h3>\n<p>This route lets the user check if he/she is subscrbed to this API's daily newsletter.</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be checked<br /></p>\n","urlObject":{"protocol":"https","path":["api","news","check"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3583147c-144d-42e0-ae4f-7ecc48037706"},{"name":"https://spacecubes.herokuapp.com/api/news/subscribe","id":"988c2fe6-33a2-4df1-bac8-29d1bad4b996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/news/subscribe","description":"<h3 id=\"susbcribe-to-daily-newsletter\">Susbcribe to daily newsletter</h3>\n<p>This route lets the user to subscribe to the daily newsletter</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be subscribed<br /></p>\n","urlObject":{"protocol":"https","path":["api","news","subscribe"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"988c2fe6-33a2-4df1-bac8-29d1bad4b996"},{"name":"https://spacecubes.herokuapp.com/api/news/unsubscribe","id":"a4c14e6d-d899-410d-9813-fa7d9e19d763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"email\":\"monish2.basaniwal@gmail.com\",\n   \"code\": \"co3jjn12a2kkcwzhf8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://spacecubes.herokuapp.com/api/news/unsubscribe","description":"<h3 id=\"unsubscribe-from-daily-newsletter\">unsubscribe from daily newsletter</h3>\n<p>This route lets the user to unsubcribe from thje daily newsletter</p>\n<p><em><strong>Required Parameters</strong></em><br /><br />\n<code>email</code>: The email to be unsubscribed<br />\n<code>code</code>: The secret code sent by email, if not already set the API automatically sends one<br /></p>\n","urlObject":{"protocol":"https","path":["api","news","unsubscribe"],"host":["spacecubes","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4c14e6d-d899-410d-9813-fa7d9e19d763"}]}