File Server switch ports GET operation
GET {{baseUrl}}/api/v1/storage-systems/device-type6/:systemUuid/switch-ports?limit=100&offset=0&filter=<string>&sort=name asc
This API endpoint is to get a particular file server switch ports information
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | Number of items to return at a time | |
offset | number | The offset of the first item in the collection to return | |
filter | string | The filter query parameter is used to filter the set of resources | |
returned in the response. The returned set of resources must match the | |||
criteria in the filter query parameter |
A comparison compares a property name to a literal. The comparisons supported are the following:
- “eq” : Is a property equal to value. Valid for number, boolean and string properties.
- “gt” : Is a property greater than a value. Valid for number or string timestamp properties.
- “lt” : Is a property less than a value. Valid for number or string timestamp properties
- “in” : Is a value in a property (that is an array of strings)
Filters are supported on the following properties:
- id
- uuid
- generation
- name
- state
- switchName
- speed
- mtu
|
|
sort
| string | | A list of properties defining the sort order. This takes a single property name followed by the direction to sort in, separated by a space. The supported properties areid
,uuid
,name
,generation
,state
,switchName
,speed
andmtu
. If not specified, the default behaviour is to sort byname
. The supported directions areasc
anddesc
for ascending and descending respectively. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"customerId":"\u003cstring\u003e","generation":"\u003clong\u003e","id":"\u003cinteger\u003e","model":"\u003cstring\u003e","mtu":"\u003cstring\u003e","name":"\u003cstring\u003e","resourceUri":"\u003cstring\u003e","speed":"\u003cstring\u003e","state":"\u003cstring\u003e","switchName":"\u003cstring\u003e","uuid":"\u003cuuid\u003e"},{"customerId":"\u003cstring\u003e","generation":"\u003clong\u003e","id":"\u003cinteger\u003e","model":"\u003cstring\u003e","mtu":"\u003cstring\u003e","name":"\u003cstring\u003e","resourceUri":"\u003cstring\u003e","speed":"\u003cstring\u003e","state":"\u003cstring\u003e","switchName":"\u003cstring\u003e","uuid":"\u003cuuid\u003e"}],"pageLimit":"\u003cinteger\u003e","pageOffset":"\u003cinteger\u003e","total":"\u003cinteger\u003e"}