{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stack REST Auth Sessions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Stack-Project-Id",
      "value": "{{X-Stack-Project-Id}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List sessions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stack-auth.com/api/v1/sessions"
          },
          "docs": "List sessions"
        },
        {
          "info": {
            "name": "Create a session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stack-auth.com/api/v1/sessions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a session"
        },
        {
          "info": {
            "name": "Retrieve the current session",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stack-auth.com/api/v1/sessions/current"
          },
          "docs": "Retrieve the current session"
        },
        {
          "info": {
            "name": "Sign out (delete current session)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stack-auth.com/api/v1/sessions/current"
          },
          "docs": "Sign out (delete current session)"
        },
        {
          "info": {
            "name": "Refresh the current session's access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stack-auth.com/api/v1/sessions/current/refresh"
          },
          "docs": "Refresh the current session's access token"
        }
      ]
    }
  ],
  "bundled": true
}