12.07.2015 Views

Ridgeline 4.0 REST API Quick Start PDF - Extreme Networks

Ridgeline 4.0 REST API Quick Start PDF - Extreme Networks

Ridgeline 4.0 REST API Quick Start PDF - Extreme Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What is Supported in <strong>REST</strong>?Table 20: <strong>REST</strong> Supported Attributes for PortsAttribute Meaning Usable as Query StringDeviceIPIP address of device containing portIDSystem-assigned identifierPortRange Port range specifications (1–32)IDM-EnabledTrue or falseRBM-EnabledTrue or falsePagination SupportClients can request the numbers and starting point of the entities to a GET response using these twoparameters:• Offset—indicates the beginning index• Limit—indicates the total number of entities that the client can acceptExamples:HTTP GET ridgeline.co.com:8081/v1.0/dataservice/inventory/devices?limit=50(Retrieves the first 50 entries. Note that offset=1 is implied.)HTTP GET ridgeline.co.com:8081/v1.0/dataservice/inventory/devices?offset=50&limit=50(Retrieves the next 50 entries.)Filtering SupportFiltering allows you to separate desired data that matches your designated criteria from a larger dataset. URL GET retrievals can be filtered using query-string style filters that meet these conditions:• Query strings can be combined together with an implied “AND”.• A specific query string can appear only once in the URL.The query string filtering format is: ?filter=valueExample:A client can retrieve a list of devices that are down (or unreachable) using this URL:HTTP GET ridgeline.co.com:8081/v1.0/dataservice/inventory/devices?status=down<strong>Ridgeline</strong> <strong>4.0</strong> <strong>REST</strong> <strong>API</strong> <strong>Quick</strong> <strong>Start</strong> 14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!