Roles; Viewing Session Service, On - Cisco UCS C Series Programmer's Manual

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

Advertisement

Cisco IMC REST API Examples
Viewing Processor Information, on page 108
Retrieving PCIe Devices, on page 108
Viewing Session Service, on page 109
Retrieving Service Root without Authentication
Response:
{
"Chassis":{
"@odata.id":"/redfish/v1/Chassis"
},
"@odata.id":"/redfish/v1/",
"JsonSchemas":{
"@odata.id":"/redfish/v1/JSONSchemas"
},
"RedfishVersion":"1.2.0",
"EventService":{
"@odata.id":"/redfish/v1/EventService"
},
"Systems":{
"@odata.id":"/redfish/v1/Systems"
},
"UpdateService":{
"@odata.id":"/redfish/v1/UpdateService"
},
"Product":"UCS C240 M5SX",
"Links":{
"Sessions":{
}
},
"Name":"Cisco RESTful Root Service",
"Description":"Root Service",
"Tasks":{
"@odata.id":"/redfish/v1/TaskService"
},
"Registries":{
"@odata.id":"/redfish/v1/Registries"
},
"@odata.type":"#ServiceRoot.1.4.0.ServiceRoot",
"SessionService":{
"@odata.id":"/redfish/v1/SessionService"
},
"@odata.context":"/redfish/v1/$metadata#ServiceRoot",
"Managers":{
"@odata.id":"/redfish/v1/Managers"
},
"AccountService":{
"@odata.id":"/redfish/v1/AccountService"
},
"Id":"RootService"
}

Roles

Request:
curl -k -u admin:Password https://10.10.10.10/redfish/v1/AccountService/Roles
Response:
"@odata.id":"/redfish/v1/SessionService/Sessions"
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 4.0(4)
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UCS C Series and is the answer not in the manual?

Questions and answers

Table of Contents