Equinix Cloud Routers API

Cloud Routers

Operations 19

POST /fabric/v4/connections/{connectionId}/advertisedRoutes/search Search Advertised Routes #
POST /fabric/v4/connections/{connectionId}/receivedRoutes/search Search Received Routes #
POST /fabric/v4/routers Create Routers #
GET /fabric/v4/routers/{routerId} Get Routers #
DELETE /fabric/v4/routers/{routerId} Delete Routers #
PATCH /fabric/v4/routers/{routerId} Update Routers #
GET /fabric/v4/routers/{routerId}/actions Get Route Table Actions #
POST /fabric/v4/routers/{routerId}/actions Create Route Table Action #
POST /fabric/v4/routers/{routerId}/actions/search Search Route Table Actions #
GET /fabric/v4/routers/{routerId}/actions/{actionId} Get Route Table Action by ID #
GET /fabric/v4/routers/{routerId}/commands Get Commands #
POST /fabric/v4/routers/{routerId}/commands Initiate Command #
POST /fabric/v4/routers/{routerId}/commands/search Search Commands #
GET /fabric/v4/routers/{routerId}/commands/{commandId} Get Command #
DELETE /fabric/v4/routers/{routerId}/commands/{commandId} Delete Command #
POST /fabric/v4/routers/{routerId}/routes/search Search Route Table #
POST /fabric/v4/routers/search Search Routers #
GET /fabric/v4/routerPackages List Packages #
GET /fabric/v4/routerPackages/{routerPackageCode} Get Package Details #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/equinix-cloud-routers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

equinix-cloud-routers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Equinix Fabric API v4 Cloud Routers API
  description: 'Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to: </br> 1. Cloud Service Providers - Clouds, network and other service providers.  </br> 2. Enterprises - Other Equinix customers, vendors and partners.  </br> 3. Myself - Another customer instance deployed at Equinix. </br> </br> <b>Integrations (SDKs, Tools) links:</b> </br> <a href="https://github.com/equinix/equinix-sdk-java">Fabric Java SDK</a> </br> <a href="https://github.com/equinix/equinix-sdk-go">Fabric Go SDK</a> </br> <a href="https://github.com/equinix/equinix-sdk-python">Fabric Python SDK</a> </br> <a href="https://registry.terraform.io/providers/equinix/equinix/latest/docs">Equinix Terraform Provider</a> </br> <a href="https://registry.terraform.io/modules/equinix/fabric/equinix/latest">Fabric Terraform Modules</a> </br> <a href="https://www.pulumi.com/registry/packages/equinix/">Equinix Pulumi Provider</a> </br>'
  termsOfService: https://www.equinix.com/about/legal/terms
  contact:
    name: Equinix API Support
    url: https://docs.equinix.com/api-support.htm
  license:
    name: Equinix Inc
    url: https://developer.equinix.com/agreement
  version: '4.28'
servers:
- url: https://api.equinix.com
  description: Equinix Inc
security:
- BearerAuth: []
tags:
- name: Cloud Routers
  description: Cloud Routers
paths:
  /fabric/v4/connections/{connectionId}/advertisedRoutes/search:
    post:
      tags:
      - Cloud Routers
      summary: Search Advertised Routes
      description: The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting
      operationId: searchConnectionAdvertisedRoutes
      parameters:
      - name: connectionId
        in: path
        description: Connection Id
        required: true
        schema:
          $ref: '#/components/schemas/ConnectionId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionRouteSearchRequest'
            examples:
              ConnectionRoutesSearchType:
                $ref: '#/components/examples/ConnectionRoutesSearchByType'
              ConnectionRoutesSearchByState:
                $ref: '#/components/examples/ConnectionRoutesSearchByState'
              ConnectionRoutesSearchByPrefix:
                $ref: '#/components/examples/ConnectionRoutesSearchByPrefix'
              ConnectionRoutesSearchByNextHop:
                $ref: '#/components/examples/ConnectionRoutesSearchByNextHop'
              ConnectionRoutesSearchByMed:
                $ref: '#/components/examples/ConnectionRoutesSearchByMed'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionRouteTableEntrySearchResponse'
              examples:
                advertisedRoutes:
                  $ref: '#/components/examples/CloudRouterAdvertisedRoutesSearchResponse'
                receivedRoutes:
                  $ref: '#/components/examples/CloudRouterReceivedRoutesSearchResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400'
                dryRun:
                  $ref: '#/components/examples/400_dry_run'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
  /fabric/v4/connections/{connectionId}/receivedRoutes/search:
    post:
      tags:
      - Cloud Routers
      summary: Search Received Routes
      description: The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting
      operationId: searchConnectionReceivedRoutes
      parameters:
      - name: connectionId
        in: path
        description: Connection Id
        required: true
        schema:
          $ref: '#/components/schemas/ConnectionId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionRouteSearchRequest'
            examples:
              ConnectionRoutesSearchType:
                $ref: '#/components/examples/ConnectionRoutesSearchByType'
              ConnectionRoutesSearchByState:
                $ref: '#/components/examples/ConnectionRoutesSearchByState'
              ConnectionRoutesSearchByMed:
                $ref: '#/components/examples/ConnectionRoutesSearchByMed'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionRouteTableEntrySearchResponse'
              examples:
                advertisedRoutes:
                  $ref: '#/components/examples/CloudRouterAdvertisedRoutesSearchResponse'
                receivedRoutes:
                  $ref: '#/components/examples/CloudRouterReceivedRoutesSearchResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400'
                dryRun:
                  $ref: '#/components/examples/400_dry_run'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
  /fabric/v4/routers:
    post:
      tags:
      - Cloud Routers
      summary: Create Routers
      description: This API provides capability to create user's Cloud Routers
      operationId: createCloudRouter
      parameters:
      - name: dryRun
        in: query
        description: option to verify that API calls will succeed
        required: false
        schema:
          type: boolean
          default: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudRouterPostRequest'
            examples:
              CreateLabPackage:
                $ref: '#/components/examples/CreateLabPackage'
              CreateProPackage:
                $ref: '#/components/examples/CreateStandardPackage'
              CreateWithMarketplaceSubscription:
                $ref: '#/components/examples/CreateWithMarketplaceSubscription'
        required: true
      responses:
        '200':
          description: Fabric Cloud Router object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouter'
              examples:
                cloudRouterResponse:
                  $ref: '#/components/examples/CloudRouterPostResponseExample'
                cloudRouterResponseForMarketplaceSubscription:
                  $ref: '#/components/examples/CloudRouterPostResponseMarketplaceExample'
                cloudRouterResponseDryRun:
                  $ref: '#/components/examples/CloudRouterResponseExampleDryRun'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                invalidPackage:
                  $ref: '#/components/examples/400_invalid_package'
                invalidName:
                  $ref: '#/components/examples/400_invalid_name'
                invalidAccount:
                  $ref: '#/components/examples/400_invalid_account'
                maxLabFcrReached:
                  $ref: '#/components/examples/400_max_lab_fcr_demo'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '415':
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
  /fabric/v4/routers/{routerId}:
    get:
      tags:
      - Cloud Routers
      summary: Get Routers
      description: This API provides capability to retrieve user's Cloud Routers
      operationId: getCloudRouterByUuid
      parameters:
      - name: routerId
        in: path
        description: Cloud Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId'
      responses:
        '200':
          description: Fabric Cloud Router object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouter'
              examples:
                cloudRouterResponse:
                  $ref: '#/components/examples/CloudRouterResponseExample'
                cloudRouterResponseMarketplace:
                  $ref: '#/components/examples/CloudRouterResponseExampleMarketplace'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
    delete:
      tags:
      - Cloud Routers
      summary: Delete Routers
      description: This API provides capability to delete user's Cloud Routers
      operationId: deleteCloudRouterByUuid
      parameters:
      - name: routerId
        in: path
        description: Cloud Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId'
      responses:
        '204':
          description: Deleted Cloud Router Successfully
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                invalidState:
                  $ref: '#/components/examples/400_invalid_state'
                GatewayAttached:
                  $ref: '#/components/examples/400_attached_to_gateway'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
    patch:
      tags:
      - Cloud Routers
      summary: Update Routers
      description: This API provides capability to update user's Cloud Routers
      operationId: updateCloudRouterByUuid
      parameters:
      - name: routerId
        in: path
        description: Cloud Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId'
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/CloudRouterUpdateRequest'
            examples:
              UpdatePackage:
                $ref: '#/components/examples/UpdatePackage'
              UpdateName:
                $ref: '#/components/examples/UpdateName'
              UpdateNotificationEmail:
                $ref: '#/components/examples/UpdateNotifications'
              UpdateTermLength:
                $ref: '#/components/examples/UpdateTermLength'
              UpdatePackageAndTermLength:
                $ref: '#/components/examples/UpdatePackageAndTermLength'
        required: true
      responses:
        '200':
          description: Fabric Cloud Router object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouter'
              examples:
                cloudRouterResponse:
                  $ref: '#/components/examples/CloudRouterPatchResponseExample'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_operation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '415':
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
  /fabric/v4/routers/{routerId}/actions:
    get:
      tags:
      - Cloud Routers
      summary: Get Route Table Actions
      description: This API provides capability to fetch all actions for a given cloud router
      operationId: getCloudRouterActions
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      - name: state
        in: query
        description: Action state
        schema:
          $ref: '#/components/schemas/ActionState'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouterActionsSearchResponse'
              examples:
                routerActionExample:
                  $ref: '#/components/examples/CloudRouterActionSearchResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_operation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '415':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
    post:
      tags:
      - Cloud Routers
      summary: Create Route Table Action
      description: This API provides capability to refresh route table and bgp session summary information
      operationId: createCloudRouterAction
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudRouterActionRequest'
            examples:
              RouteEntriesStatusUpdate:
                $ref: '#/components/examples/RouteEntriesStatusUpdate'
              ReceivedRouteEntriesStatusUpdate:
                $ref: '#/components/examples/ReceivedRouteEntriesStatusUpdate'
              AdvertisedRouteEntriesStatusUpdate:
                $ref: '#/components/examples/AdvertisedRouteEntriesStatusUpdate'
        required: true
      responses:
        '202':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouterActionResponse'
              examples:
                cloudRouterActionExample:
                  $ref: '#/components/examples/CloudRouterActionResponse'
                receivedRouteEntriesExample:
                  $ref: '#/components/examples/CloudRouterReceivedRoutesActionResponse'
                advertisedRouteEntriesExample:
                  $ref: '#/components/examples/CloudRouterAdvertisedRoutesActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_operation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '415':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
  /fabric/v4/routers/{routerId}/actions/search:
    post:
      tags:
      - Cloud Routers
      summary: Search Route Table Actions
      description: This API provides capability to search route table actions for a given cloud router
      operationId: searchRouterActions
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudRouterActionsSearchRequest'
            examples:
              CloudRouterActionsSearchByType:
                $ref: '#/components/examples/CloudRouterActionsSearchByType'
        required: true
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouterActionsSearchResponse'
              examples:
                routerActionExample:
                  $ref: '#/components/examples/CloudRouterActionSearchResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_sorting'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '415':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
  /fabric/v4/routers/{routerId}/actions/{actionId}:
    get:
      tags:
      - Cloud Routers
      summary: Get Route Table Action by ID
      description: This API provides capability to fetch action status
      operationId: getCloudRouterActionsByUuid
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      - name: actionId
        in: path
        description: Action UUID
        required: true
        schema:
          $ref: '#/components/schemas/ActionId_1'
      - name: state
        in: query
        description: Action state
        schema:
          $ref: '#/components/schemas/ActionState'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouterActionResponse'
              examples:
                searchResponseExample:
                  $ref: '#/components/examples/CloudRouterActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_operation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404'
        '415':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500'
  /fabric/v4/routers/{routerId}/commands:
    get:
      tags:
      - Cloud Routers
      summary: Get Commands
      description: This API provides capability to fetch all commands
      operationId: getAllCloudRouterCommands
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAllCloudRouterCommands'
              examples:
                getAllCommandsExample:
                  $ref: '#/components/examples/GetAllPingCommandResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/400_invalid_operation_commands'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/403_commands'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/404_commands'
        '415':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/415_commands'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorList'
              examples:
                example:
                  $ref: '#/components/examples/500_commands'
    post:
      tags:
      - Cloud Routers
      summary: Initiate Command
      description: This API provides capability to initiate Command
      operationId: createCloudRouterCommand
      parameters:
      - name: routerId
        in: path
        description: Router UUID
        required: true
        schema:
          $ref: '#/components/schemas/RouterId_1'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloudRouterCommandPostRequest'
            examples:
              InitiatePingCommand:
                $ref: '#/components/examples/PostRequestPingCommand'
              InitiateTracerouteCommand:
                $ref: '#/components/examples/PostRequestTracerouteCommand'
        required: true
      responses:
        '202':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudRouterCommand'
              examples:
                initia

# --- truncated at 32 KB (142 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/equinix/refs/heads/main/openapi/equinix-cloud-routers-api-openapi.yml