cafce25 / twitchctl

Twitch cli
6 stars 1 forks source link

API: Set Notification #21

Open ModProg opened 3 years ago

ModProg commented 3 years ago

Currently not possible: https://twitch.uservoice.com/forums/310213-developers/suggestions/39703660-live-notification

ModProg commented 3 years ago

Some notes on the current website (setting via dashboard): Post https:gpl.twitch.tv/gpl Header: Authorization: OAuth ***

Example

[
  {
    "operationName": "EditBroadcastContext_LiveUpNotificationMutation",
    "variables": {
      "input": { "userID": "85214734", "liveUpNotification": "Test 0" }
    },
    "extensions": {
      "persistedQuery": {
        "version": 1,
        "sha256Hash": "2385020197661d00437d5f0f35d5573aa4c7ece0e125f59be3ec3cdc6ab3a055"
      }
    }
  }
]
ModProg commented 3 years ago

We need to experement with the OAuth and hash