Skip to content

Instantly share code, notes, and snippets.

@jmandel
Last active December 27, 2015 09:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmandel/7303077 to your computer and use it in GitHub Desktop.
Save jmandel/7303077 to your computer and use it in GitHub Desktop.
BB REST API Calls for POSTMAN REST Client
{
"id": "6ecaefca-6a4c-995c-3d7f-7b5a2b0607d4",
"name": "BB REST API",
"timestamp": 1383525089539,
"requests": [
{
"collectionId": "6ecaefca-6a4c-995c-3d7f-7b5a2b0607d4",
"id": "40947022-e6c1-d87d-38e1-b3b54bafe10a",
"name": "0. Register",
"description": "",
"url": "https://authorize.fhir.me/register",
"method": "POST",
"headers": "Authorization: Bearer {prereg-jwt}\nContent-type: application/json\n",
"data": " {\n \"client_name\": \"Clinical Trials BB+ Pilot\",\n \"client_uri\": \"http://localhost:8090/SIFBBPilot/\",\n \"logo_uri\": \"http://localhost:8090/SIFBBPilot/images/rxClinicalTrials.png\",\n \"contacts\": \n [\n \"exim@comcast.net\"\n ],\n \"redirect_uris\": \n [ \n \"http://localhost:8090/SIFBBPilot/index.html\" \n ],\n \"response_types\": \n [\n \"code\"\n ],\n \"grant_types\": \n [\n \"authorization_code\"\n ],\n \"scope\": \"summary\"\n }",
"dataMode": "raw",
"timestamp": 0,
"responses": [],
"version": 2
},
{
"collectionId": "6ecaefca-6a4c-995c-3d7f-7b5a2b0607d4",
"id": "be03613e-2956-7b04-e372-8de5776f5106",
"name": "2. Token",
"description": "",
"url": "https://authorize.fhir.me/token",
"method": "POST",
"headers": "Authorization: Basic Y2xpZW50LWlkOmNsaWVudC1zZWNyZXQ=\n",
"data": [
{
"key": "grant_type",
"value": "authorization_code",
"type": "text"
},
{
"key": "code",
"value": "0PXzLd",
"type": "text"
},
{
"key": "redirect_uri",
"value": "http://localhost:8090/SIFBBPilot/index.html",
"type": "text"
}
],
"dataMode": "urlencoded",
"timestamp": 0,
"responses": [],
"version": 2
},
{
"collectionId": "6ecaefca-6a4c-995c-3d7f-7b5a2b0607d4",
"id": "d35588ad-5bca-36bc-e8fb-33618236f6cf",
"name": "3. Summary",
"description": "",
"url": "https://authorize.fhir.me/api/bb/summary",
"method": "GET",
"headers": "Authorization: Bearer {access-token}\n",
"data": " {\n \"client_name\": \"Clinical Trials BB+ Pilot\",\n \"client_uri\": \"http://localhost:8090/SIFBBPilot/\",\n \"logo_uri\": \"http://localhost:8090/SIFBBPilot/images/rxClinicalTrials.png\",\n \"contacts\": \n [\n \"exim@comcast.net\"\n ],\n \"redirect_uris\": \n [ \n \"http://localhost:8090/SIFBBPilot/index.html\" \n ],\n \"response_types\": \n [\n \"code\"\n ],\n \"grant_types\": \n [\n \"authorization_code\"\n ],\n \"scope\": \"summary\"\n }",
"dataMode": "raw",
"timestamp": 0,
"responses": [],
"version": 2
},
{
"collectionId": "6ecaefca-6a4c-995c-3d7f-7b5a2b0607d4",
"id": "f4d36e7b-040b-7e6f-95e2-6973db617602",
"name": "1. Authorize",
"description": "",
"url": "https://authorize.fhir.me/authorize?client_id=1603a9b1-80c0-4fc5-998e-274…ode&scope=summary&redirect_uri=http://localhost:8090/SIFBBPilot/index.html",
"method": "GET",
"headers": "Content-type: application/json\n",
"data": " {\n \"client_name\": \"Clinical Trials BB+ Pilot\",\n \"client_uri\": \"http://localhost:8090/SIFBBPilot/\",\n \"logo_uri\": \"http://localhost:8090/SIFBBPilot/images/rxClinicalTrials.png\",\n \"contacts\": \n [\n \"exim@comcast.net\"\n ],\n \"redirect_uris\": \n [ \n \"http://localhost:8090/SIFBBPilot/index.html\" \n ],\n \"response_types\": \n [\n \"code\"\n ],\n \"grant_types\": \n [\n \"authorization_code\"\n ],\n \"scope\": \"summary\"\n }",
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1383525275998
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment