{ "opencollection": "1.0.0", "info": { "name": "Supermicro Redfish Accounts Sessions API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "List Sessions", "type": "http" }, "http": { "method": "GET", "url": "https://{bmc-ip}/redfish/v1/SessionService/Sessions" }, "docs": "Returns all active Redfish sessions." }, { "info": { "name": "Create Session", "type": "http" }, "http": { "method": "POST", "url": "https://{bmc-ip}/redfish/v1/SessionService/Sessions", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Redfish session for authentication. Returns an auth token in the X-Auth-Token header." }, { "info": { "name": "Get Session", "type": "http" }, "http": { "method": "GET", "url": "https://{bmc-ip}/redfish/v1/SessionService/Sessions/:sessionId", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Returns details about a specific active session." }, { "info": { "name": "Delete Session", "type": "http" }, "http": { "method": "DELETE", "url": "https://{bmc-ip}/redfish/v1/SessionService/Sessions/:sessionId", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Deletes (logs out) a specific Redfish session." } ] } ], "bundled": true }