Forum Discussion

API_User's avatar
API_User
Equinix Employee
4 years ago

Could you let me know how to get Cage and Cabinet list via API?

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"
        }
    }
}

1 Reply

  • API_User's avatar
    API_User
    Equinix Employee

    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.

Featured Places

  • Node avatar for Discussions

    Discussions

    Engage with industry experts, share insights, ask questions, and grow your network.
  • Node avatar for Ideas

    Ideas

    Share your ideas and help shape the future of Equinix!
  • Node avatar for Groups

    Groups

    Ready to collaborate? Join a Group or upcoming beta program.
  • Node avatar for What's New

    What's New

    Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.
  • Node avatar for Events

    Events

    Your Guide to Upcoming Events - Online, Hybrid, and In-Person!