Performance

The following are the Performance REST APIs:

Status

The following table details the API Response code, status and, the HTTPS methods.

Status Code
Status
API's HTTPS Method or
HTTPS Method

200

OK

GET

202

Accepted

POST

PUT

DELETE

400

Bad Request

GET

POST

PUT

DELETE

401

Unauthorized

GET

POST

PUT

DELETE

403

Forbidden

GET

POST

PUT

DELETE

404

Not Found

GET

POST

PUT

DELETE

405

Method Not Allowed

GET

POST

PUT

DELETE

500

Internal Server Error

GET

POST

PUT

DELETE

Get CPU

Resource Name

/statistics/cpuStat

Description

Enables you to get switch CPU usage.

https Method

GET

URL

https://dcnm-ip/fm/fmrest/statistics/cpuStat

Parameter

Parameter
Type
Description

NA

NA

NA

Return Value

Format: JSON

Type: Object

Attribute Name
Type
Description

 

ServerResponse

Array of StatisticsDataDO Objects

Get Memory

Resource Name

/statistics/memoryStat

Description

Enables you to get switch memory usage data.

https Method

GET

URL

https://dcnm-ip/fm/fmrest/statistics/memoryStat

Parameter

Parameter
Type
Description

NA

NA

NA

Return Value

Format: JSON

Type: Object

Attribute Name
Type
Description

 

ServerResponse

Array of StatisticsDataDO Objects

Get Traffic

Resource Name

/statistics/bandwidthStat

Description

Enables you to get switch traffic data.

https Method

GET

URL

https://dcnm-ip/fm/fmrest/statistics/bandwidthStat

Parameter

Parameter
Type
Description

NA

NA

NA

Return Value

Format: JSON

Type: Object

Attribute Name
Type
Description

 

ServerResponse

Array of StatisticsDataDO Objects