TwitchApi.EventSub.GetEventSubSubscriptions (TwitchApi v0.1.0) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
Gets a list of your EventSub subscriptions. The list is paginated and ordered by the oldest subscription first.
requests:
curl -X GET 'https://api.twitch.tv/helix/eventsub/subscriptions'
-H'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
-H'Client-Id: wbmytr93xzw8zbg0p1izqyzzc5mbiz'
Example response from twitch api docs:
descriptions:
responses:
{"total":2,"data":[{"id":"26b1c993-bfcf-44d9-b876-379dacafe75a","status":"enabled","type":"stream.online","version":"1","condition":{"broadcaster_user_id":"1234"},"created_at":"2020-11-10T20:08:33.12345678Z","transport":{"method":"webhook","callback":"https://this-is-a-callback.com"},"cost":1},{"id":"35016908-41ff-33ce-7879-61b8dfc2ee16","status":"webhook-callback-verification-pending","type":"user.update","version":"1","condition":{"user_id":"1234"},"created_at":"2020-11-10T14:32:18.730260295Z","transport":{"method":"webhook","callback":"https://this-is-a-callback.com"},"cost":0}],"total_cost":1,"max_total_cost":10000,"pagination":{}}
Twitch CLI example that gets your EventSub subscriptions.
twitch api get /eventsub/subscriptions
Link to this section Summary
Link to this section Types
Link to this section Functions
Specs
call(status() | type() | after_query_param()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
Gets a list of your EventSub subscriptions. The list is paginated and ordered by the oldest subscription first.
Required authentication:
Requires an application OAuth access token.