/:channel/default/:commandId
Changed onUpdate default command
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
string - command id
Headers
Request body
Example request
{}Response
Example response
{
"cooldown": {
"user": 15,
"global": 5
},
"aliases": [],
"keywords": [],
"enabled": true,
"enabledOnline": true,
"enabledOffline": true,
"hidden": false,
"cost": 0,
"type": "say",
"accessLevel": 100,
"_id": "5c0a5172de9a4c5b7da14d8a",
"regex": "test[0-9]{3}",
"reply": "test response",
"command": "test",
"channel": "5b2e2007760aeb7729487dab",
"createdAt": "2018-12-07T10:54:42.594Z",
"updatedAt": "2018-12-07T10:54:42.594Z"
}Changes
- breaking
removed the required property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with 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