{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twitch Drops API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://id.twitch.tv/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Entitlements",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Twitch Get Drops Entitlements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.twitch.tv/helix/entitlements/drops",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Entitlement ID to filter by"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query",
                "description": "User ID to filter by"
              },
              {
                "name": "game_id",
                "value": "",
                "type": "query",
                "description": "Game ID to filter by"
              },
              {
                "name": "fulfillment_status",
                "value": "",
                "type": "query",
                "description": "Filter by fulfillment status"
              },
              {
                "name": "first",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination"
              }
            ]
          },
          "docs": "Gets an organization's list of entitlements that have been granted to all of its games. Use this to track which rewards need to be fulfilled."
        },
        {
          "info": {
            "name": "Twitch Update Drops Entitlements",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.twitch.tv/helix/entitlements/drops/update",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the fulfillment status of one or more entitlements. Mark entitlements as FULFILLED after delivering the reward to the user."
        }
      ]
    },
    {
      "info": {
        "name": "Analytics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Twitch Get Game Analytics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.twitch.tv/helix/analytics/games",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "game_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "type",
                "value": "",
                "type": "query"
              },
              {
                "name": "started_at",
                "value": "",
                "type": "query"
              },
              {
                "name": "ended_at",
                "value": "",
                "type": "query"
              },
              {
                "name": "first",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Gets an analytics report for one or more games including Drops data."
        }
      ]
    }
  ],
  "bundled": true
}