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
Hi! We tried API call you advised to get our owned sensor data.The payload only show 10 sensor data, but in OS1 we have more than 20 sensor installed.
Could you advise the reason and solution?
Our account number is 135611, IBX is OS1.
API call you advised.
curl -X
GET 'https://api.equinix.com/environment/v1/listCurrent?accountNo=&ibx=&levelType=SENSOR'
-H 'Authorization: Bearer
-H 'Content-Type: application/json'
Could you advise the reason and solution?
Our account number is 135611, IBX is OS1.
API call you advised.
curl -X
GET 'https://api.equinix.com/environment/v1/listCurrent?accountNo=
-H 'Authorization: Bearer
-H 'Content-Type: application/json'
Related Content
- 3 years ago