Querying Software Resource Collection Information
Function
This interface is used to query information about the current software collection resources.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/Softwares
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameters
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device. |
An IPv4 or IPv6 address |
auth_value |
Authentication parameter contained in the request. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/Softwares
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#Softwares",
"@odata.id": "/redfish/v1/Softwares",
"Name": "Software Collection",
"Members@odata.count": 2,
"Members": [
{
"@odata.id": "/redfish/v1/Softwares/UserAgents"
},
{
"@odata.id": "/redfish/v1/Softwares/DockerServices"
}
]
}
Response code: 200
Output Description
Attribute |
Type |
Description |
---|---|---|
@odata.context |
Character string |
OData description information of a software resource collection model. |
@odata.id |
Character string |
Access path of a software resource collection node. |
@odata.type |
Character string |
Type of a software resource collection. |
Name |
Character string |
Name of a software resource collection. |
Members@odata.count |
Numeric value |
Number of current software resources. |
Members |
Object |
List of software resources. |
Members .@odata.id |
Character string |
Access path of a software resource node. |