Getting information about a specific session

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request gets information about a valid session on the REST API server by specifying a session ID. For the Authorization header of the request, specify the token of the session.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/v1/objects/sessions/object-ID

Request message

Object ID
Specify the value of sessionId that was obtained when the session was generated.

Attribute

Type

Description

sessionId

int

(Required) Session ID

Query parameters

None.

Body

None.

Response message

Body
{
  "token": "97c13b8082444b36bc2103026205fa64",
  "sessionId": 9
}

Attribute

Type

Description

sessionId

int

Session ID

token

string

Token

Status codes

For details on the status codes of the request for this operation, see the description on HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/sessions/9