{
  "opencollection": "1.0.0",
  "info": {
    "name": "SE API Docs activities points API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "points",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "/:channel/:user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/:user",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              },
              {
                "name": "user",
                "value": "",
                "type": "path",
                "description": "string - Username"
              }
            ]
          },
          "docs": "Get userpoints for specific username"
        },
        {
          "info": {
            "name": "/:channel/:user/rank",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/:user/rank",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              },
              {
                "name": "user",
                "value": "",
                "type": "path",
                "description": "string - Username"
              }
            ]
          },
          "docs": "Get current user rank by username"
        },
        {
          "info": {
            "name": "/:channel/:user/:amount",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/:user/:amount",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              },
              {
                "name": "user",
                "value": "",
                "type": "path",
                "description": "string - Username"
              },
              {
                "name": "amount",
                "value": "",
                "type": "path",
                "description": "integer - Amount of points to be added, use negative number to remove points"
              }
            ]
          },
          "docs": "Add or remove points from user"
        },
        {
          "info": {
            "name": "/:channel/alltime/:user/:amount",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/alltime/:user/:amount",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              },
              {
                "name": "user",
                "value": "",
                "type": "path",
                "description": "string - username"
              },
              {
                "name": "amount",
                "value": "",
                "type": "path",
                "description": "integer - amount of points to be added (negative if removed)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update alltime points for user"
        },
        {
          "info": {
            "name": "/:channel/alltime",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/alltime",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "integer - Number of items per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "integer - Number of items to be skipped"
              },
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "List alltime userpoints"
        },
        {
          "info": {
            "name": "/:channel/top",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/top",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "integer - Number of items per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "integer - Number of items to be skipped"
              },
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "List top userpoints"
        },
        {
          "info": {
            "name": "/:channel/watchtime",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/watchtime",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "integer - Number of items per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "integer - Number of items to be skipped"
              },
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ]
          },
          "docs": "List users watchtime"
        },
        {
          "info": {
            "name": "/:channel",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk add/set points to users"
        },
        {
          "info": {
            "name": "/:channel/reset/:context",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.streamelements.com/kappa/v2/points/:channel/reset/:context",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "channel",
                "value": "",
                "type": "path",
                "description": "guid - Channel id"
              },
              {
                "name": "context",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "/:channel/reset/:context"
        }
      ]
    }
  ],
  "bundled": true
}