You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cog had a really nifty feature that allowed privileged users to create custom API endpoints -- additions to the Cog REST API -- that could be used to trigger commands (Cog called them triggers, but they’re just custom API endpoints). This allowed Cog to be integrated into CI pipelines or other workflows without having to send text to Slack to trigger commands.
Important question: how would security for these endpoints work? (At the very least they'll require an API key)
Cog triggers were defined on the command line, with the command to execute. We’d require them to be defined via config (including the command to be triggered, and where to direct the output).
Should we allow the base config to define a default output chat+channel?
clockworksoul
changed the title
Support creation of custom API webhooks to execute commands
Support creation of custom API endpoints to execute commands
Oct 13, 2021
Cog had a really nifty feature that allowed privileged users to create custom API endpoints -- additions to the Cog REST API -- that could be used to trigger commands (Cog called them triggers, but they’re just custom API endpoints). This allowed Cog to be integrated into CI pipelines or other workflows without having to send text to Slack to trigger commands.
The text was updated successfully, but these errors were encountered: