mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
parent
013f913686
commit
81f937b55c
@ -27,16 +27,53 @@ None of these are officially documented, and are subject to change.
|
||||
**Response**:
|
||||
```
|
||||
{
|
||||
"bot_user_id":"@neb_giphy:matrix.org"
|
||||
"bot_user_id": "@neb_giphy:matrix.org",
|
||||
"integrations": []
|
||||
}
|
||||
```
|
||||
*Note*: `integrations` appears to only be present when there are settings needed for the integration.
|
||||
|
||||
**RSS Bot Response**:
|
||||
```
|
||||
{
|
||||
"bot_user_id": "@_neb_rssbot_=40travis=3at2l.io:matrix.org",
|
||||
"integrations": [{
|
||||
"type": "rssbot",
|
||||
"user_id": "@travis:t2l.io",
|
||||
"config": {
|
||||
"feeds": {
|
||||
"https://ci.t2l.io/view/all/rssAll": {
|
||||
"poll_interval_mins": 0,
|
||||
"is_failing": false,
|
||||
"last_updated_ts_secs": 1495957242,
|
||||
"rooms": ["!JmvocvDuPTYUfuvKgs:t2l.io"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"self":false
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## POST `/api/removeIntegration?scalar_token=...`
|
||||
|
||||
**Body**:
|
||||
```
|
||||
{
|
||||
"type":"giphy",
|
||||
"room_id":"!RtMvcvtjkfHeFbjzWM:t2l.io"
|
||||
"type": "giphy",
|
||||
"room_id": "!RtMvcvtjkfHeFbjzWM:t2l.io"
|
||||
}
|
||||
```
|
||||
|
||||
## POST `/api/integrations/rssbot/configureService?scalar_token=...`
|
||||
|
||||
**Body**:
|
||||
```
|
||||
{
|
||||
"room_id": "!JmvocvDuPTYUfuvKgs:t2l.io",
|
||||
"feeds": {
|
||||
"https://ci.t2l.io/view/all/rssAll": {}
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user