{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"4bc5a51c-8b9d-4dd2-87dc-e36592252c38","name":"Postman Hack 2021","description":"# SpaceCubes API\nAn 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.\n\nEach individual route documentation has been attached with the API requests itself.All routes take in and give out data in ```json``` format only and in some cases using ```URL Parameters```. Depending on the outcome each response send an appropriate status code and relevant messages and errors.\n\n```Base URL: https://spacecubes.herokuapp.com/api/```\n\n***A Successful Request Will Look Like:***\n\n```\n{\n    \"success\": true,\n    \"message\": \"Relevant Message\"\n}\n```\n\n***An Unsuccessful Request Will Look Like:***\n\n```\n{\n    \"success\": false,\n    \"error\": \"Relevant Error Message\"\n}\n```\n\n1) ***Reminders:*** This module lets the users set reminders based on ```date```, ```time``` and ```purpose``` . All the reminders are triggered based on ```Indian Standard Time (IST)``` 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.\n\n2) ***Dependency Trackers:*** 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 ```5 mins``` 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.\n\n3) ***Data Vault:*** 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 ```n``` number of vaults under it, for example:\n```\n📦 User Node\n ┣ 📂 vault1\n ┣ 📂 vault2\n ┣ 📂 vault3\n ```\n Each Node has a ```password``` which remains same for all vaults under it and each vault has an unique ```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 ```vaultid``` which is needed to insert/get data.All the data is cryptographically hashed using ```AES 256-bit Encryption``` before being stored in the Database and the password and secret code is hashed using ```bcrypt```, 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.\n \n ```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.```\n \n 4) ***Data Generator:*** 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:\n ```\n {\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```\nThis 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 ```Hi, my name is #{names.name}. I was born in #{address.city}, #{address.country}. I am #{date.age} years old.``` will generate: ```Hi, my name is Mrs. Marta Powlowski. I was born in West Laura, Wallis & Futuna. I am 41 years old.```\n\n```Note: All requests are capped to 5000 to reduce sercer load issues```\n\n5) ***Daily Newsletter:*** 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.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"4263319","team":1491503,"collectionId":"4bc5a51c-8b9d-4dd2-87dc-e36592252c38","publishedId":"TW6up9Ej","public":true,"publicUrl":"https://documenter-api.postman.tech/view/4263319/TW6up9Ej","privateUrl":"https://go.postman.co/documentation/4263319-4bc5a51c-8b9d-4dd2-87dc-e36592252c38","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2021-01-25T19:49:57.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/469bea6e975d3162045d497b874b7c07ff59ba3a8eb7182edf8028016585c735","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/TW6up9Ej"}