Cisco UCS C Series Programmer's Manual page 14

Rest api
Hide thumbs Also See for UCS C Series:
Table of Contents

Advertisement

Examples of Server Tasks
< Transfer-Encoding: Chunked
< X-Auth-Token: 801854885944ad40a8544885a4950d8a
< Status: 201
< Content-Type: application/json
< Content-Length:140
<
{
"@odata.id":"/redfish/v1/SessionService/Sessions/27",
"Description":"Session of user: admin",
"Name":"User Session #27",
"Id":27
}
Request:
curl -GET https://10.10.10.10/redfish/v1/Managers --header
"Authorization: OAuth 801854885944ad40a8544885a4950d8a" --insecure
Response:
{
"Members":[{
"@odata.id":"/redfish/v1/Managers/CIMC"
}],
"Description":"Collection of Managers",
"@odata.type":"#Manager.1.0.0.ManagerCollection",
"@odata.id":"/redfish/v1/Managers",
"Members@odata.count":1,
"Name":"Manager Collection",
"@odata.context":"/redfish/v1/$metadata#Managers"
}
Request:
curl -GET https://10.10.10.10/redfish/v1/Managers
/CIMC --header "Authorization: OAuth 801854885944ad40a8544885a4950d8a" --insecure
Response:
{
"DateTimeLocalOffset":"UTC+0000",
"Id":"CIMC",
"Links":{
"ManagerForChassis":["/redfish/v1/Chassis/1"],
"ManagerForServers":["/redfish/v1/Systems/FCH1623V07J"]
},
"ManagerType":"CIMC",
"@odata.context":"/redfish/v1/$metadata#Managers/Members/$entity",
"@odata.id":"/redfish/v1/Managers/CIMC",
"VirtualMedia":{
"@odata.id":"/redfish/v1/Managers/CIMC/VirtualMedia"
},
"Description":"VASU-SL2",
"LogServices":{
Cisco UCS C-Series Servers REST API Programmer's Guide
8
Cisco IMC REST API Examples

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents