Get all modules of a device

Use this API to get all modules of device specified by hostname.

Resource Information

Method

URL

Required authentication

GET

/V1/CMDB/Modules

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

hostname*required
(query)

The hostname of a device.

Response

Parameter

Type

Description

Example

Modules

list

A list of all modules.

{
  "statusCode"790200,
  "statusDescription""success",
  "modules": [
    "module1","module2""module3"
  ]
}

statusCode

integer

The returned status code of executing the API.

statusDescription

string

The explanation of the status code.