/:channel
Changed onList contests
Request
- Base URLhttps://api.streamelements.com/kappa/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://api.streamelements.com/oauth2/authorizeToken URLhttps://api.streamelements.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
guid - Channel id
Headers
Response
Example response
{
"active": null,
"contests": [
{
"botResponses": true,
"totalAmount": 0,
"totalUsers": 0,
"_id": "5c0a53cede9a4c207fa14d90",
"title": "Will I win the next game?",
"minBet": 10,
"maxBet": 10000,
"duration": 5,
"options": [
{
"totalAmount": 0,
"totalUsers": 0,
"_id": "5c0a53cede9a4cc345a14d92",
"title": "Win",
"command": "win"
},
{
"totalAmount": 0,
"totalUsers": 0,
"_id": "5c0a53cede9a4c4b39a14d91",
"title": "Lose",
"command": "lose"
}
],
"channel": "5b2e2007760aeb7729487dab",
"state": "created",
"createdAt": "2018-12-07T11:04:46.528Z",
"updatedAt": "2018-12-07T11:04:46.528Z"
}
]
}Changes
- warning
the optional response header
Access-Control-Allow-Credentialsremoved for the status200 - warning
the optional response header
Access-Control-Expose-Headersremoved for the status200 - warning
the optional response header
ETagremoved for the status200 - warning
the optional response header
Serverremoved for the status200 - warning
the optional response header
Strict-Transport-Securityremoved for the status200 - warning
the optional response header
X-Content-Type-Optionsremoved for the status200 - warning
the optional response header
X-DNS-Prefetch-Controlremoved for the status200 - warning
the optional response header
X-Download-Optionsremoved for the status200 - warning
the optional response header
X-Frame-Optionsremoved for the status200 - warning
the optional response header
X-Requested-Fromremoved for the status200 - warning
the optional response header
X-XSS-Protectionremoved for the status200 - warning
deleted the
headerrequest parameterContent-Type
- warning