The Equinix Community will be offline for scheduled maintenance on July 31, 2024. Learn More.
Hello
I am trying to get Cage and Cabinet list via API but it returns empty results
Could you advise how to get the details?
Input:
curl --request POST \
--url 'https://api.equinix.com/v1/assets/search?sorts=IBX&source=CAGE&exactMatch=false&offset=0&limit=100' \
--header 'accept: application/json' \
--header 'authorization: Bearer xxxxxxx' \
--header 'content-type: application/json' \
--data '{"filter":{"ibxs":["SV2"]}}'
Response:
{
"data": [],
"page": {
"limit": 90,
"offset": 38491869,
"total": 0,
"sorts": [
"IBX"
]
},
"_links": {
"next": {
"href": "/assets/search?exactMatch=false&offset=38491869&limit=90&source=CABINET&sorts=IBX"
},
"previous": {
"href": "/assets/search?exactMatch=false&offset=38491869&limit=90&source=CABINET&sorts=IBX"
},
"self": {
"href": "/assets/search?exactMatch=false&offset=38491869&limit=90&source=CABINET&sorts=IBX"
}
}
}
Please ensure that the user of the auth token has the required permissions to view assets data. Permissions can be configured in Equinix customer Portal.
Equinix is the world's digital infrastructure company. Digital leaders harness our trusted platform to bring together and interconnect the foundational infrastructure that powers their success. We enable our customers to access all the right places, partners and possibilities they need to accelerate advantage.