mirror of
https://github.com/thegeeklab/wp-matrix.git
synced 2024-11-09 18:10:39 +00:00
39 lines
1006 B
YAML
39 lines
1006 B
YAML
---
|
|
properties:
|
|
username:
|
|
description: Authentication username. If set, the `password` parameter is required as well.
|
|
type: string
|
|
required: false
|
|
|
|
password:
|
|
description: Authentication password.
|
|
type: string
|
|
required: false
|
|
|
|
user_id:
|
|
description: Aauthentication User ID. If set, the `access_token` parameter is required as well.
|
|
type: string
|
|
required: false
|
|
|
|
access_token:
|
|
description: Authentication access token.
|
|
type: string
|
|
required: false
|
|
|
|
homeserver:
|
|
description: The Matrix homeserver url to use.
|
|
defaultValue: https://matrix.org
|
|
type: string
|
|
required: false
|
|
|
|
roomid:
|
|
description: Room ID to send messages to.
|
|
type: string
|
|
required: false
|
|
|
|
template:
|
|
description: Golang template for the messages.
|
|
defaultValue: build {{ build.status }} [{{ repo.owner }}/{{ repo.name }}#{{ truncate build.commit 8 }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
|
|
type: string
|
|
required: false
|