{"info":{"_postman_id":"ca315ddb-b5d6-4a81-b130-864a620922c7","name":"Connect API Spec","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3282203","collectionId":"ca315ddb-b5d6-4a81-b130-864a620922c7","publishedId":"S1LsXq2E","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-05-02T18:52:34.000Z"},"item":[{"name":"/help","id":"6a360afa-661a-4757-83db-a22a1ad03c8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://episphere-connect.herokuapp.com/help","description":"<p>Help Endpoint -&gt; lists available commands.</p>\n","urlObject":{"protocol":"https","path":["help"],"host":["episphere-connect","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a360afa-661a-4757-83db-a22a1ad03c8a"},{"name":"/submit","id":"5048e434-5980-4ecb-8320-417beaf631b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"filename\": \"abc.csv\",\n\t\"type\": \"csv\",\n\t\"data\": \"Site ID,Sub-site ID,Site-Specific Participant ID,Age,Sex,Race,Ethnicity,Total # Contact Attempts,Recruitment Type\\nKP,CO,21910010001,65,M,White,white,1,Targeted\\nKP,HI,21910010002,44,F,Native American/Alaskan Native,Hispanic,10,Self Referral\"\n}"},"url":"https://episphere-connect.herokuapp.com/submit","description":"<p>Make a submission to Connect</p>\n","urlObject":{"protocol":"https","path":["submit"],"host":["episphere-connect","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5048e434-5980-4ecb-8320-417beaf631b2"},{"name":"/files","id":"2c80cce0-7309-4d91-a9c2-8f58264ff513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://episphere-connect.herokuapp.com/files/","description":"<p>Retrieve all files submitted using this API Key.</p>\n","urlObject":{"protocol":"https","path":["files",""],"host":["episphere-connect","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c80cce0-7309-4d91-a9c2-8f58264ff513"},{"name":"/files/:submissionId","id":"b31d90a5-e1da-4dbd-bee5-52bfe776e20e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://episphere-connect.herokuapp.com/files/:submissionId?format=csv&version=1","description":"<p>Retrieve a single submission corresponding to the API Key. The submissionId in the URL may either be the submission ID returned to the user upon calling /submit or the filename that the user sent during the /submit call.</p>\n","urlObject":{"protocol":"https","path":["files",":submissionId"],"host":["episphere-connect","herokuapp","com"],"query":[{"description":{"content":"<p>The data format that you want the submission to be returned in. Can be one of <code>csv, tsv, json</code> . Default is <code>json</code></p>\n","type":"text/plain"},"key":"format","value":"csv"},{"description":{"content":"<p>The version of the submission that is to be retrieved. Returns the latest version by default.</p>\n","type":"text/plain"},"key":"version","value":"1"}],"variable":[{"description":{"content":"<p>The ID of the submission that was returned in the /submit response. Can be replaced by filename.</p>\n","type":"text/plain"},"type":"string","value":"","key":"submissionId"}]}},"response":[],"_postman_id":"b31d90a5-e1da-4dbd-bee5-52bfe776e20e"},{"name":"/files/:submissionId/:Connect_ID","id":"71cd923c-29a0-44f1-973f-bb5ad5b52e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://episphere-connect.herokuapp.com/files/:submissionId/:Connect_ID?format=csv&version=1","description":"<p>Retrieve a single case from a specific submission.</p>\n","urlObject":{"protocol":"https","path":["files",":submissionId",":Connect_ID"],"host":["episphere-connect","herokuapp","com"],"query":[{"description":{"content":"<p>The data format that you want the record to be retrieved in. Can be one of <code>csv, tsv, json</code> . Default is <code>json</code></p>\n","type":"text/plain"},"key":"format","value":"csv"},{"description":{"content":"<p>The version of the submission from which the record is to be retrieved. Returns the latest version by default.</p>\n","type":"text/plain"},"key":"version","value":"1"}],"variable":[{"description":{"content":"<p>The ID of the submission that was returned in the /submit response. Can be replaced by filename.</p>\n","type":"text/plain"},"type":"string","value":"","key":"submissionId"},{"description":{"content":"<p>The Connect Case ID that was returned in the /submit response.</p>\n","type":"text/plain"},"type":"string","value":"","key":"Connect_ID"}]}},"response":[],"_postman_id":"71cd923c-29a0-44f1-973f-bb5ad5b52e0e"},{"name":"/case/:Connect_Id","id":"5bb6a855-707c-4a66-a152-65a0b9d4b139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://episphere-connect.herokuapp.com/case/:Connect_Id?format=csv&caseVersion=1","description":"<p>Retrieve a single record from all submissions.</p>\n","urlObject":{"protocol":"https","path":["case",":Connect_Id"],"host":["episphere-connect","herokuapp","com"],"query":[{"description":{"content":"<p>The data format that you want the record to be retrieved in. Can be one of <code>csv, tsv, json</code> . Default is <code>json</code></p>\n","type":"text/plain"},"key":"format","value":"csv"},{"description":{"content":"<p>The version of the record that is to be retrieved. Returns the latest version by default.</p>\n","type":"text/plain"},"key":"caseVersion","value":"1"}],"variable":[{"description":{"content":"<p>The Connect Case ID that was returned in the /submit response.</p>\n","type":"text/plain"},"type":"string","value":"","key":"Connect_Id"}]}},"response":[],"_postman_id":"5bb6a855-707c-4a66-a152-65a0b9d4b139"}]}