Use this API to get the value of a specific attribute of a device.
Method |
URL |
Required authentication |
GET |
/V1/CMDB/Devices/Attributes |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
attributeName |
The name of the attribute that you want to get value. If not specified, return all attributes and their values. |
hostname*required |
The hostname of a device. |
Parameter |
Type |
Description |
Example |
---|---|---|---|
Attributes |
Object |
An attribute set. |
{ |
attributeName |
string |
The name of the attribute with its value returned. |
|
hostname |
string |
The hostname of the returned device. |
|
statusCode |
integer |
The returned status code of executing the API. |
|
statusDescription |
string |
The explanation of the status code. |