Forum Discussion
API_User
2 years agoEquinix Employee
Is there a best practice to fetch all CIRCUIT,SENSOR data?
Hello, I have a question.
## Question. Is there a best practice to get all CIRCUIT,SENSOR data?
## Background We are developing and operating a monitoring system for current and temperature...
- 2 years agoHi,
please refer to the below API call and endpoint to fetch all circuit and sensor data through a single API call.
Fetch all Circuit data:
curl -X
POST "https://api.equinix.com/power/v1/current
-H "content-type: application/json"
-H "authorization: Bearer"
-d '{
"accountNo": "",
"ibx": "",
"levelType": "circuit"
}'
Fetch all customer owned sensor data:
curl -X
GET 'https://api.equinix.com/environment/v1/listCurrent?accountNo=&ibx= &levelType=SENSOR'
-H 'Authorization: Bearer
-H 'Content-Type: application/json'
Thanks
API_User
2 years agoEquinix Employee
Expected data were obtained. Thank you so much!!
Related Content
- 3 years ago