Smart View APIs
30 TopicsIs 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 sensors in a Datacenter. We would like to import data from Smartview into our monitoring system and are considering using the API. We need data for each CIRCUIT and SENSOR, but if we use the following API, we can only get summary data for the specified unit. === e.g. Current (Power_v1) request ❯ curl --request GET \ --url 'https://api.equinix.com/power/v1/current?accountNo={accountNo}&ibx={ibx}&levelType=ibx&levelValue={ibx}' \ --header 'accept: application/json' \ --header 'authorization: Bearer {bearer}' \ --header 'content-type: application/json' Next, we considered how to obtain a list of CIRCUIT,SENSOR from the HierarchyAPI and request one of each. However, we found that the API limits the number of requests to 1,000 per day. We have more than 1,000 CIRCUITs and SENSORs that we want to retrieve and cannot monitor with 1,000 requests/day. ref: https://developer.equinix.com/forum/power-api-interval-queries Is there a better way to get all CIRCUIT,SENSOR values using Smartview API? Thank you.Solved3.8KViews0likes4CommentsError During Token Creation
Amplifying this post:https://developer.equinix.com/forum/issue-creating-work-visit-request We've sent the customer toapi-experience@equinix.comas colo related APIs are involved. Hello, We are trying to automate creating work visit requests in Equinix portal using rest API's. Following the documentation , i was able to generate client creds etc and use to generate bearer token. when i used the same to submit a work visit request, i get invalid token used error. Anyone faced this ??? Any recommendations ?? Thanks in Advance3.6KViews1like0CommentsAPI Questions/Clarifications
Hello everyone, I'm working with Yahoo on a project that involves monitoring power data for a large number of PDUs—more than 1000—every hour. We've hit a snag, though. The API we're using has a daily limit of 1000 calls. Here's the current API we're using: curl -s -X GET "https://api.equinix.com/power/v1/current?accountNo=${EQUINIX_ACCOUNT_NUMBER}&ibx=${EQUINIX_IBX}&levelType=CIRCUIT&levelValue=${LEVELVALUE}" I've tried adding multiple values to "levelValue," but it's not working as expected. The challenge is that we have to check so many PDUs every hour that making a single call per PDU isn't practical. If we go that route, we'll hit the API limit in just one hour. I found an alternative approach on the forum: curl -s -X POST "https://api.equinix.com/power/v1/current" -H "content-type: application/json" -H "Authorization: Bearer ${1}" -d '{ "accountNo": "'${2}'", "ibx": "'${3}'", "levelType": "circuit" }' This method provides data for all PDUs in a single response. However, the "levelValue" returned varies: In the original API call: "levelValue": "DB3:280355" In the alternative API call: "levelValue": "DB3:DT-340276" While "DB3:280355" aligns with our PDU naming scheme and is visible in reports, "DB3:DT-340276" doesn't show up in any reports, including SmartViews generated reports. I'd appreciate your insights and suggestions. If you've faced similar challenges or have recommendations, please share.Solved2.9KViews0likes2CommentsPower API interval queries
Hello, A few questions for API access and usage. Please can you give me the interval of query for your different levels (power/temperature/etc...). I want to configure a prob who will call your API every x minutes according to your granularity. What is the maximum query per second on the API? Did you have a limitation with token creation (quantity / over time / other)? Are there plans to have the possibility to stream data to an endpoint, I see specific endpoint like GCP/AWS/Azure but what if I want to have my own endpoint? Thanks for your answers,Solved2.7KViews0likes2Comments'503 Service Unavailable' for IBX Smartview Alerts API
Hi, I've been trying to call /getAlerts and /getAlertsActivityLog but keep getting '503 Service Unavailable' Below are the links I used which are found in the documentations https://api.equinix.com/smartview/v1/alerts/getAlerts https://api.equinix.com/smartview/v1/alerts/getAlertActivityLogSolved2.1KViews0likes1Comment