Skip to main content

GET – Session Properties

Use the GET method to display the Session details for the given session.

Note
This URI is available only when the session is created by the above-given POST API.

Request

GET https://{{IP}}/redfish/v1/SessionService/Sessions/{{session_id}}
Content-Type: application/json

Response

The response to the request will be in JSON format. The properties are mentioned in the following table.

Table 1. Session Properties

Name

Type

Read-only

Description

(OData Attributes)

  

Refer to OData Support

Oem

Object

 

OEM Extension (Optional), Refer to Resource Complex Types

Id(M)

String

True

Refer to Resource Type Definitions

Name(M)

String

True

Description

String

True

UserName

String

True

The UserName for the account for this session. The value of this property shall be the UserName that matches a registered account identified by a ManagerAccount resource registered with the Account Service.

Password

String

True

This property is used in a POST to specify a password when creating a new session. The value of this property shall be the password for this session.

Note
This property would not be shown in GET Response.

Actions

Object

True

This object will contain the actions for this resource under Oem property if any.