Commit 54a33207 by amir

adding postman collection

parent 9dd68e3d
{
"variables": [],
"info": {
"name": "Cisco CDP",
"_postman_id": "2fcdb7a4-4aef-651a-022a-afbc94ef51b2",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "cdp login",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabtokenapi/login",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "username",
"value": "devoperator6@cdp.com",
"type": "text",
"enabled": true
},
{
"key": "password",
"value": "j5CEuFrb+$",
"type": "text",
"enabled": true
},
{
"key": "client_id",
"value": "a27b18484c3c4e08a7c193e42c639347",
"type": "text",
"enabled": true
},
{
"key": "client_secret",
"value": "b863de8f453c4a05A88126F45B958CF1",
"type": "text",
"enabled": true
},
{
"key": "grant_type",
"value": "client_credentials",
"type": "text",
"enabled": true
}
]
},
"description": "\t\t"
},
"response": []
},
{
"name": "User Details",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/accounts/username?loginName=devoperator6@cdp.com",
"method": "GET",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
}
],
"body": {},
"description": ""
},
"response": []
},
{
"name": "Get Parking",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/parking?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"ParkingSpace\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "user-locations",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/locations/userinfo/user/500106?loginName=devoperator6@cdp.com",
"method": "GET",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"ParkingSpace\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "location by id",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/locations/10006?loginName=devoperator6@cdp.com",
"method": "GET",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"ParkingSpace\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "customer capability",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/capabilities/customer/500106",
"method": "GET",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer b746d143ba4f9fae868b1e7efa533161",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer LuGy7w5FvQTRULXEEtCgWFnXZjPl",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"Light\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Lights",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/lighting?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"Light\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Traffic",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/traffic?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\"Query\": {\n\"Find\": {\n\"RoadSegment\": {\n\"sid\": { \"ne\": \"\" }\n}\n}\n}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Environment",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/environment?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"Query\": {\n\t\t\"Find\": {\n\t\t\t\"EnvironmentSensor\": {\n\t\t\t\t\"sid\": {\n\t\t\t\t\t\"ne\": \"\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Waste",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/waste?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"Query\": {\n\t\t\"Find\": {\n\t\t\t\"WasteBin\": {\n\t\t\t\t\"sid\": {\n\t\t\t\t\t\"ne\": \"\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get Mobility Stats",
"request": {
"url": "http://10.10.20.6/apigw/devnetlabapi/cdp/v1/devices/mobility?UserKey=500111&SensorCustomerKey=500050&AppKey=CDP-App",
"method": "POST",
"header": [
{
"key": "WSO2-Authorization",
"value": "oAuth Bearer 2231ab9d3820d4cd437edffa41e98d7a",
"description": ""
},
{
"key": "Authorization",
"value": "Bearer TviLYfs2FCNnLRZhNjkMUeaFxDmQ",
"description": ""
},
{
"key": "Accept",
"value": "application/json",
"description": ""
},
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"Query\": {\n\t\t\"Find\": {\n\t\t\t\"MobilityPOM\": {\n\t\t\t\t\"sid\": {\n\t\t\t\t\t\"ne\": \"\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t\"collateStats\": \"\"\n}"
},
"description": ""
},
"response": []
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment