SteelConnect REST API
REST API Overview
SteelConnect features a powerful REST API for northbound traffic. You can use the API to access many features that are also available through the SteelConnect Manager (SCM) graphical user interface (GUI). Using the SteelConnect REST API, you can create client applications that interact with your SCM to
•retrieve detailed information about every organization.
•pull information from SteelCentral.
•assign hardware serial numbers in bulk to different sites.
•expose and directly manage items like organizations, zones, sites, users, and switches.
•create and delete access points, SSIDs, data center uplinks, and clusters.
•view and delete inbound rules, outbound rules, traffic rules, and more.
The REST API is enabled for a SCM realm by a realm administrator. For details, see
Enabling REST API. Administrators that manage an organization within a realm also have access to their organization through the REST API.
The SteelConnect REST API adheres to common REST API principles and supports all request verbs (GET, PUT, POST, DELETE, and so on). All data transfered between the API and client applications is formatted in JavaScript Object Notation (JSON); no data is passed in headers or in the URI. Data encoded in a format other than JSON (binary files, for example) are contained and specified within the JSON data.
Object IDs persist through the lifetime of the object even when services, devices, or connections are reset or restarted. Functions are unchanged and always yield the same result regardless of the number of identical requests. The URI handles the versioning, where the version number precedes the resource in the URI (for example, /v1/<resource>). You can reference a specific instance of an object by its object ID by inserting the ID in the URI (for example, /<resource>/:<id>/).
HTTP status codes indicate request status and system messages are not enveloped. While most resources don’t automatically generate auxiliary resources, some resources do. For example, an organization object requires a default site. So when an organization is created, the system automatically generates a default site named HQ under it. As a rule, any automatically generated resource does not interfere with your use of the API.
The Node datatype encompasses all types of appliances (switches, access points, gateways, and so on) because appliances share many commonalities. So for any given instance of a node object there can be unnecessary fields. Client applications can ignore these unnecessary fields; in fact, the system ignores (or, in some cases, resets) them.
Accessing the API
The SteelConnect API is built right in the SteelConnect product and is accessed over HTTPS. Here is the base URI:
•https://<steelconnect-manager-hostname>/api/<api>/<version>/
All resources available through the API are below this URI. Here are some example resource URIs:
•https://example.riverbed.com/api/scm.config/1.0/orgs
•https://example.riverbed.com/api/scm.config/1.0/org/org-example-2eac682ed323184d/switch
You can also access the SteelConnect API through the Riverbed support site:
•https://support.riverbed.com/apis/index.html
Authenticating API requests
All API requests are authenticated using BASIC authentication. Admin users authenticated against the API have the same rights as if they were using the GUI. You can use a command like cURL to issue simple requests. Here are a few examples:
•curl -k -X GET https://example.riverbed.com:4059/api/scm.config/1.0/orgs
•curl -k -X GET https://example.riverbed.com:4059/api/scm.config/1.0/org/org-example-2eac682ed323184d/switch
Viewing documentation for an object
The SteelConnect REST API is hierarchical. You can query the first tier, and then after selecting an organization, you filter into second-tier objects for that particular organization.
To view documentation for an object
1. Select the first tier object: for example, accesspoint.
2. Select a method: for example, POST.
The object parameters, model schema, and responses for that particular operation appear.
Operation documentation
Supported appliance types
This table lists the appliances supported by SteelConnect.
Appliance Type | Image Name | Description |
Virtual GW | SDI-VGW | |
Virtual GW | SDI-AWS | |
Virtual GW | SDI-SH | |
Access point | SDI-AP3 | |
Access point | SDI-AP5 | |
Access point | SDI-AP5r | |
Gateway | SDI-130 | |
Gateway | SDI-330 | |
Gateway | SDI-1030 | |
Gateway | SDI-5030 | |
Switch | SDI-S12 | 12-Port switch |
Switch | SDI-S24 | 24-Port switch |
Switch | SDI-S48 | 48-Port switch |
SteelHead | CX-570 | |
SteelHead | CX-770 | |
SteelHead | CX-3070 | |