Skip to content

Instantly share code, notes, and snippets.

@falkorichter
Created January 28, 2015 15:22
Show Gist options
  • Save falkorichter/d8e35a207df75a6cb90f to your computer and use it in GitHub Desktop.
Save falkorichter/d8e35a207df75a6cb90f to your computer and use it in GitHub Desktop.
sensorberg postman change settings
{
"id": "9dd38d2c-dc53-8480-2b9d-cfea5e8bdaed",
"name": "sensorberg",
"timestamp": 1422456944492,
"order": [
"0ea7fa48-3ef7-dcfd-3408-c83c8018d166",
"80a03eb8-6673-88ab-97a9-8637df5b0006",
"20c65136-b238-fa67-f349-c4415cdc4486",
"8a5633d3-1cb9-fbc0-b466-ad169515fca4"
],
"requests": [
{
"collectionId": "9dd38d2c-dc53-8480-2b9d-cfea5e8bdaed",
"id": "0ea7fa48-3ef7-dcfd-3408-c83c8018d166",
"name": "login",
"description": "",
"url": "https://connect.sensorberg.com/api/user/login",
"method": "POST",
"headers": "Content-Type: application/x-www-form-urlencoded\n",
"data": "email=<username>&password=<password>",
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1422457618253
},
{
"collectionId": "9dd38d2c-dc53-8480-2b9d-cfea5e8bdaed",
"id": "20c65136-b238-fa67-f349-c4415cdc4486",
"name": "applications",
"description": "",
"url": "https://connect.sensorberg.com/api/applications/",
"method": "GET",
"headers": "Authorization: f15240a3dfdb65def4fc291ce9a22982ab0d556540458dd5f371c8e0b8b2eee5\n",
"data": "{\n\t\"scanner.exitTimeoutMillies\" \t\t: 4001,\n\t\"scanner.foreGroundWaitTime\" \t: 1000,\n\t\"scanner.foreGroundScanTime\" \t: 10001,\n\t\"scanner.backgroundScanTime\" \t: 10001,\n\t\"scanner.backgroundWaitTime\" \t: 1000,\n\t\"settings.updateTime\" \t\t\t: 86400000, \n\t\"one_day\" \t\t\t\t\t: 86400000\n}",
"dataMode": "raw",
"timestamp": 0,
"version": 2,
"time": 1422457957819
},
{
"collectionId": "9dd38d2c-dc53-8480-2b9d-cfea5e8bdaed",
"id": "80a03eb8-6673-88ab-97a9-8637df5b0006",
"name": "settings",
"description": "",
"url": "https://connect.sensorberg.com/api/applications/f257de3b91d141aa93b6a9b39c97b83df257de3b91d141aa93b6a9b39c97b83d/settings/android/",
"method": "GET",
"headers": "",
"data": "{\n\t\"scanner.exitTimeoutMillies\" \t\t: 4001,\n\t\"scanner.foreGroundWaitTime\" \t: 1000,\n\t\"scanner.foreGroundScanTime\" \t: 10001,\n\t\"scanner.backgroundScanTime\" \t: 10001,\n\t\"scanner.backgroundWaitTime\" \t: 1000,\n\t\"settings.updateTime\" \t\t\t: 86400000, \n\t\"one_day\" \t\t\t\t\t: 86400000\n}",
"dataMode": "params",
"timestamp": 0,
"responses": [],
"version": 2
},
{
"collectionId": "9dd38d2c-dc53-8480-2b9d-cfea5e8bdaed",
"id": "8a5633d3-1cb9-fbc0-b466-ad169515fca4",
"name": "settings",
"description": "",
"url": "https://connect.sensorberg.com/api/applications/f257de3b91d141aa93b6a9b39c97b83df257de3b91d141aa93b6a9b39c97b83d/settings/android/",
"method": "POST",
"headers": "Content-Type: application/json\nAuthorization: f15240a3dfdb65def4fc291ce9a22982ab0d556540458dd5f371c8e0b8b2eee5\n",
"data": "{\n\t\"scanner.exitTimeoutMillies\" \t\t: 4001,\n\t\"scanner.foreGroundWaitTime\" \t: 1000,\n\t\"scanner.foreGroundScanTime\" \t: 10001,\n\t\"scanner.backgroundScanTime\" \t: 10001,\n\t\"scanner.backgroundWaitTime\" \t: 1000,\n\t\"settings.updateTime\" \t\t\t: 86400000, \n\t\"one_day\" \t\t\t\t\t: 86400000\n}",
"dataMode": "raw",
"timestamp": 0,
"responses": [],
"version": 2
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment