{
  "opencollection": "1.0.0",
  "info": {
    "name": "SE API Docs activities sessions API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "/:channel",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel",
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "Get session data"
        },
        {
          "info": {
            "name": "/:channel",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel",
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update session data"
        },
        {
          "info": {
            "name": "/:channel/settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel/settings",
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "Get session settings"
        },
        {
          "info": {
            "name": "/:channel/settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel/settings",
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update session settings"
        },
        {
          "info": {
            "name": "/:channel/reset",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel/reset",
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "Reset session data"
        },
        {
          "info": {
            "name": "/:channel/top",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/sessions/:channel/top",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "integer - Max number of returned events"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "integer - starting element"
              },
              {
                "name": "interval",
                "value": "",
                "type": "query",
                "description": "string - Possible values: alltime, monthly, weekly, session"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "string - Possible values: tip, cheer, stars, embers,"
              },
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "Get top events from aggregates"
        }
      ]
    }
  ],
  "bundled": true
}