Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
54a33207
authored
Mar 26, 2017
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
adding postman collection
parent
9dd68e3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
405 additions
and
0 deletions
platforms/cisco cdp/Cisco CDP.postman_collection.json
platforms/cisco cdp/Cisco CDP.postman_collection.json
0 → 100644
View file @
54a33207
{
"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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment