Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
readme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
readme
Commits
4edee955
Commit
4edee955
authored
8 months ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Add outbound hooks
parent
443b736b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
chat/matrix/bridges.markdown
+18
-2
18 additions, 2 deletions
chat/matrix/bridges.markdown
with
18 additions
and
2 deletions
chat/matrix/bridges.markdown
+
18
−
2
View file @
4edee955
...
...
@@ -9,10 +9,18 @@ New bridges and updates will be posted in this room.
The source code for the bridge is available at
[
matrix-hookshot
](
https://github.com/matrix-org/matrix-hookshot
)
on Github.
Currently enabled features:
-
Generic webhooks
-
Generic webhooks (inbound, outbound)
For a list of commands see the help:
```
!hookshot help
```
### Generic webhooks
This section covers inbound webhhoks.
Base URL:
`https://hookshot.mbot.ethz.ch/webhook/<hook>`
1.
Invite
[
hookshot
](
https://m.ethz.ch/#/@hookshot:mbot.ethz.ch
)
(
`@hookshot:mbot.ethz.ch`
)
to your
**unencrypted**
room
...
...
@@ -36,7 +44,7 @@ Example json payloads:
Example using
[
httpie
](
https://httpie.io/
)
:
```
bash
http P
OS
T
"<url>"
<<<
'<payload>'
http P
U
T
"<url>"
<<<
'<payload>'
```
Example using
`curl`
:
...
...
@@ -52,6 +60,14 @@ In the room where webhooks were configured (not admin room):
-
List webhooks:
`!hookshot webhook list`
-
Remove webhook:
`!hookshot webhook remove <name>`
### Outbound webhhoks
**Experimental, deleting outbound hooks is not implemented. Use it wisely!**
Use similar steps as for inbound webhooks. See
`!hookshot help`
for usage
and refer to the
[
docs
](
https://matrix-org.github.io/matrix-hookshot/latest/setup/webhooks.html#outbound-webhooks
)
.
## Webhook API (Grafana, Slack)
Base URL:
`https://webhooks.mbot.ethz.ch/webhook/<api>/<hook>`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment