/:channel/items/:itemId
Changed onUpdate item
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
guid - Item id
Headers
Request body
Example request
{}Response
Example response
{
"bot": {
"enabled": true,
"identifier": "testitem"
},
"cooldown": {
"user": 5,
"global": 0
},
"quantity": {
"total": -1
},
"accessCodes": {
"keys": [],
"mode": "multi",
"random": false
},
"alert": {
"graphics": {
"duration": 8
},
"audio": {
"volume": 0.5,
"src": null
},
"enabled": true
},
"subscriberOnly": false,
"userInput": [],
"_id": "5c0bb2aede9a4c4402a15056",
"enabled": true,
"featured": false,
"name": "Test item",
"description": "Test description",
"type": "perk",
"cost": 0,
"public": false,
"channel": "5b2e2007760aeb7729487dab",
"createdAt": "2018-12-08T12:01:50.208Z",
"updatedAt": "2018-12-08T12:12:45.883Z"
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
//became optional for the status
- breaking
- 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