chat.commands.register

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Grantable to apps: request it for an app on its project page. Network approves it only inside the project's allowance.

Register a slash command in a Chat server where the person authorizing the app is an owner or admin. The Network service token names the approved app or agent in sub, names the person in on_behalf_of, and carries this granted capability. Chat stores the command under that app, refuses built-in names, and executes its plain response template by posting as the person who invoked it with that person's current room rights. This grant never lets an app post as someone else or perform moderation.

Owner
chat (token audience openvibe.chat)
Version
1.0
Status
active
Visibility
public
Resource constraints
owner
Quota class
chat-write
Permissions
chat:write
Input
chat.command-registration-request@1
Output
chat.command-registration-result@1
Events
—
Implemented by
  • POST /api/chat/commands/registered
  • DELETE /api/chat/commands/registered/:name

These routes in the API explorer