Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS API Reference

PDF

Get information about the current session

You can send a GET request to obtain information about the current session. If the server validates your session cookie, the system returns a JSON document that contains information about the session. If the server does not validate the session ID contained in the cookie, the server returns an error message.

Request syntax

GET /session/1/session
Cookie: isisessid=12345678-abcd-1234-abcd-1234567890ab 

Response body

If authorization is successful:

"username": <string>
"services": [<string>, ...]  
"timeout_absolute": <integer>,  
"timeout_inactive": <integer> 

{
   "services":[
      "platform",
      "namespace"
   ],
   "timeout_absolute":14396,
   "timeout_inactive":900,
   "username":"user123"
}

If authorization fails:

401 Unauthorized
Content-Type: application/json
{
   "errors":[
      {
         "message":"authorization required"
      }
   ]
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\